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

#76
I actually use this
<rule e="way" k="network" v="icn|ncn|rcn|lcn" zoom-min="17">
   <caption k="ref" font-style="bold" font-size="13" fill="#FFFFFF" scale-font-size="11,1.1"
            bg-rect-fill="#0026ff" bg-rect-stroke="#FFFFFF" bg-rect-over="3" bg-rect-stroke-width="2" bg-rect-rounded="4" />
    </rule>   

That's weird, on the map I posted earlier I see names and on the original locus map I see refrences. I wonder what is it causing?
#77
Ok, so I "made" a profile which renders bicycle routes in specific colours.
Actually I edited few other themes, copy pasted here and there and here we are :)
There are NO hiking routes in this profile. It is bicycle specific. If you want hiking routes switch to different profile.
At small zoom you can see network specification (icn,nsn and rcn)
At high zoom you can see coloured routes according to colour=* tag.

I have a problem with displaying a ref tag. For example, I tried to display ref from icn network - the name:en=* tag is displayed instead. It takes lots of screen because the name is long, and the ref is correct, I chceck in JOSM.I don't know how to solve this yet.


Actually it only works with the map from this website:

http://www.gmaptool.eu/pl/content/locus-polska-osm


       

and the profile, just for tests...it's not finished yet!
I'm a newbie so please be patient :)
#78
Great! Is it possible to generate a small region by myself so I can make testing? Some bicycle routes are still missing colours so I want to fix everything to make it look nice and smooth.
#79
Ok, I will create a theme based on network just for tests. I was wondering how often is the map refreshed? I downloaded one from Locus Store and it's dated in March...Is it possible to refresh it somehow? Or this is made only by Locus Team?

EDIT:
I tried this combination but it didn't work:

<rule e="way" k="name" v="*EuroVelo 10*" zoom-min="14">
            <lineSymbol src="file:/symbols/EuroVelo10.svg"  />
         </rule>

Is it possible to use that kind of rule to extract part of text from relations name?
#80
jusc, I already tested it and it works but the situation is a little bit different. For example we have a network of rcn routes which are colour coded in different colours.
If you have a look here:
http://cycling.waymarkedtrails.org/pl/?zoom=10&lat=54.53323&lon=18.37414&hill=0.53&base=0.505&route=1#routes
Extend the list of bicycle routes and you will see some regional routes :

Niebieski Szlak Rowerowy Gdynia - Gdańsk means Blue Bicycle Route
Czerwony Szlak Rowerowy Wokół Długiej Góry - Red Bicycle Route
Zielony Szlak Rowerowy Rumia - Wejherowo - Białogóra - Green Bicycle Route

As you can see they are all regional routes but marked in different colours. So we need a colour tag anyway :)

I was thinking if it's possible to add the signes you send link to for international networks. For example for route Eurovelo R10 we should see a nice R10 sign on the route. I think it should be connected with the name of route but I'm not exactly sure. Still R10 in Poland is coloured green, don't know how it is in different countries. But this is a second step for this theme :)

I hope you understand what I mean.

EDIT.
I'm also a osm editor so some colour tags may be missing I will test and add them into routes. The question is which tags should I use: colour=blue or colour=hex num?
#81
Ok I get it :)
I made some experiments yesterday and I was able to see bicycle icons on routes but not according to colour, according to icn,lcn tags :)
Ok, so I juest have to wait for a map update, when can I expect it?
Thanks in advance.

#82
Thanks !
I tried to add this lines to internal themes but when selecting it in locus maps keeps on loading and loading...and don't load:) I tried with internal vector maps and with andromaps as well :( What should I do??

edit
And here's the theme in the link, I added the lines into XML file and copied SVG into symbols folder.
Still loading and loading....

Edit:
Here in Poland we classify bicycle routes with icn,rcn, lcn etc but in real life they are marked with signs jusc already posted. My idea is to create a separate theme which will cosider only colours not the clasification icn,lcn etc.

Just let me know if you can add it, then I will create a theme for polish cyclists :) I hope many will be satisfied.
Thanks!
#83
Quote from: voldapet on June 12, 2014, 13:07:32
You're right Locus vector map and internal themes show symbol only for hiking track and symbol are generated from osmc_symbol tag. http://wiki.openstreetmap.org/wiki/Key:osmc:symbol

If you're interested in I can add "colour" tag into map so you can create own theme that will be possible to change the symbol based on the colour tag. But I can not add all possible colour only some specified list. For example 16 based color http://wiki.openstreetmap.org/wiki/Key:colour

BTW: do you know if osmc_symbol tag is also used for route=bicycle?

*EDIT*
I forgot to mention that you can also user track from Trail.pl. Open Locus > Menu > Web services > Trail.pl

Trail.pl does not offer all official bicycle routes. I prefer to use OSM bicycle routes. Could you create one based on colour? 16 colours is fine and symbol would be nice as well.

edit
Here's an example of colour rendering without icons. Full name of route should appear on map as well!
http://osmapa.pl/w/szlaki/?lat=54.51961&lon=18.49805&zoom=14&ol=B
#84
It works only for hiking routes.
I wanted to add custom icons with bicycle and a colour of route. Most of the bicycle routes in Poland have tag color=red (example).
Is it possible to create?
Thanks! :)
#85
Here's a theme that is focused on bicycle routes in Poland.
It works with Popej's map which is availible here:

http://www.gmaptool.eu/en/content/locus-poland-osm

It is still being developed so if you have any feature suggestions please post it.



Installation:
Unpack to Locus>mapsVector>Themes








#86
Oh that's a shame. But I can live with that ;)
edit
I was driving south for about 400 km and labels were upside down almost all the time...It would be nice if at least some labels could rotate.
#87
Is it possible on vector maps? Sometimes I see labels upside down...
Cheers...
#88
Ok, I willl have a look into that.
#89
Very nice. I just tried it, using it here in Poland, cheers.
#90
Ok here is a quick update. Version 1.1.

-added track record panel on the left
-small modifications (check yourself)

Please enable auto-hide of top and bottom panel for full compatibility. It's good to hide the right panel as well (I keep it hidden).You can also modify this dashboard for your needs!

Supported resolution is 1280x720 (Xperia S). Please report other working resolutions

LINK:

http://www41.zippyshare.com/v/22297117/file.html

SCREENSHOTS:

http://imgur.com/a/QfIdO

Wojtas