Open missinglink opened 2 years ago
file downloaded today from http://naciscdn.org/naturalearth/packages/natural_earth_vector.sqlite.zip
shasum natural_earth_vector.sqlite
135d22926b1b2ccd9e3fe5a35a96dfd2809dcc60
md5sum natural_earth_vector.sqlite
ca3cf8a1f4d087ef3efe432ad4a04ee6
GEOS version ........: 3.8.1-CAPI-1.13.3
Hey Peter. Do you see the problem when you independently import the source shapefile into SQLite? My guess is there is config I'm not setting. The geoms are generated by mapshaper so I'd be surprised there was a problem in the shape.
Also why are you using the 50m file not 10m?
good question, it was some old code I revived, the same issue exists for the 10m
table:
spatialite -silent natural_earth_vector.sqlite.db <<SQL
SELECT ST_IsValid(GeometryFromWKB(GEOMETRY))
FROM ne_10m_admin_1_states_provinces
WHERE ne_id = 1159309897;
SQL
GEOS warning: Ring Self-intersection at or near point -47.302481858850683 -16.040054212431983
0
I loaded ne_10m_admin_1_states_provinces.shp
in QGIS and it also detected the error, it seems to be this shared point:
[edit] might also pay to check
1159320575
in10m
accuracy