[OSM-dev] Getting admin_level=* from relations to render properly

Lennard ldp at xs4all.nl
Wed Apr 28 09:33:24 BST 2010


On 28-4-2010 10:17, John Smith wrote:
> 2010/4/28 Iván Sánchez Ortega<ivan at sanchezortega.es>:
>> "Ugly" gets short. The overlapping dashed lines just look horrible.
>>
>> http://www.openstreetmap.org/?lat=41.3067&lon=-3.1946&zoom=12
>
> That usually occurs because of broken relational multipolygons...

No, if they were broken, they wouldn't render in the first place.

> However it's the same problem I'm trying to solve, limiting the number
> of times the same shared segments get rendered.

Easy: slap a "where osm_id>0" on that query you posted, and only render 
the (correctly tagged) ways. :)

http://trac.openstreetmap.org/ticket/2094

-- 
Lennard





More information about the dev mailing list