<br><br><div class="gmail_quote">On 24 August 2010 12:57, Peter Körner <span dir="ltr"><<a href="mailto:osm-lists@mazdermind.de">osm-lists@mazdermind.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Am 24.08.2010 13:38, schrieb Emilie Laffray:<div class="im"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
One possibility would be to add GEOS to osm2pgsql and check the validity<br>
of the polygon in the first place in osm2pgsql.<br>
</blockquote>
<br></div>
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.<font color="#888888"></font><br></blockquote></div>
<br>Hum I am not a big fan of trigger personally.<br><br>Emilie Laffray<br>