[OSM-dev] invalid geometry in planet_polygon
frederik at remote.org
Tue Aug 24 07:43:56 BST 2010
Stephan Knauss wrote:
> I tried some queries filtered with st_within and got a geos exception.
> I think it's caused by some geometries not being valid.
Yes, of course, there are hundreds of thousands of invalid geometries.
to see them ;)
> Is this a problem with the import of osm2pgsql or a problem with the data?
The API doesn't (and can't) prevent them, and osm2pgsql makes no efforts
(and couldn't really) correct them.
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev