NetTopologySuite / NetTopologySuite.IO.Esri

BSD 3-Clause "New" or "Revised" License
35 stars 18 forks source link

Handle single geometries (Polygon, LineString) by ShpWriters. Fix #14. #15

Closed KubaSzostak closed 1 year ago

KubaSzostak commented 1 year ago

This library keep naming convention consistent with ESRI Shapefile Technical Description. For example there is ShapefilePolyLineWriter even though there is no such a geometry type like PolyLine in the NetTopologySuite library. Similarly ShapefilePolygonWriter writes polygons that according to the Shapefile specification may contain multiple outer rings. That means Shapefile's Polygon can be fully handled only by geometry named in NetTopologySuite library as MultiPolygon. This can lead to confusion among library users. To avoid this default converters of single geometries were added: