[OSM-dev] osm2pgsql invalid polygons
Frederik Ramm
frederik at remote.org
Mon May 7 09:11:34 BST 2012
Hi,
On 05/07/2012 09:23 AM, Tomas Straupis wrote:
> Inner polygons in multipolygon should not have shared vectors (or in
> "human readable format": inner polygons should not "touch" each
> other)?
I'm confused now. The polygon that Ramunas mentioned, with two touching
inner rings, should indeed be processed fine by osm2pgsql; we've long
said that this particular violation of OCG simple features is ok for us
and I thought that osm2pgsql handled that well.
Therefore when Ramunas wrote that he had to patch osm2pgsql to handle
this, I assumed it must have been some other problem.
My current working assumption is that touching inner rings are ok and
this is our one and only deviation from OGC simple features (and I
thought osm2pgsql would already dissolve the two touching inners into
one hole for the polygon).
Inner rings touching the outer ring, or intersections between any
inner/outer rings, are not ok though.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev
mailing list