Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tule

#1
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 -->
 
#2
Mě pomohlo nejdřív smazat tu starou verzi. Teprve pak fungovalo stažení nové, dokud jsem ji nesmazal, tak se nic nestáhlo, Locus jen přepnul na tu starou uloženou mapu.. Aktualizoval jsem ty mapy poprvé, takže netuším, jestli to dřív fungovalo i bez mazání ;).
#3
Zlobí mi import gpx souborů z whatsapp zpráv. Ale jen někdy, někdy se normálně načte, někdy pomůže akci zopakovat, jindy ne a pomůže až vymazání mezipaměti. Dokud mezipamět nevymažu tak se tahle hláška objevuje i při pokusu otevřít soubor gpx pomocí file manageru. Na straně whatsapp problém asi není, protože import do Open Tracks nebo GeoTrackeru jde vždy.
Verze 4.30.1