Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #41624
    Avatar photo@afgb1977
    Participant

    Hello CristianK and Tobías.
    A few days ago I did a small edit to Elevate and I created a new style within Elevate (it was just an exercise to learn more about the code).
    I want to show 4wd information on the map.
    Is it possible to do it in MapsForge OAM? What would be the relationships to associate with the new style?
    If it is not possible to display information about 4wd, what would be the appropriate relationships to associate with the new style? (This to show roads in rural areas that can be used for 4×4).
    Reading a conversation in this forum about adding more levels of “boundary = administrative”, I understand that there is information that can be omitted when rendering the maps for publication.
    If this information has been omitted in OAM, and since I cannot find more information about it (except OSM wiki), You can guide me about it to show this info in the normal MapsForge.
    I use GoogleTranslate to translate from Spanish to English, I ask for your patience if there is a badly worded sentence.

    Thanks in advance for your valuable advice.

    Felipe

    @afgb1977

    #41627
    Avatar photoTobias
    Keymaster

    Hi Felipe,
    OSM information isn’t omitted on purpose in mapsforge maps; you have to define what’s included, so only what in the so-called tag-mapping file is mentioned will be included in the maps; this you can find here:
    https://www.openandromaps.org/map-basics-2/tag-mapping.
    I don’t really understand everything in your post because of the translation, but if you need additional tags in the maps that aren’t included in tag-mapping for something like 4×4, we can’t add it because it might end in faulty maps. So we just focus on tags that are important for hiking and cycling.
    We had a similar request here: https://www.openandromaps.org/oam-forums/topic/motorcycleyes-on-paths
    Best regards,
    Tobias

    Developer of Elevate mapstyle

    1 user thanked author for this post.
    #41631
    Avatar photo@afgb1977
    Participant

    I appreciate the response and understand that the OAM maps are focused on Hiking, MTB and Cycling.
    But I would like to ask one last piece of advice.
    Given your experience in writing RenderThemes, What information can I associate with a 4×4 style?
    Can I reshape a style for a map from the MapsForge Server and show me information associated with 4×4?
    Thank you for taking the time to read and answer my questions.
    Once again I congratulate you, CristianK and his collaborators for their work. The OpenAndroMaps material is the best you can find, and you have set a quality standard that is difficult for anyone else to exceed.

    @afgb1977

    #41634
    Avatar photo@afgb1977
    Participant

    Al usar GoogleTranslate integrado a GBoard estoy subordinado a sus traducciones por no hablar correctamente el idioma Inglés o algún otro diferente a mi idioma natal.
    Escribo en Español esperando que la traducción del Español al Inglés o Alemán sea más correcta en Chrome.
    Agradezco sus respuestas, y entiendo que los mapas de OAM están enfocados al Senderismo, MTB y Bici. Tambien entiendo que al omitir cierta información es por el hecho de que si se incluye podría ocasionar un funcionamiento incorrecto en el Renderizado de los mapas.
    Mi pregunta está enfocada a mostrar información relevante para 4×4. Ya que el TAG no está incluido en OAM, que información de los mapas OAM puedo asociar a un nuevo estilo para lograr un resultado aceptable usando la información ya incluida.
    O mejor dicho, omitiendo el nombre 4×4, quisiera editar un estilo para que me muestre información relacionada con carreteras y caminos rurales que puedan ser transitables por un 4×4. (Nuevamente usando la información ya incluida en los OAM).
    Voy a revisar el archivo de “Asignación de Etiquetas”.

    Agradezco nuevamente la paciencia y el tiempo tomado en leer este mensaje. El material de OAM es lo mejor que se puede encontrar y ustedes han establecido un límite alto de calidad difícil de alcanzar por otras personas.

    Felipe

    @afgb1977

    #41638
    mbe57
    Moderator

    Felipe, puedes utilizar https://www.deepl.com/translator para obtener traducciones de alta calidad y publicar el resultado en el foro de OAM …

    1 user thanked author for this post.
    #41684
    Avatar photoTobias
    Keymaster

    Given your experience in writing RenderThemes, What information can I associate with a 4×4 style?

    I don’t have a clue, you should look that up in the OpenStreetMap Wiki. These might be starting points:
    https://wiki.openstreetmap.org/wiki/Key:4wd_only
    https://wiki.openstreetmap.org/wiki/Key:atv
    https://wiki.openstreetmap.org/wiki/Key:ohv

    Can I reshape a style for a map from the MapsForge Server and show me information associated with 4×4?

    You mean would the information needed for this be in the maps from the mapsforge server? Probably not, all mapsforge maps have a limited tag-mapping, and the official mapsforge maps have less tags than OpenAndroMaps. This should be the tag-mapping:
    https://github.com/mapsforge/mapsforge/blob/master/mapsforge-map-writer/src/main/config/tag-mapping.xml

    So for maps containing tags for 4×4 you have to look if someone is making them, or learn to make them yourself.

    Developer of Elevate mapstyle

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.