[OSM-dev] invalid geometry in planet_polygon

Emilie Laffray emilie.laffray at gmail.com
Tue Aug 24 12:59:52 BST 2010

On 24 August 2010 12:57, Peter Körner <osm-lists at mazdermind.de> wrote:

> Am 24.08.2010 13:38, schrieb Emilie Laffray:
>  One possibility would be to add GEOS to osm2pgsql and check the validity
>> of the polygon in the first place in osm2pgsql.
> osm2pgsql allows invalid geometries because Mapnik is able to render them.
> I'd suggest using a trigger that updates a valid column, each time a
> geometry is changes.

Hum I am not a big fan of trigger personally.

Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100824/a7b15feb/attachment.html>

More information about the dev mailing list