Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42044
    tartiflette74
    Participant

    I am not sure if this is an issue with oam maps, or with mapsforge or something else, but I have some problems with route=ferry ways (i.e. https://www.openstreetmap.org/way/37743596, in AlpsWest). There are some horizontal and vertical lines that are drawn at regular intervals, but they do not exist in osm. Maybe long ways are split in multiple segments, and if they are closed (loop way) this causes this? Seems to be independent of theme files, and occurs in both Locus and Cruiser, but only occurs at some scales (and at some scales, lines are not drawn but the name of the route is drawn).

    #42054
    Avatar photoEmux
    Participant

    Mapsforge Map Writer documentation mentions to use a different zoom interval in map creation.

    Emux

    #42055
    tartiflette74
    Participant

    I don’t know which zoom interval would solve the issue; and I suppose changing the zoom interval would also have other consequences…
    As we are talking of a stroke and not of a fill, maybe the path should be split in multiple independent segments in each tile? Or maybe some preprocessing is missing so that map-writer knows this item will be stroked and never filled? (Sorry, I really have no knowledge of the steps to build an oam map).

    #42069
    Avatar photoTobias
    Keymaster

    I think the reason here is the closed way. This can lead to this kind of rendering, as it is interpreted as area which ends at the tile borders (so it can also be filled).
    This can be prevented by adding force-polygon-line=”true” in the tag-mapping before creating the map (resulting areas can’t be filled anymore, but this isn’t needed here). Christian, can you add this to route=ferry?

    Developer of Elevate mapstyle

    2 users thanked author for this post.
    #42691
    Avatar photoChristianK
    Keymaster

    erledigt, done

    2 users thanked author for this post.
    #42847
    Avatar photoTobias
    Keymaster

    It seems to work now with the new maps.

    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.