On Sun, 2008-11-02 at 17:39 +0200, Rahkonen Jukka wrote:
> Hi,
>
> I managed to find en error on the coastline data. Could this be a reason for
> the Mapnik rendering issue I have had?
>
> postgis=# select count(*) from (select asbinary(way) as geom from (select way
> from shoreline_a) as "coast-poly" where wa
> y && setSRID('BOX3D(2796623.487632482 8414856.658170387,3648235.036730606
> 8450106.434262134)'::box3d,900913) and isvalid
> (way)=true) as foo;
> NOTICE: Holes are nested at or near point 3.49321e+006 8.42585e+006
> NOTICE: IllegalArgumentException: Number of points must be 0 or >3
> count
> -------
> 291
> (1 row)
Unlikely, but you can check this either by deleting them or fixing the
bad geometries in the OSM data.
Jon
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users