[OSM-dev] test cases for multipolygon rendering?

Jochen Topf jochen at remote.org
Mon Oct 5 05:19:44 UTC 2015


On So, Okt 04, 2015 at 07:54:00 -0400, Paul Fox wrote:
> i'm finally adding relation/multipolygon rendering to RoadMap -- it's
> nice to finally see _all_ of the local lakes, rather than just the
> ones represented by a single way.  so far i've just implemented
> the bare bones of the algorithm described at
>     http://wiki.openstreetmap.org/wiki/Relation:multipolygon/Algorithm#Ring_Assignment
> and it's reasonably successful.
> 
> but i know how this goes:  though it works on the OSM data i'm
> currently testing with, it's sure to break when i start rendering maps
> for my next major road-trip, and then i'll be scrambling to fix it.
> 
> so:  if you've worked on this problem, and know of some particularly
> thorny rendering areas, i'd like to hear about them.  whether or not
> i really deal with them will depend on how hard it is.  :-)

Here are some (artificial test cases):
https://github.com/osmcode/osm-testdata

Mostly in here: https://github.com/osmcode/osm-testdata/tree/master/grid/data/7

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.jochentopf.com/  +49-351-31778688



More information about the dev mailing list