[OSM-dev] Coastlines and water - contact and technical

Ben Supnik bsupnik at xsquawkbox.net
Sun Jul 19 17:44:39 BST 2009


Hi Jon,

Jon Burgess wrote:

> - Relations with a name= tag. The Wiki says they should be entirely
> untagged. If the osm2pgsql code saw even a name tag on the relation then
> it would ignore the tags on the outer ring. The recent code now looks at
> the outer ring tags even if the relation has a name (it seems the
> editors are encouraging people to put name tags on the relation to make
> them easier to identify).

So to confirm:

... if a user incorrectly tries to make a lake by creating a 
multipolygon and putting the water-related attribute (e.g. landuse=water 
or natural=lake) on the relation and __not__ at least one outer polygon

... then pgsql will create a polygon without those water tags.

(Basically I am trying to figure out how broken the raw data could be 
and still see blue in the map. :-)

cheers
ben

-- 
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list: x-plane-scenery at yahoogroups.com
Developer mailing list: x-plane-dev at yahoogroups.com




More information about the dev mailing list