Table of Contents

Struct KmlImport.Result

Namespace
LansMap.Core.Import

What one import call did: content added per store, plus the geometry it could not use and why-shaped counts for it.

public readonly struct KmlImport.Result
Inherited Members

Constructors

Result(int, int, int, int, int, int)

public Result(int markersAdded, int polylinesAdded, int linesSkipped, int polygonsAdded, int polygonsRejected, int polygonHolesDropped)

Parameters

markersAdded int
polylinesAdded int
linesSkipped int
polygonsAdded int
polygonsRejected int
polygonHolesDropped int

Properties

LinesSkipped

LineStrings skipped for having fewer than 2 points.

public int LinesSkipped { get; }

Property Value

int

MarkersAdded

Markers added, one per Point.

public int MarkersAdded { get; }

Property Value

int

PolygonHolesDropped

Inner rings (holes) discarded because the polygon store draws a single ring. The outer ring still imports.

public int PolygonHolesDropped { get; }

Property Value

int

PolygonsAdded

Polygons whose outer ring triangulated and was added.

public int PolygonsAdded { get; }

Property Value

int

PolygonsRejected

Polygons refused by TryAddPolygon(IReadOnlyList<LatLon>, uint): too few points, no area, or a self-intersecting outer ring.

public int PolygonsRejected { get; }

Property Value

int

PolylinesAdded

Polylines added, one per LineString of 2+ points.

public int PolylinesAdded { get; }

Property Value

int