Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • #20399
    Avatar photoTobias
    Keymaster

    Thanks, looks good. One issue with patterns on line like this:
    <line src="file:ele_res/p_access-private.svg" symbol-scaling="size" symbol-height="8" symbol-width="8" stroke-width="0.9" />
    See screenshots, in mapsforge Cruiser it works well, in GL Cruiser only a black line is visible.
    Also zoom levels don’t match.

    Developer of Elevate mapstyle

    #20403
    Avatar photoEmux
    Participant

    Thanks for the report Tobias, I’ll check it.

    > Also zoom levels don’t match.

    Do you mean in screenshots? VTM has continuous scaling, not fixed zoom levels.
    But can use the “Tools” > “Go to” to set exact same zoom also in Cruiser GL.

    Emux

    #20406
    Avatar photoJohnPercy
    Participant

    It seems to me that scaling of symbols does not work and neither do zoom-max or zoom-min. Neither can I get dashes with rounded ends.

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #20408
    Avatar photoEmux
    Participant

    Hi John,

    – Do you mean some specific rule for symbols?

    – If zoom level is about issue #216, there is still active a max zoom level 17 data extraction limit in Mapsforge maps. I’ve not enabled a larger extraction zoom yet to see also #393.

    – Regarding dashes, OpenGL cannot mirror exactly software rendering.
    Likewise Mapsforge cannot have the advanced GL theme rules.

    Eventually some minor differences will exist!

    Emux

    #20411
    Avatar photoTobias
    Keymaster

    Thanks Emux, with “go to” ZL match. I thought that +/- would snap into exact levels as shown with debug info.

    Another thing: switching 3D buildings off results in virtually non existent building borders. BTW, leaving them switched off causes Cruiser to crash on every next start for me.

    Round dashes are more than cosmetic differences (compared to different dash length), as lines that e.g. only differ via dotted/square look the same now, so it’s important for theme compatibility to have them.

    Developer of Elevate mapstyle

    #20414
    Avatar photoEmux
    Participant

    > I thought that +/- would snap into exact levels as shown with debug info.

    It was asked before, probably I’ll have to change buttons behavior!

    > switching 3D buildings off results in virtually non existent building borders.

    Are the buildings declared with “area” rule and “stroke” (see #213) ?
    As explained in #121 in OpenGL the area outlines are hardware dependent. That’s why in VTM themes it’s recommended to use additional line layers, for area borders.

    Of course with Mapsforge themes will need to think how to overcome that..

    > leaving them switched off causes Cruiser to crash on every next start for me.

    I’ll check, though from a quick test cannot reproduce it..
    Are there any other app options changed? If uninstall / reinstall Cruiser (to reset options), disable 3D buildings, does it happen?

    > Round dashes are more than cosmetic differences

    Nothing is impossible, will see what can be done!

    Emux

    #20418
    Avatar photoTobias
    Keymaster

    Yes, all area borders, so it’s a known issue.

    I sent fc feedback, just two things necessary with a fresh installation: select latest Elevate.xml, switch 3D buildings off. At next start of Cruiser GL it crashes. With 3D buildings on it doesn’t.

    Developer of Elevate mapstyle

    #20422
    Avatar photoJohnPercy
    Participant

    Do you mean some specific rule for symbols?

    Turns out this was the maximum zoom render issue you explained above. A search and replace for zoom-min=”18″ solved that.

    Using Cruiser GL in Windows, 3D buildings have no sides or tops, only white edges. Are there any relevant instructions for Mapfactor themes?

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #20424
    Avatar photoEmux
    Participant

    > Using Cruiser GL in Windows, 3D buildings have no sides or tops, only white edges. Are there any relevant instructions for Mapfactor themes?

    That should be some issue with the graphics card and OpenGL on Windows.
    What graphics card and driver do you have?

    Can you create an issue in VTM repository mentioning those details?

    You can test the default theme (from map menu), probably with same behavior.
    3D buildings should appear the same in VTM and Mapsforge themes.

    Emux

    #20427
    Avatar photoJohnPercy
    Participant

    I get the same behaviour from the default theme. The graphics card is an ATI Radeon HD3450 on Windows 10, which appears to be an unsupported OS for it.
    The WebGL demo works fine however.

    Voluntary and Velocity themes - https://voluntary.nichesite.org

    #20431
    Avatar photoEmux
    Participant

    We use libGDX OpenGL framework on desktop and WebGL in browser, so there are different backends.

    Emux

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

    Something else – lines with stroke-dasharray are rendered/scaled differently than without. See attached screenshots, the brown tracks should have always the same thickness and also the same borders. But at high zoom levels, the dashed ones are much thinner, and at low zoom levels thicker.

    Developer of Elevate mapstyle

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