- You must be logged in to reply to this topic.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
tagtransform.xml file has rule
<translation> <name>add tag to identify mp relations in mapsforge for theme</name> <description>add tag to identify mp relations in mapsforge for theme</description> <match type="relation" > <tag k="type" v="multipolygon"/> </match> <output> <copy-all/> <tag k="based_on_rel" v="mp"/> </output> </translation>
If I understand correctly, this rule only adds based_on_rel=mp tag to type=multipolygon relations. It doesn’t affect way members of those relations. However, Elevate.xml file has rules of type
<rule e="way" k="area|based_on_rel" v="yes|mp">
which are applied to ways, not to relations. What’s the effect of those rules then?
Relations are not contained in the maps, only the inherited tags on ways that belong to the relation. A multipolygon relation is per definition an area, so those ways don’t contain area=yes. So for those rules to work this tag was created.
Developer of Elevate mapstyle
I must be missing something obvious, sorry. It looks relation tags are not inherited by its way members. I have created a map from attached temp1.osm file with also attached tagmapping-test.xml and rendertheme-test.xml files and only the way with actual based_on_rel=mp tag is rendered
That’s a question for Christian and/or Emux. Most tags from relations aren’t included, that’s why Christian had to inherit e.g. hiking route relations to ways via scripts.
Developer of Elevate mapstyle
This site uses cookies, Google Fonts and Google Analytics. By continuing to browse the site, you are agreeing to our use of cookies, Google Fonts and Google Analytics.
OKLearn moreWe may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.
Datenschutz