Betrachte 6 Beiträge - 1 bis 6 (von insgesamt 6)
  • Autor
    Beiträge
  • #42044
    tartiflette74
    Teilnehmer

    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-FotoEmux
    Teilnehmer

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

    Emux

    #42055
    tartiflette74
    Teilnehmer

    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-FotoTobias
    Administrator

    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-FotoChristianK
    Administrator

    erledigt, done

    2 users thanked author for this post.
    #42847
    Avatar-FotoTobias
    Administrator

    It seems to work now with the new maps.

    Developer of Elevate mapstyle

    1 Teilnehmer(n) gefällt dieser Beitrag
Betrachte 6 Beiträge - 1 bis 6 (von insgesamt 6)
  • Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.