[OSM-talk] coastline in mapnik

Lennard ldp at xs4all.nl
Tue Nov 9 08:30:40 GMT 2010


> A stupid but working workaround is to go through the .osm file with sed or
> something and rename coastline to something else before running osm2pgsql.

And the more logical solution would be to find the single line in the
osm2pgsql code that drops natural=coastline, adapt that, and
recompile/reimport. Also remove the natural=coastline 'delete' keyword
from default.style. You'll then have the raw natural=coastline ways in
planet_osm_line, and you can create a mapnik rule for those.

-- 
Lennard




More information about the talk mailing list