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:
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 likePolyLine
in the NetTopologySuite library. SimilarlyShapefilePolygonWriter
writes polygons that according to the Shapefile specification may contain multiple outer rings. That means Shapefile'sPolygon
can be fully handled only by geometry named in NetTopologySuite library asMultiPolygon
. This can lead to confusion among library users. To avoid this default converters of single geometries were added: