Tagged: render building
- AuthorPosts
- May 27, 2018 at 18:01 #23749Reino BaptistaParticipant
Please,
Why isn’t the following tag combination rendering?building=storage_tank
content=water
description=Bla bla
man_made=storage_tank
operator=BlaThank you,
RBMay 27, 2018 at 19:59 #23753ChristianKKeymasterWhy isn’t the following tag combination rendering?
building=storage_tank
building=storage_tank is not included in tag-mapping (list of included OSM-Objekts)
Best regards
ChristianMay 28, 2018 at 13:42 #23766Reino BaptistaParticipantThanks
May 29, 2018 at 12:05 #23773Reino BaptistaParticipantDear CristianK,
Why isn’t the following single content of a xml file style showing all (and any kind of) buildings, no mater what the v (value) is?
This is driving me crazy…<?xml version=”1.0″ encoding=”UTF-8″?>
<rendertheme xmlns=”http://mapsforge.org/renderTheme” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://mapsforge.org/renderTheme https://raw.githubusercontent.com/mapsforge/mapsforge/dev/resources/renderTheme-v4.xsd” version=”4″ map-background-outside=”#EEEEEE” map-background=”#F8F8F8″>
<rule e=”any” k=”building” v=”*”>
<line stroke=”#734A08″ stroke-width=”0.1″ />
</rule>
</rendertheme>PS. Please, this isn’t any criticism.
May 29, 2018 at 14:58 #23776ChristianKKeymasterHi Reino,
The rule you are refering to is the one in the theme.
This rule shows all “key=building” regardless of the value – thats right.However, only the tag/value pairs that are included in the map during the make prozess.
Which tag/value pairs are included in the map are defined in the tagmapping.xml
Here you can’t define this with wildcards such as building=* – each tag/value pair have to be defined as EXACT pair.
Exceptions are only possible for NAME, ELE, HOUSENUMBER, and some others.The sense is to keep the maps slim and performant
building=storrage_tank is not included in the MAP and therefor it can’t be rendered by the theme.
Here ist the tagmapping of OpenAndroMaps:
https://www.openandromaps.org/en/map-basics-2/tag-mapping
.. and some tag/values are preprozessed by tagtransform:
https://www.openandromaps.org/en/map-basics-2/tagtransformBest regards
Christian - AuthorPosts
- You must be logged in to reply to this topic.