[OSM-newbies] Odd Potlatch 2 rendering

Richard Fairhurst richard at systemed.net
Thu Jan 6 10:37:15 GMT 2011


Kenneth Pardue wrote:
> Can someone explain why Potlatch2 renders this area strangely, 
> but it is rendered correctly in Mapnik and Potlatch 1.4?
> http://www.openstreetmap.org/?lat=31.77463&lon=-93.08292&zoom=16&layers=M
> [...]
> Is this a bug in Potlatch 2?

Potlatch 2 will only draw multipolygons which consist of 1 outer way and 1+
inner ways, and where the tags are on the outer way. This multipolygon has
several outer ways so will not be rendered properly.

You could call this a bug but, to be honest, if people are going to invent
insanely complicated relation structures (aka "advanced multipolygons") and
completely go against existing OSM tagging practice (putting way tags on
relations), I feel no obligation to waste a week of my life supporting it.
It would be an exceptionally complex one to fix, as you'd potentially need
to load extra data from the server if all the outer ways weren't in the
current bbox. 

Mapnik has much more processing power and an intermediate step (osm2pgsql)
available to it. P1 doesn't do any special rendering of muitipolygons at
all. I guess maybe we could teach P2 not to bother (P1-style) if there's
more than one outer way...

cheers
Richard


-- 
View this message in context: http://gis.638310.n2.nabble.com/Odd-Potlatch-2-rendering-tp5892790p5895083.html
Sent from the Newbies mailing list archive at Nabble.com.



More information about the newbies mailing list