baremaps / openstreetmap-vecto

General purpose vector tiles and vector style based on OpenStreetMap.
https://www.baremaps.com/
Creative Commons Zero v1.0 Universal
33 stars 6 forks source link

Natural earth geometries are not imported correctly #30

Open bchapuis opened 3 years ago

bchapuis commented 3 years ago

The geometry column of the natural earth table is empty. This seems to be related to spatialite and the st_makevalid function.

@nicolas-heigvd Any idea where the problem comes from?

nicolas-heigvd commented 3 years ago

I have reproduced this strange behaviour. I cannot explain it. input data are messy on the one hand, and sqlite is not the db engine I prefer on the other hand. -> You can checkout https://github.com/baremaps/openstreetmap-vecto/tree/hotfix to keep the original geometries (but also the fixed geometries in a separate column, hopping they would come back in the future...)