-
AutorBeiträge
-
Februar 22, 2019 um 09:00 Uhr #27182TobiasAdministrator
I know that piste relations are missing in the map. What other tags are not there?
A lot, winter map style would mean more than alpine skiing:
http://wiki.openstreetmap.org/wiki/Key:piste:type
http://wiki.openstreetmap.org/wiki/Winter_sports
http://wiki.openstreetmap.org/wiki/Piste_Maps
All of those tags would have to be analyzed and added to the maps. But the render machine is already at its limits, and there’s also a 15 tag per item limit for mapsforge maps. So we stay focused on what these maps are made for – cycling and hiking (there were wishes for water sports, horse riding or public transport map styles which were also denied).Developer of Elevate mapstyle
1 Teilnehmer(n) gefällt dieser Beitrag
Februar 22, 2019 um 12:23 Uhr #27186AnonymInaktivI see, thank you for your clarification.
I would start following Martin’s approach (i.e. adding a map style to the current version of Elevate), and then move on to a full fork.
Is there some documentation describing the process and tools you’re using? I’ll need to remove the data and rules I don’t need, and add what I need that is missing.
Are all the components of your project available and licensed under the CC-BY-SA? Do I need some written authorisation to get and modify them?
Thanks again!
Februar 23, 2019 um 22:52 Uhr #27213TobiasAdministratorIs there some documentation describing the process and tools you’re using?
There is no real documentation, the most important links are these:
https://github.com/mapsforge/mapsforge/blob/master/docs/Rendertheme.md
https://github.com/mapsforge/mapsforge/blob/master/resources/renderTheme.xsd
Every text editor which highlights XML is fine, like Notepad++ or PS Pad, the first one can also validate against the xsd.
For testing it makes sense to use Cruiser on the desktop.
Try google translate on this thread, here is the most important information gathered:
https://www.openandromaps.org/oam-forums/topic/grundorientierungAre all the components of your project available and licensed under the CC-BY-SA? Do I need some written authorisation to get and modify them?
It’s CC-BY-NC-SA. If you want to modify and publish a theme based on Elevate, your theme has to use CC-BY-NC-SA as well, but you don’t need authorisation. I used symbols from other sources, all licenses can be found in the Elevate read_me or here:
https://www.openandromaps.org/wp-content/users/tobias/licenses.txtDeveloper of Elevate mapstyle
1 Teilnehmer(n) gefällt dieser Beitrag
Februar 24, 2019 um 20:55 Uhr #27217LothiTeilnehmerHi
I like the elevate-winter very much. Is there a possibility to make the lines representing the lifts a little bit thicker? Can this be done by changing some parameters of the winter xml file?
Thanks a lot for all your really great job!Februar 26, 2019 um 21:16 Uhr #27258Jean-MarieTeilnehmerBeim Zoom Level 13 ist die Farbe der Skipisten sehr klar (Bild 2).
Ab Zoom Level 14 und höher kommen mehr Details, dadurch werden die Farben der Piste nicht mehr so brillant und sind blass.
Ein scharfes und helles Bild ist sehr wichtig bei greller Sonne.
Wo könnte ich das ändern in der XML Datei, dass ab Level 14 und höher nicht mehr die kleinen Details erscheinen.
Hi Jean Marie, can we communicate in English?
That light pale blue colour superimposed to the slopes comes out from this rule:
<!– Crayon Syntax Highlighter v_2.7.2_beta –>
<link href=“https://cdn.openandromaps.org/wp-content/plugins/crayon-syntax-highlighter/themes/classic/classic.css“ rel=“stylesheet“ type=“text/css“>
<link href=“https://cdn.openandromaps.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css“ rel=“stylesheet“ type=“text/css“><span class=“crayon-title“></span><textarea class=“crayon-plain print-no“ style=“line-height: 15px !important; overflow: hidden; font-size: 12px !important; z-index: 0; opacity: 0; tab-size: 4; -moz-tab-size: 4; -o-tab-size: 4; -webkit-tab-size: 4;“ wrap=“soft“ readonly=““ data-settings=“dblclick“>[crayon-5c759a16ec34d895365100 inline=“true“ ]
<rule cat=“downhill_routes“ e=“way“ k=“piste:type“ v=“downhill“ closed=“yes“ zoom-min=“14″>
<line stroke=“#5598F5FF“ stroke-width=“1.2″ />
<area fill=“#5598F5FF“ />
</rule></textarea><table class=“crayon-table“>
<tbody><tr class=“crayon-row“>
<td class=“crayon-nums “ data-settings=“show“>12345</td>
<td class=“crayon-code“><span class=“crayon-sy“>[</span><span class=“crayon-v“>crayon</span><span class=“crayon-o“>-</span><span class=“crayon-cn“>5c759a16ec34d895365100</span><span class=“crayon-h“> </span><span class=“crayon-v“>inline</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“true“</span><span class=“crayon-h“> </span><span class=“crayon-sy“>]</span><span class=“crayon-o“><</span><span class=“crayon-e“>rule </span><span class=“crayon-v“>cat</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“downhill_routes“</span><span class=“crayon-h“> </span><span class=“crayon-v“>e</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“way“</span><span class=“crayon-h“> </span><span class=“crayon-v“>k</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“piste:type“</span><span class=“crayon-h“> </span><span class=“crayon-v“>v</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“downhill“</span><span class=“crayon-h“> </span><span class=“crayon-v“>closed</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“yes“</span><span class=“crayon-h“> </span><span class=“crayon-v“>zoom</span><span class=“crayon-o“>-</span><span class=“crayon-v“>min</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“14″</span><span class=“crayon-o“>></span><span class=“crayon-h“> </span><span class=“crayon-o“><</span><span class=“crayon-e“>line </span><span class=“crayon-v“>stroke</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“#5598F5FF“</span><span class=“crayon-h“> </span><span class=“crayon-v“>stroke</span><span class=“crayon-o“>-</span><span class=“crayon-v“>width</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“1.2″</span><span class=“crayon-h“> </span><span class=“crayon-o“>/</span><span class=“crayon-o“>></span><span class=“crayon-h“> </span><span class=“crayon-o“><</span><span class=“crayon-e“>area </span><span class=“crayon-v“>fill</span><span class=“crayon-o“>=</span><span class=“crayon-s“>“#5598F5FF“</span><span class=“crayon-h“> </span><span class=“crayon-o“>/</span><span class=“crayon-o“>></span><span class=“crayon-o“><</span><span class=“crayon-o“>/</span><span class=“crayon-v“>rule</span><span class=“crayon-o“>></span></td>
</tr>
</tbody></table><!– [Format Time: 0.0018 seconds] –>
[/crayon]
that applies to pistes mapped as areas. The last FF in color code #5598F5FF means 100% alpha transparency, while 5598F5 is a light blue.To me would be better to render areas with the colour that corresponds to the piste difficulty–at least when the area has a difficulty tag, which is best practice by the way. That approach would be consistent with OpenSnowMap for instance.
I would apply Martin’s rules to a current Elevate style. But I’d merge the winter rules into the standard style, rather than having a fork. What do Tobias and other contributors think?
Hallo Solitone,
Ich kann leider kein Englisch und konnte Dir leider keine schnelle Antwort geben den ich war Schifahren.
Danke für die Information über Area Kode #5598F5FF aber in der Datei ist schon der Kode #5598F5FF.
Gibt’s ein Kode für Weiß da würden die Farben sicher besser aussehen beim Zoomen als dieses blau.
KANN MIR JEMAND HELFEN!?
Mit Windows kannst Du „RouteConverterWindows Offline Prerelease Version 2-26“ und die OpenAndroMaps offline nutzen um die Elevate zu prüfen.
Anbei Martin Elevate mit schmalen Skipisten.
Jean-Marie1 Teilnehmer(n) gefällt dieser Beitrag
Februar 27, 2019 um 07:46 Uhr #27261AnonymInaktivSorry if I can’t speak German. I’m not sure whether your issue is the pale blue transparent colour pointed out by the purple arrows in the following picture:
If this is your issue, as I wrote in a previous message, it is caused by a rule in the XML theme that renders pistes mapped as areas. Compare it with the red piste pointed out by the green arrow–in that case there is no piste area superimposed to the piste way, it is mapped as a simple piste way.
I’m attaching a new version of the elevate-winter theme, where I’ve commented out the section for that rule. The result is shown in the following picture:
Is this what are you looking for?
1 Teilnehmer(n) gefällt dieser Beitrag
Februar 27, 2019 um 08:26 Uhr #27267LothiTeilnehmerHi Solotone
I have modified the elevate-winter a little bit to show also the lifts and their names in a size which is well readable when skiing, see attached file. This shows the pists from zoom level 13 on so that you can get a fast overview on the piste plan.
I have still 2 problems, which I was not able to solve:
Their are some lifts (e.g. in Arraba Portavescovo see attached screenshot), where the lift name is only shown in zoom level 15, but not in 14.Their seem to be 2 types of piste names. One type is not shown in zoom level 14 (see screenshot, where piste 9 is not shown in all sections of the piste). This is the repeated number along the piste. How can this be shown in zoom level 14.
Hope you can help me
Regards
Lothi1 Teilnehmer(n) gefällt dieser Beitrag
Februar 27, 2019 um 16:22 Uhr #27277Jean-MarieTeilnehmerSorry if I can’t speak German. I’m not sure whether your issue is the pale blue transparent colour pointed out by the purple arrows in the following picture:
If this is your issue, as I wrote in a previous message, it is caused by a rule in the XML theme that renders pistes mapped as areas. Compare it with the red piste pointed out by the green arrow–in that case there is no piste area superimposed to the piste way, it is mapped as a simple piste way.
I’m attaching a new version of the elevate-winter theme, where I’ve commented out the section for that rule. The result is shown in the following picture:
Is this what are you looking for?
Hello Solitone,
I am French and I use a translator to write you.
You are the best!
Many thanks for your work, that’s exactly what I was looking for.
Now I use the same application (BikeComputer) with the same maps for cycling and skiing.
THANK YOUFebruar 27, 2019 um 17:53 Uhr #27279Jean-MarieTeilnehmerHello Solitone,
The ski slopes appear from zoom 13.
Would it be possible to modify Elevate so that the ski slopes already appear from the zoom 10.
This makes it easier to find ski areas on a map.
Thank you in advance.
Jean MarieFebruar 27, 2019 um 20:46 Uhr #27283AnonymInaktivHi Lothi, names are kind of magic, I also sometimes notice that strange things happen. I haven’t focused on names yet, so for the time being I fear I can’t help. When I study the theme more deeply I hope we can find a solution. Maybe somebody else can clear things up a bit.
BTW, your rendering of lifts is very nice!
Februar 27, 2019 um 20:58 Uhr #27285AnonymInaktivHi Jean-Marie, good to know that I could help.
Regarding your next question on zoom levels, looking at the theme pistes should appear at zoom level = 9. Are you sure they appear at a higher zoom level instead?Februar 27, 2019 um 21:22 Uhr #27288Jean-MarieTeilnehmerHello Solitone and Lothi,
Thanks to you the theme Winter is coming back.
And the result of your work is much better than the professional applications „Winter“
Thanks again
Jean MarieFebruar 27, 2019 um 21:44 Uhr #27290AnonymInaktivCurrently I’m working on a rendering of piste areas like this.
1 Teilnehmer(n) gefällt dieser Beitrag
Februar 28, 2019 um 14:40 Uhr #27305AnonymInaktivIt’s CC-BY-NC-SA. If you want to modify and publish a theme based on Elevate, your theme has to use CC-BY-NC-SA as well, but you don’t need authorisation. I used symbols from other sources, all licenses can be found in the Elevate read_me or here:
https://www.openandromaps.org/wp-content/users/tobias/licenses.txtCan I include in my project both mapsforge schemas (licensed under GPLv3) and render themes based on Elevate (licences under CC BY-NC-SA 4.0), and package everything under the CC BY-NC-SA license? Aren’t CC BY-NC-SA and GPL incompatible? Sorry if I ask, but I don’t have a clear idea regarding legal issues.
Februar 28, 2019 um 20:44 Uhr #27369Jean-MarieTeilnehmerThis reply has been marked as private. -
AutorBeiträge
- Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.