Tagged: , , ,

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #27243
    Anonymous
    Inactive

    don’t show their text and the hiking paths don’t get the highlighting ariund them

    If you use OAM Tagmapping, OAM Tagtransform and the Elevate from @tobias it should work.

    There are no hidden obstacles in dokumentation away from resolving relations.

    For the labels of the contourlines you have to zoom in.

    As pointed in another message, I also have this issue of contour lines labels not showing up, unless I zoom in to very very high zoom levels. Are OAM Tagmapping & OAM Tagtransform files published in the MapBasics section up to date?

    #27295
    Avatar photoChristianK
    Keymaster

    Are OAM Tagmapping & OAM Tagtransform files published in the MapBasics section up to date

    Yes, the files are up to date.
    … hmmm, maybe there are old versions at the CDN for several days after update

    #27299
    Anonymous
    Inactive

    … hmmm, maybe there are old versions at the CDN for several days after update

    Sorry, what do you mean?
    Thanks&Regards

    #27301
    Avatar photoChristianK
    Keymaster

    CDN = ContendDeliveryNetwork
    https://en.wikipedia.org/wiki/Content_delivery_network

    So files are cached on externel Servers around the world and this may take some days till these caches are filled with newer versions of the files.

    1 user thanked author for this post.
    #27303
    Anonymous
    Inactive

    CDN = ContendDeliveryNetwork

    https://en.wikipedia.org/wiki/Content_delivery_network

    So files are cached on externel Servers around the world and this may take some days till these caches are filled with newer versions of the files.

    Ok, but have these files (tag-mapping & tag-transform) been changed recently?

    #27307
    Avatar photoChristianK
    Keymaster

    Yes, today tagtransform has changed.

    Edit: There was a problem with crayon syntax highlighter not refreshing url reference to the xml-file.
    I replaced the crayon by a direct download button for both tagmapping and tagtransform.xml’s.

    Sorry…

    1 user thanked author for this post.
    #29903
    rooart
    Participant

    Hi Christian,
    First thanks a lot for this huge amount of work and for providing the results for free. I will soon make a donation for sure.
    I am also interested in creating my own .map files for a small area with daily updates (I need it during intense mapping periods).
    I have read the main steps described in this topic and I feel like it would be very helpful to have a short tutorial in the MapBasics section of your website.
    Would you agree writing it down with your own tips accumulated from your experience ?
    That would be awesome !
    Many thanks

    #29905
    Avatar photoChristianK
    Keymaster

    Hi,

    I’m sorry buit this is – if you want to produce maps with all bells ‘n whistles like the openandromaps – a very complicated process with numerous steps of preprozessing of the OSM base data.
    There are 7 different tag_mappings, even the make_scripts are made on the fly by a script.
    With a tileserver you have a well documented toolset – not with mapsforge.
    There is no easy “how to” and the process is in constant flow – actually I’m rewriting the sripsts for resolving the relations from scratch for releasing V5 maps end of the year.

    Best regards
    Christian

    1 user thanked author for this post.
    #29916
    rooart
    Participant

    Thanks for your quick answer Christian.
    Alternatively, is it possible to:

    1 / Produce maps of poorer quality in a simple way (without all the bells and whistles) that would still render correctly (with elevate theme) the hiking paths with sac_scale and trail_visibility tags ? No route relations. Contours if possible but not mandatory. POIs not mandatory. This is only for mapping purposes and I can still overlay other maps to get the missing context.

    2/ Kindly ask you to generate a specific area (smaller than existing ones) on the fly ? For instance Central Pyrenees like: E: 0 to 2.1 / N:42.5 to 43 ?

    Best regards

    #29926
    Avatar photoTobias
    Keymaster

    Produce maps of poorer quality

    This is discussed in this thread above. All except of route relations.

    Developer of Elevate mapstyle

    #30071
    rooart
    Participant

    Hi,
    Thanks to the info found in this topic and also this one from solitone , I managed to do what I was looking for.
    From my android phone, I can now run a small script that downloads the latest path and track info directly from the OSM overpass API (for a very small area) and creates a new vector map in the Locus directory using the Elevate theme for rendering.
    Typically I use this small map as an overlay (only showing hiking paths and tracks) :
    – On top of OpenAndroMaps to have a preview of my recent edits and to get updates from others made during the last month (official map uses planet.osm from end of June in my area).
    – On top of satellite or aerial images
    – On top of French IGN hiking maps to get the most out of the 2 worlds (very detailed landscape features from IGN and up-to-date hiking paths with difficulty and visibility info from OSM).

    I will soon post my script here with some details in case other people are interested.

    Again, many thanks to Christian and Tobias for their hard work and the amazing outcomes from it !
    Please keep on supporting this project with some donations 🙂

    2 users thanked author for this post.
    #36396
    rooart
    Participant

    I realise that I forgot to post my little script.
    Here it is attached.
    Most of it is to provide an easy way to update regularly small areas without re-generating contour files if they already exist.
    But the core command is simply this one :

    osmosis\
             --rx osm/$mapName.osm\
             --tag-transform file=tt_andromaps.xml\
             outPipe.0=tt\
             --rx $cfile\
             outPipe.0=ctrs\
             --merge inPipe.0=tt inPipe.1=ctrs\
             outPipe.0=mg\
             --mapfile-writer inPipe.0=mg\
             file=$mapName.map\
             tag-conf-file=tagmapping-min.xml\
             bbox=$minLat,$minLg,$maxLat,$maxLg
    #36398
    rooart
    Participant

    Now I should precise it is producing maps thay are working fine with the legacy Elevate LE theme for v3 maps on Locus.

    I have downloaded the latest osmosis release and the latest mapsforge-maps-writer plugin, as well as latests tagmapping and tagtransform XML files from OAM but it is still producing maps that display as v3 maps in Locus and therefore are not compatible with the latest versions of Elevate theme.
    I think this is a pity so if anyone knows how to generate v4 or v5 maps with osmosis plugin mapsforge-maps-writer : please let me know ?

Viewing 13 posts - 16 through 28 (of 28 total)
  • You must be logged in to reply to this topic.