whosonfirst / py-mapzen-whosonfirst-export

Export tools for the Who's On First documents
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Ensure valid geometries #16

Open straup opened 6 years ago

straup commented 6 years ago

If the osgeo library is present - which we test for to try and generate areas in meters. It might be wise to make this required but then you have to have gdal and friends installed so... maybe not right away.

This presumably would have prevented this from happening:

https://github.com/whosonfirst-data/whosonfirst-data/issues/1071

stepps00 commented 6 years ago

related: https://github.com/whosonfirst/whosonfirst-cookbook/blob/master/scripts/1293_geom_validator.py#L44-L60