[OSM-dev] test cases for multipolygon rendering?

Paul Fox pgf at foxharp.boston.ma.us
Mon Oct 5 13:09:29 UTC 2015


jochen wrote:
 > 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

fantastic -- thanks!

paul
=----------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 47.3 degrees)



More information about the dev mailing list