Mapy.cz theme - where to find?

Started by Forsberg, September 13, 2024, 15:38:15

0 Members and 1 Guest are viewing this topic.

Forsberg

I think mapy.cz use great theme maps. Their look is clean, easy to understand and just neat. Is there any theme based on the look of mapy.cz?
Unfortunately locus does not allow them as online provider so I thought about giving such look for vector maps?

To be clear I mean a "touristic" theme.
  •  
    The following users thanked this post: Hojší

tumic

The GPXSee Mapsforge/OpenAndroMaps render-theme uses a very similar cartographic style to Mapy.cz. The render-theme is a standard Mapsforge rendertheme so you should be able to use it in Locus but as GPXSee uses a different render engine than Mapsforge(Locus), you may have to adjust it a litle bit for Locus.
  •  

Magellan

#2
2tumic

Can you provide a specific link inside your github-project, where exactly does the xml theme that needs to be adapted to mapsforge-like programs contain? (Locus, Orux, Cruiser, etc)
  •  


Magellan

#4
2 tumik

Thank you.  Your theme has been adapted for Locus.
Changed:
- paths have been redesigned for graphics
- in the header added base-stroke-width="1.4"
- fixed an error with missing "arrow.svg"
- changed signatures of pathText k="ele" for e="way" k="contour_ext"

2 Forsberg
You can try this theme. It is named GPXSee
What has changed is indicated above. Otherwise, this rendertheme is "AS IS".
  •  
    The following users thanked this post: spezl, Tapio

spezl

Hi,
May I ask, how it would be possible to show hiking paths, signs and so on at this theme?
And, can it be used for OAM and Locus Maps?
When I try it, it's impossible to see,e.g., the color of the waymarkings.
I'm not able to edit this in an usable manner...
I'm om Locus Map Pro (the "old" one).
  •  
    The following users thanked this post: macfrank

tumic

QuoteMay I ask, how it would be possible to show hiking paths, signs and so on at this theme?

Since GPXSee 13.47 (and the corresponding theme version) there are "Outdoor" and "Winter" layers in addition to the basic layer in the render theme.

QuoteAnd, can it be used for OAM and Locus Maps?

The theme has support for OAM-specific features. For using it in Locus, the symbol paths have to be adjusted and maybe a few other things that may cause minor rendering issues due to GPXSee and Locus using different render engines. But in general it is a standard, valid, Mapsforge render theme.
  •  
    The following users thanked this post: Menion, spezl

Magellan

#7
Quote from: spezl on September 30, 2025, 06:33:13Hi,
beginning of this year you were so kind to adapt the "Gpxsee" theme to Locus compatibility.
There is an update from tumic with some kind of upgrade as I understand. I'm not able to adapt this to be used at Locus maps, and I'd like to ask, if you may have time to take a look at this and can adapt the new version again?
Thank you in advance!
Best regards
Spezl

Completed for version 14.1
  •  
    The following users thanked this post: spezl

tumic

You can now find the theme in a separate repository at GitHub.
  •  

leatherbath

I noticed the project has moved to GitHub. Does the repository also include installation instructions for Locus Map, or is the setup process still the same as before?
  •  

TrulloF

Just download the "Code" as zip (desktop browser mode) and copy the file, where the other themes are located. Depending on your setup the "_themes" folder is a sub-folder of  /Android/media/menion.android.locus/mapsVector or /Android/data/menion.android.locus/mapsVector, either in your internal or external memory.
  •  

tule

