I am trying to create a map style that better represents inland waterways than the default or nautical styles do. My first goal is to make waterways features more prominent by setting icons for them and ensuring they are displayed at higher zoom levels, starting with the feature `waterway=lock_gate`.This tag appears 3 times in the `default.render.xml`:
<case minzoom="15" tag="waterway" value="lock_gate" textDy="7" textWrapWidth="30" textOrder="212"/><case minzoom="15" tag="waterway" value="lock_gate" icon="waterway_lock_gate_small">
<apply_if moreDetailed="false" maxzoom="15" icon=""/>
</case><case minzoom="15" tag="waterway" value="lock_gate" strokeWidth="2" color="#77999999">
<case minzoom="17" strokeWidth="3"/>
<apply_if nightMode="true" color="#77444444"/>
</case>I added ` icon="seamark_lock_gate"` to the first of these, and I updated all of these minzoom values to 11. The icon correctly displays, but at zoom 14 or less the icon stops displaying.
--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/deafde6e-0b4b-4782-81b8-9d66a118dd2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you Harry and Majka for your replies.This makes a lot of sense, since the default value for minzoom is 15 for this tag in rendering_types.I am trying to get OsmAndMapCreator to run but the latest version on the osmand.net/downloads page appears to be missing the main OsmAndMapCreator.jar file.I downloaded an old version (1.1.0) which has the jar file and runs successfully. I have updated the rendering_types.xml file and downloaded some osm data from geofabrik.de. When I run file > Create obf from osm file and input the file, I get the message:"java.lang.RuntimeException: Duplicate Name"
I don't know what this message is referring to. Perhaps it is a bug that has been fixed in a later version?
Any ideas where I can get the latest OsmAndMapCreator that is complete with the .jar file?
To unsubscribe from this group and stop receiving emails from it, send an email to osm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/deafde6e-0b4b-4782-81b8-9d66a118dd2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osmand/71862096-99b4-4795-b2f6-1fda4c8b37c4%40googlegroups.com.