[OSM-dev] invalid geometry in planet_polygon

Frederik Ramm frederik at remote.org
Tue Aug 24 08:35:30 BST 2010


Hi,

Stephan Knauss wrote:
> So it's best to prepend every whery that relies on valid geometries with 
> "AND ST_IsValid(way)"

ST_IsValid is a relatively expensive operation, so be careful with that. 
If you are using it a lot, it might be worthfile to just delete invalid 
geometries once.

Bye
Frederik




More information about the dev mailing list