Failed to Convert Files

Hi,

I am trying to convert attached, GIS-Files.zip (2.5 KB) but failed and facing "Unrecognized shape type ‘1577058304’ error message. I am using below code snippet to convert file

VectorLayer.Convert(inFilePath, sourceDriver, outPath, destinationDriver);

Please check after unzip files.

Looking forward to hear from you.

Thanks

Hi,

Please find attached, some more sample GIS-Files-Samples.zip (810 Bytes).

Thanks

Hello @naeem.akram,

It looks like GIS-Files.zip contains .shx files. Every .shx file is a part of a shapefile, however, in order to read a shapefile at least two files, .shp and .shx, must be present. Moreover, .shp file is the one that actually contains GIS data, while .shx is just an auxiliary file. You can find out more about shapefiles here.
GIS-Files-Samples.zip contains files with some JSON data, but I failed to identify what is the file format. It doesn’t look like GeoJSON or TopoJSON. Do you know what is the file format of those files?
Thanks,
Alex