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 - Wojtas82

#16
Themes - Vector maps / Re: Theme developing question
November 11, 2014, 14:56:04
Hey. Just a quick question. Is there any way to set gap lengths between "symbol"  icons (not "lineSymbol")?" Dy would be nice as well. I'm trying to configure icons for bike routes. Thanks in advance.
#17
Themes - Vector maps / Re: Theme developing question
November 07, 2014, 22:02:15
Hi Locus Team, great job with a new Locus version. I can confirm "dy" fully working - no gaps! Thanks a lot.
#18
Themes - Vector maps / Re: Theme developing question
November 03, 2014, 20:56:36
Thanks a lot Popej. I'm a little busy lately but will I will try to find some extra time. :)
#19
Some progress




#20
Already done :D
BTW This option is great! Thanks in advance! :)
#21
I also noticed that instance tag works fine when you have 2 or more routes of the same kind (i.e. 3 lcn routes get 3 different numbers) the you can set different "dy" attribute for them and nicely display them like this:


but if you have 1 lcn and 1 ncn on same road they receive same numbers and path text overlaps.
@ Popej, maybe the solution is to put bike routes in one bag like this "instance:bicycle"? so all the routes on a part of the road become equivalent and receive different instance number? How do you think?

EDIT:
Here's a part of a code I ised for lcn's.
<rule e="way" k="route" v="bicycle">
<rule e="way" k="network" v="*">
<rule e="way" k="network" v="lcn">
<rule e="way" k="instance:lcn" v="~">
<pathText k="name"  font-style="bold" font-size="14"  dy="-20" scale-font-size="17,1.15" font-family="monospace"  fill="#000000" stroke="#ffffff" stroke-width="3.5" />
</rule>
<rule e="way" k="instance:lcn" v="2">
<pathText k="name"  font-style="bold" font-size="14"  dy="-40" scale-font-size="17,1.15" font-family="monospace"  fill="#000000" stroke="#ffffff" stroke-width="3.5" />
</rule>
<rule e="way" k="instance:lcn" v="3">
<pathText k="name"  font-style="bold" font-size="14"  dy="-60" scale-font-size="17,1.15" font-family="monospace"  fill="#000000" stroke="#ffffff" stroke-width="3.5" />
</rule>
<rule e="way" k="instance:lcn" v="4">
<pathText k="name"  font-style="bold" font-size="14"  dy="-80" scale-font-size="17,1.15" font-family="monospace"  fill="#000000" stroke="#ffffff" stroke-width="3.5" />
</rule>
<rule e="way" k="instance:lcn" v="5">
<pathText k="name"  font-style="bold" font-size="14"  dy="-100" scale-font-size="17,1.15" font-family="monospace"  fill="#000000" stroke="#ffffff" stroke-width="3.5" />
</rule>
</rule>
</rule>
</rule>


#22
@jusc
You're right but combining both types of routes (bike and hike) is good for orientation. Here where I live, there are mostly hiking routes which are very often suitable for biking. I would like to achieve 3 themes: hiking, biking and hike and biking :)
So that's why :)
#23
@ Popej, I made some test and here's a problem I'm experiencing. Bike routes should be on "one side" not dependend on road direction but here's a result :


Here's the spot on OSM :
http://www.openstreetmap.org/#map=18/54.50005/18.47150&layers=C

As you can see blue line changes side of the road when switching from residential road to footpath. Maybe it should be like this? Thanks in advance for explanation :)

EDIT:
I also hoped we could have bicycle routes at only one side (on the right side of direction) and hiking/foot routes on the left side. Now they appear randomly on right or left. That would look nicer on the map, we could have bicycle routes at, let's say dy=-20 and hiking on the other side of the road at dy=20.
:)

#24
Wow Popej, thanks very much, now I have plenty to do! :) Will post progress as soon as possible :)
#25
Other features / Question about compass
October 23, 2014, 21:07:07
I'm experiencing that kind of problem when driving. When my speed is above 1 km/h or more the direction is shown properly but when I stop after few seconds inbuilt compass is activated and map points into random direction and doesn't show the proper direction. I tried different settings in sensor menu and I get similar behavior with inbuild compass disabled. I don't know where the problem is. What I would like to achieve : when I'm stopped the direction is freezed with the last known proper direction.When speed is recognized the direction works again. How can I set it up? Thanks in advance!
#26
Well, everyone has different needs, let's respect this  ;D ;D ;D
#27
Glad I could help.
#28
Nice find. I found max 5 in Poland near Szczecinek  ☺I guess this is a small exeption so you  would have 17 routes very close to each other or overlapping. Anyway Germany uses different hierarchy than Poland lcn rcn ncn so probably just overlapping.
#29
I use Notepad++ for editing.
Try searching for "path" or "track" or any other that is dashed i.e.
you should find something like this or similar:
<rule e="way" k="highway" v="footway|path" zoom-min="12">
<line stroke="#707070" stroke-width="0.6" stroke-dasharray="5,5" stroke-linecap="butt" />
</rule>

and then delete stroke-dasharray="5,5"
And you will get solid lines. :)
#30
You want to change colour of pathss or roads?