andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
174 stars 25 forks source link

Hiking Tunnels #143

Closed hungerburg closed 3 years ago

hungerburg commented 3 years ago

These are rare indeed, I found one, https://www.openstreetmap.org/way/39448447

Below a possible change in styling

b/app/src/main/assets/styles/inc_highways.xml
@@ -46,8 +46,8 @@
                                         <line stipple="6" use="path" width="2.0" stipple-stroke="color:cycleway" />
                                     </m>
                                     <m cat="hiking">
-                                        <line cat="hiking" use="path" width="6.0" />
-                                        <line fix="true" stroke="color:land" width="5.6" />
+                                        <line stipple="12" stipple-stroke="color:transparent" use="pedestrian-tunnel"
+                                            fix="true" width="6.0" />
                                     </m>
                                     <m>
                                         <line stipple="6" use="path" width="2.0" />
andreynovikov commented 3 years ago

Do not see any problems with tunnels. They are correctly drawn in both modes.

hungerburg commented 3 years ago

Hello Andrey, Below two screenshots of what I see in hiking mode, can this be so different? - not perfect, but I can't do it better, eg. like motorway tunnels, that have a dashed outline… got so far from looking how you did with cycling tunnels, some lines below there… third shot from cycling, much nicer

Screenshot_1615722428 Screenshot_1615722620 Screenshot_1615723452

andreynovikov commented 3 years ago

Updated