plepe / pgmapcss

PGMapCSS is a library for PostgreSQL/PostGIS which works between an osm2pgsql based database and Mapnik (and maybe other renderers). It processes database (usually OpenStreetMap) objects according to MapCSS rules and calculates resulting colors, widths and other properties for Symbolizers, even geometric modifications.
GNU Affero General Public License v3.0
35 stars 8 forks source link

inner members not recognized for "standard" multipolygons #103

Closed tyrasd closed 9 years ago

tyrasd commented 9 years ago

Compare the output of the following MapCSS http://pgmapcss.openstreetbrowser.org/?style=1d494&zoom=16&lat=46.3613&lon=11.1898 with the desired shape. Inner members of standard multipolygons appear to be ignored?!

plepe commented 9 years ago

Thanks for pointing me to this. The problem was, that members which are non-closed ways are merged together, but not converted to polygons -> then substracting inner members will not change the geometry. Strange, that I missed those polygons.