I'm starting with NetTopologySuite and I'm trying to read an .shp that I created from geojson.io to do some tests, it gave me an .zip file which contains 4 files (.dbf, .prj, .shp and .shx).
When I try to read the .shp alone I'm having the error: "System.IO.FileNotFoundException: '.../POLYGON.dbf'".
When I try to read the .shp with the .dbf in the same folder I'm having the error: "System.NotSupportedException: 'Unsupported DBF reader Type 13'".
I tried to open this .shp in QGIS and it worked.
I tried to read other .shp files from other sources with my code and it worked.
Code:
ShapeDataReader reader = new ShapeDataReader("...\\POLYGON.shp");
I'm starting with NetTopologySuite and I'm trying to read an .shp that I created from geojson.io to do some tests, it gave me an .zip file which contains 4 files (.dbf, .prj, .shp and .shx).
When I try to read the .shp alone I'm having the error: "System.IO.FileNotFoundException: '.../POLYGON.dbf'".
When I try to read the .shp with the .dbf in the same folder I'm having the error: "System.NotSupportedException: 'Unsupported DBF reader Type 13'".
I tried to open this .shp in QGIS and it worked. I tried to read other .shp files from other sources with my code and it worked.
Code:
ShapeDataReader reader = new ShapeDataReader("...\\POLYGON.shp");
File: polygon.zip
NetTopologySuite.IO.ShapeFile version: 1.15.3