A brilliant minimalist theme!
I know absolutely nothing about map themes, but I needed the road surfaces to be displayed for mantrailing purposes. Editing complex themes with ten thousand lines of code is a nightmare. GPXSee is beautifully organised and easy to understand, even for a complete novice – many thanks for it!
My modification highlights the surface of paths where specified, according to four categories:
1. asphalt, concrete (dirt white color)
2. paving, slabs  (dark gray)
3. gravel, etc.  (light gray)
4. natural unpaved surface  (green gray)
You cannot view this attachment.   You cannot view this attachment.  You cannot view this attachment.
    <!-- Roads & tracks -->
  <rule e="way" k="highway" v="steps" zoom-min="16">
    <rule e="way" k="area" v="~|no">
      <rule e="way" k="tunnel" v="~|no">
        <line stroke="#707070" stroke-width="0.55" stroke-linecap="round" />
        <line stroke="#e5e0c2" stroke-dasharray="4,2" stroke-linecap="butt" stroke-width="0.5" />
      </rule>
      <rule e="way" k="tunnel" v="yes|true">
        <line stroke="#eeeeee" stroke-dasharray="4,2" stroke-linecap="butt" stroke-width="0.3" />
      </rule>
    </rule>
  </rule>
  <!-- MANTRAILING MODIFICATIONS (SURFACE HIGHLIGHTING)  ========================================== -->
  <!-- 1. PEDESTRIAN ZONES -->
  <!-- Rule for areas: parking, pedestrian zones, area paths (must be a closed polygon) -->
  <rule e="way" k="amenity|highway|area:highway" v="parking|pedestrian|footway|path" closed="yes" zoom-min="15">
    <!-- Fallback first - if the surface is unknown -->
    <!-- Neutral light gray fill and gray border -->
    <area fill="#F2F2F2" />
    <line stroke="#999999" stroke-width="0.05" stroke-linecap="butt" />
    <!-- If the surface is known, the fallback fill and border will be overwritten -->
    <!-- PAVED SURFACE -->
    <rule e="way" k="tracktype|surface" v="asphalt|paved|concrete|grade1">
      <!-- White fill -->
      <area fill="#F2F2F2" />
      <!-- Solid black border -->
      <line stroke="#000000" stroke-width="0.05" stroke-linecap="butt" />
    </rule>
    <!-- PAVING / PANELS  -->
    <rule e="way" k="tracktype|surface" v="paving_stones|sett|cobblestone|concrete:plates">
      <!-- dark gray fill -->
      <area fill="#444444" />
      <!-- black border -->
      <line stroke="#000000" stroke-width="0.05" stroke-linecap="butt" />
    </rule>
    <!-- GRAVEL / COMPACTED SURFACE -->
    <rule e="way" k="tracktype|surface" v="gravel|fine_gravel|compacted|grass_paver|woodchips|chipseal|concrete:lines|unpaved|grade2|rock|stone">
      <!-- Lighter gray fill -->
      <area fill="#8e8e8e" />
      <!-- black border -->
      <line stroke="#000000" stroke-width="0.05" stroke-linecap="butt" />
    </rule>
    <!-- NATURAL / UNPAVED SURFACE -->
    <rule e="way" k="tracktype|surface" v="ground|dirt|earth|grass|mud|sand|grade3|grade4|grade5">
      <!-- gray-green fill  -->
      <area fill="#B5BE9F" stroke-linecap="butt" />
      <!-- black border -->
      <line stroke="#000000" stroke-width="0.05" stroke-linecap="butt" />
    </rule>
  </rule>
  <!-- 2.a TRACKS AND PATHS  BASE LAYER FOR (According to surface) -->
  <rule e="way" k="highway" v="track|path|bridleway" zoom-min="15">
    <!-- Asphalt / Concrete almost white color (like roads)-->
    <rule e="way" k="tracktype|surface" v="asphalt|paved|concrete|grade1">
      <line stroke="#F2F2F2" stroke-width="0.5" stroke-linecap="butt" />
    </rule>
    <!-- Paving / Panels dark gray color -->
    <rule e="way" k="surface" v="paving_stones|sett|cobblestone|concrete:plates">
      <line stroke="#444444" stroke-width="0.5" stroke-linecap="butt" />
    </rule>
    <!-- Gravel / Crushed stone light gray -->
    <rule e="way" k="tracktype|surface" v="gravel|fine_gravel|compacted|grass_paver|woodchips|chipseal|concrete:lines|unpaved|grade2|woodchips|rock|stone">
      <line stroke="#8e8e8e" stroke-width="0.5" stroke-linecap="butt" />
    </rule>
    <!-- Natural surfaces gray-green-->
    <rule e="way" k="tracktype|surface" v="ground|dirt|earth|grass|mud|sand|grade3|grade4|grade5">
      <line stroke="#B5BE9F" stroke-width="0.5" stroke-linecap="butt" />
    </rule>
    <!-- FALLBACK (without surface tag) = no base is rendered -->
  </rule>
  <!-- 2.b TRACKS AND PATHS UPPER DASHED LAYER (Classic Mapy.cz style) -->
  <rule e="way" k="highway" v="track|bridleway">
    <line stroke="#7C6555" stroke-width="0.32" stroke-dasharray="36,12" stroke-linecap="butt" />
  </rule>
  <rule e="way" k="highway" v="path">
    <line stroke="#7C6555" stroke-width="0.32" stroke-dasharray="24,12" stroke-linecap="butt" />
  </rule>
  <!-- 3. LOWER CLASS ROADS AND THEIR FALLBACK -->
  <rule e="way" k="highway" v="service|living_street|residential|road|unclassified" zoom-min="15">
    <!-- Casing (border) -->
    <!-- Fallback border (gray) -->
    <line stroke="#999999" stroke-width="0.78" stroke-linecap="butt" />
    <!-- Core (road fill) -->
    <line stroke="#F2F2F2" stroke-width="0.62" stroke-linecap="butt" />
    <!-- if surface is known, the fallback is overwritten -->
    <rule e="way" k="tracktype|surface" v="paved|asphalt|smooth_paved|paving_stones|sett|cobblestone|concrete|concrete:plates|grade1">
      <!-- white with black border -->
      <line stroke="#000000" stroke-width="0.80" stroke-linecap="butt" />
      <line stroke="#F2F2F2" stroke-width="0.62" stroke-linecap="butt" />
    </rule>
    <!-- Paving / Panels -->
    <rule e="way" k="surface" v="paving_stones|sett|cobblestone|concrete:plates">
      <line stroke="#000000" stroke-width="0.80" stroke-linecap="butt" />
      <line stroke="#444444" stroke-width="0.62" stroke-linecap="butt" />
    </rule>
    <!-- Gravel / Crushed stone -->
    <rule e="way" k="tracktype|surface" v="gravel|fine_gravel|compacted|grass_paver|woodchips|chipseal|concrete:lines|unpaved|grade2|woodchips|rock|stone">
      <line stroke="#000000" stroke-width="0.80" stroke-linecap="butt" />
      <line stroke="#8e8e8e" stroke-width="0.62" stroke-linecap="butt" />
    </rule>
    <rule e="way" k="tracktype|surface" v="ground|dirt|earth|grass|mud|sand|grade3|grade4|grade5">
      <!-- brown with black border -->
      <line stroke="#000000" stroke-width="0.80" stroke-linecap="butt" />
      <line stroke="#B5BE9F" stroke-width="0.62" stroke-linecap="butt" />
    </rule>
  </rule>
  <!-- 4. FOOTWAYS, CYCLEWAYS AND THEIR FALLBACK -->
  <rule e="way" k="highway" v="footway|cycleway" zoom-min="15">
    <!-- Casing (border) -->
    <!-- Fallback border (gray) -->
    <line stroke="#999999" stroke-width="0.48" stroke-linecap="butt" />
    <!-- Core (road fill) -->
    <line stroke="#F2F2F2" stroke-width="0.30" stroke-linecap="butt" />
    <!-- if surface is known, the fallback is overwritten -->
    <rule e="way" k="tracktype|surface" v="paved|asphalt|smooth_paved|paving_stones|sett|cobblestone|concrete|concrete:plates|grade1">
      <!-- white with black border -->
      <line stroke="#000000" stroke-width="0.50" stroke-linecap="butt" />
      <line stroke="#F2F2F2" stroke-width="0.32" stroke-linecap="butt" />
    </rule>
    <!-- Paving / Panels -->
    <rule e="way" k="surface" v="paving_stones|sett|cobblestone|concrete:plates">
      <line stroke="#000000" stroke-width="0.50" stroke-linecap="butt" />
      <line stroke="#444444" stroke-width="0.32" stroke-linecap="butt" />
    </rule>
    <!-- Gravel / Crushed stone, wood... -->
    <rule e="way" k="tracktype|surface" v="gravel|fine_gravel|compacted|grass_paver|woodchips|chipseal|concrete:lines|unpaved|grade2|woodchips|rock|stone">
      <line stroke="#000000" stroke-width="0.50" stroke-linecap="butt" />
      <line stroke="#8e8e8e" stroke-width="0.32" stroke-linecap="butt" />
    </rule>
    <!-- NATURAL SURFACE GROUND / GRASS... -->
    <rule e="way" k="tracktype|surface" v="ground|dirt|earth|grass|mud|sand|grade3|grade4|grade5">
      <!-- brown with black border -->
      <line stroke="#000000" stroke-width="0.50" stroke-linecap="butt" />
      <line stroke="#B5BE9F" stroke-width="0.32" stroke-linecap="butt" />
    </rule>
  </rule>
  <!-- END OF MANTRAILING MODIFICATIONS (SURFACE HIGHLIGHTING)   ========================================== -->
  <rule e="way" k="highway" v="tertiary|tertiary_link|raceway">
    <rule e="way" k="*" v="*" zoom-min="13" zoom-max="13">
      <line stroke="#d5cdc0" stroke-width="1.5" />
      <line stroke="#ffffff" stroke-width="0.75" />
    </rule>
    <rule e="way" k="*" v="*" zoom-min="14">
      <line stroke="#d5cdc0" stroke-width="1.0" />
      <line stroke="#ffffff" stroke-width="0.75" />
    </rule>
    <rule e="way" k="*" v="*" zoom-min="15">
      <pathText fill="#000000" font-size="10" k="name" priority="-7" stroke="#FFFFFF" stroke-width="2" />
      <rule e="way" k="oneway" v="yes|true|1" zoom-min="16">
        <lineSymbol priority="-50" src="symbols/oneway.svg" symbol-width="16" symbol-height="8" />
      </rule>
    </rule>
  </rule>
  <rule e="way" k="highway" v="primary|primary_link|secondary|secondary_link">
    <rule e="way" k="tunnel" v="~|false|no">
      <rule e="way" k="*" v="*" zoom-min="9" zoom-max="13">
        <line stroke="#dbd27b" stroke-width="3.6" stroke-linecap="butt" />
        <line stroke="#faef75" stroke-width="1.8" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#dbd27b" stroke-width="1.8" stroke-linecap="butt" />
        <line stroke="#faef75" stroke-width="0.9" stroke-linecap="butt" />
      </rule>
    </rule>
    <rule e="way" k="tunnel" v="yes|true">
      <rule e="way" k="*" v="*" zoom-min="9" zoom-max="13">
        <line stroke="#dbd27b" stroke-width="3.6" stroke-linecap="butt" stroke-dasharray="16,6" />
        <line stroke="#f5efab" stroke-width="1.8" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#dbd27b" stroke-width="1.8" stroke-linecap="butt" stroke-dasharray="12,4" />
        <line stroke="#f5efab" stroke-width="0.9" stroke-linecap="butt" />
      </rule>
    </rule>
    <rule e="way" k="*" v="*" zoom-min="14">
      <pathText fill="#000000" font-size="10" k="name" priority="-5" stroke="#FFFFFF" stroke-width="2" />
      <rule e="way" k="oneway" v="yes|true|1" zoom-min="16">
        <lineSymbol priority="-50" src="symbols/oneway.svg" symbol-width="16" symbol-height="8" />
      </rule>
    </rule>
  </rule>
  <rule e="way" k="highway" v="trunk|trunk_link">
    <rule e="way" k="tunnel" v="~|false|no">
      <rule e="way" k="*" v="*" zoom-max="13">
        <line stroke="#e8a541" stroke-width="4" stroke-linecap="butt" />
        <line stroke="#ffcc78" stroke-width="2" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#e8a541" stroke-width="2" stroke-linecap="butt" />
        <line stroke="#ffcc78" stroke-width="1" stroke-linecap="butt" />
      </rule>
    </rule>
    <rule e="way" k="tunnel" v="yes|true">
      <rule e="way" k="*" v="*" zoom-max="13">
        <line stroke="#e8a541" stroke-width="4" stroke-linecap="butt" stroke-dasharray="16,6" />
        <line stroke="#f7d9a6" stroke-width="2" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#e8a541" stroke-width="2" stroke-linecap="butt" stroke-dasharray="12,4" />
        <line stroke="#f7d9a6" stroke-width="1" stroke-linecap="butt" />
      </rule>
    </rule>
    <rule e="way" k="*" v="*" zoom-min="14">
      <pathText fill="#000000" font-size="10" k="name" priority="-3" stroke="#FFFFFF" stroke-width="2" />
      <rule e="way" k="oneway" v="yes|true|1" zoom-min="16">
        <lineSymbol priority="-50" src="symbols/oneway.svg" symbol-width="16" symbol-height="8" />
      </rule>
    </rule>
  </rule>
  <rule e="way" k="highway" v="motorway|motorway_link">
    <rule e="way" k="tunnel" v="~|false|no">
      <rule e="way" k="*" v="*" zoom-max="13">
        <line stroke="#72a35a" stroke-width="4" stroke-linecap="butt" />
        <line stroke="#9bd772" stroke-width="2" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#72a35a" stroke-width="2" stroke-linecap="butt" />
        <line stroke="#9bd772" stroke-width="1" stroke-linecap="butt" />
      </rule>
    </rule>
    <rule e="way" k="tunnel" v="yes|true">
      <rule e="way" k="*" v="*" zoom-max="13">
        <line stroke="#72a35a" stroke-width="4" stroke-linecap="butt" stroke-dasharray="16,6" />
        <line stroke="#a9dd85" stroke-width="2" stroke-linecap="butt" />
      </rule>
      <rule e="way" k="*" v="*" zoom-min="14">
        <line stroke="#72a35a" stroke-width="2" stroke-linecap="butt" stroke-dasharray="12,4" />
        <line stroke="#a9dd85" stroke-width="1" stroke-linecap="butt" />
      </rule>
    </rule>
  </rule>
  <rule e="way" k="highway" v="motorway" zoom-min="14">
    <pathText fill="#FFFFFF" font-size="10" k="ref" stroke="#dd3e3e" stroke-width="2" text-orientation="auto_down" />
  </rule>
  <rule e="node" k="highway" v="motorway_junction" zoom-min="16">
    <symbol id="exit" src="symbols/exit.svg" symbol-width="15" symbol-height="11" priority="100" />
    <caption fill="#000000" font-size="10" font-style="italic" k="name" stroke="#FFFFFF" stroke-width="2" symbol-id="exit" />
  </rule>
  <!-- Railways -->
 
  •