Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23749

    Reino Baptista
    Participant

    Please,
    Why isn’t the following tag combination rendering?

    building=storage_tank
    content=water
    description=Bla bla
    man_made=storage_tank
    operator=Bla

    Thank you,
    RB

    #23753
    ChristianK
    ChristianK
    Keymaster

    Why 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
    Christian

    #23766

    Reino Baptista
    Participant

    Thanks

    #23773

    Reino Baptista
    Participant

    Dear 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.

    #23776
    ChristianK
    ChristianK
    Keymaster

    Hi 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/tagtransform

    Best regards
    Christian

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.