-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exported shapefile faulty #847
Comments
this happened to me too |
I'm unable to reproduce this with simple drawn features in geojson.io. I did the same workflow for polygons and polylines:
Can someone provide example geojson that is not exporting to shapefile correctly? |
|
I have this issue too. I suspect this is because the corresponding .dbf file doesn't match the attribute number in the shapefile itself. But QGIS doesn't have strict inspection on this so you can still open the file itself. If you try to open the attribute list in QGIS you will find it blank, which is not allowed in the first place according to ArcGIS. |
I have experienced this issue too. Attached, you'll find two shapefiles. 1-square is perfectly fine, 2-square has the mismatch record count issue. According to the dBASE file specification, the number of records is located at bytes 4-7. This is correct in both .dbf files. This implies the bug could lie within the generation of the .shp file. PS: I tried uploading the shapefile into mapshaper. It showed the same mismatch warning. |
fyi this is a problem with the shp-write library mapbox/shp-write#113 |
We use geojson.io to convert geojson files into shapefiles. Unfortunately, recently this no longer works correctly if there is more than one polyline (or polygon) in the geojson. The exported shapefile can then no longer be opened in ArcMap/ArcGIS Pro. It also doesn't open correctly in QGIS.
The text was updated successfully, but these errors were encountered: