Skip to content

Contours for rendertheme #1072

Closed Answered by devemux86
troNpo asked this question in Q&A
Oct 10, 2023 · 6 comments · 5 replies
Discussion options

You must be logged in to vote

Adapting the contour rules of Freizeitkarte theme we can have the following (can change widths, colors, etc).
Note: OpenAndroMaps use k="ele" and Freizeitkarte use k="name" in labels.

To understand the theme rules please see the render theme documentation for each library:

<m e="way" k="contour_ext" zoom-min="12" zoom-max="15">
    <m e="way" k="contour_ext" v="elevation_medium|elevation_major">
        <line stroke="#aaaaaa" width="0.5"/>
    </m>
    <m e="way" k="contour_ext" v="elevation_minor">
        <line stroke="#aaaaaa" width="0.2"/>
    </m>
</m>
<m e="way" k="contour_ext" zoom-min="16">
    <m e="way" k="contour_ext" v="elevation_medium|elevation_major">
        <

Replies: 6 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@troNpo
Comment options

Comment options

You must be logged in to vote
1 reply
@troNpo
Comment options

Answer selected by devemux86
Comment options

You must be logged in to vote
1 reply
@devemux86
Comment options

Comment options

You must be logged in to vote
2 replies
@devemux86
Comment options

@troNpo
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1071 on October 10, 2023 08:25.