Edit: No idea why my uploaded images aren't shown.
I'm trying to host my own map with a few changes, including renaming "watery" areas using osmosis and this docker setup.
If I only try to match water or waterway everything works as expected, just missing some areas that don't have those tags.
code
osmosis --read-pbf bw.osm.pbf --tag-transform file="transforms.xml" --write-pbf updated-bw.osm.pbf
renamed rhine
As soon as I add any mention of natural:*
water areas just disappear.
transform xml with natural key
Rhine not renamed and missing the blue color
I just started using OSM, so my knowledge is limied. How does this happen and what would be the correct way to make this work?
The log then "sometimes" spout out errors:
Mapnik LOG> 2024-01-19 21:55:02: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <overflow> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
Mapnik LOG> 2024-01-19 21:55:04: SVG PARSING ERROR:"SVG support error: <enable-background> attribute is not supported"
asked
20 Jan, 12:38
Gor1lla
11●1●1●3
accept rate:
0%
I suspect the $64,000 question will be "what's actually in the database"?
Just to check, everything works (and you don't get the "Mapnik log errors" when you are not using osmosis?
For info, in case it helps, some working transformations (using osmium and osm-tag-transform, but perhaps adaptable to your use).
@SomeonElse It works as expected if I don't change anything or just the waterways. I used the Baden-Wuerttemberg map from here https://download.geofabrik.de/europe/germany.html