I want to use Mapnik to draw custom styled maps from OSM. I have used Osmosis to import the Europe extract (from geofabric). I used the database schema with linestrings geometries for ways. Now, for performance and convinience reasons (work in QGIS) I want to build materialized views for polygon features, such as water areas. So, for example, for riverbanks I am trying something like this:
And the result is:
And the PostGIS is right, the relation 1085106 is self-intersecting ("inner" way intersects "outer" way). But OSM got it drawn anyway: http://www.openstreetmap.org/#map=20/46.34904/0.68303 As far as I know, Mapnik needs polygons, so the official map have to "fix" these data somehow to draw them. How is this done? asked 29 Jun '16, 09:01 rouen_sk |
Why not use osm2pgsql which already does the polygon processing?