- AutorBeiträge
- Januar 3, 2018 um 22:49 Uhr #21936hyperknotTeilnehmer
I’m making a specialised theme for pilots (paraglider, sail plane, etc.) for using OpenAndroMaps maps.
I’m tweaking the VTM’s default theme and progressing well so far, but some details are specific to OpenAndroMaps and I’d like to ask for help with them.
How can I filter for the following:
– power lines, of all kind
– cable car or alpine hut’s food lift
– wind turbines
– millitary shooting range
– air fieldsCan I find these in Elements or Elevate?
Zsolt
Januar 3, 2018 um 23:19 Uhr #21938TobiasAdministratorHow can I filter for the following:
– power lines, of all kind
– cable car or alpine hut’s food lift
– wind turbines
– millitary shooting range
– air fieldsYou can find what’s contained in the maps here:
https://www.openandromaps.org/map-basics-2/tag-mapping
Some stuff is transformed:
https://www.openandromaps.org/map-basics-2/tagtransform
There might be a lot of stuff which would be interesting for pilots that isn’t contained. As these are cycling and hiking maps, our focus lies there to keep map size and creating manageable.Developer of Elevate mapstyle
Januar 4, 2018 um 00:42 Uhr #21942hyperknotTeilnehmerI’m progressing in slow steps.
1. Is this the right query to get all power lines?
<m e=“way“ k=“power“ v=“line“>
<line stroke=“#ff00f6″ stroke-dasharray=“20,10″ stroke-linecap=“butt“ stroke-width=“3.0″/>
</m>
<m e=“way“ k=“power“ v=“minor_line“>
<line stroke=“#ff00f6″ stroke-dasharray=“20,10″ stroke-linecap=“butt“ stroke-width=“1.0″/>
</m>2. I’m trying to get k=“generator:source“ v=“wind“, but it seems that they are missing from OpenAndroMaps. Even with Elements and Elevate, which contain these lines, the wind turbines are missing.
Can you check what is happening here? Overpass turbo is listing them properly.
http://overpass-turbo.eu/s/ucEJanuar 4, 2018 um 09:18 Uhr #21944ChristianKAdministratork=“generator:source“ v=“wind“, but it seems that they are missing from OpenAndroMaps
Its included in the tag-mapping for both node and way:
<osm-tag key='generator:source' value='wind' zoom-appear='14' />
Not all elements (tags) included in the OpenAndroMaps are rendered by the elements/elevate theme.
However – if a tag is included in the tag-mapping you can included it in the rendertheme too – just make an icon and add the rule to the theme.You find the tag-mapping and changelog here:
https://www.openandromaps.org/en/map-basics-2/tag-mappingBest regards
ChristianJanuar 4, 2018 um 14:11 Uhr #21949hyperknotTeilnehmerHi Christian,
I am trying to do exactly that, but somehow it doesn’t work.
I have this in my file:
<m e="node" k="generator:source" v="wind"> <symbol src="file:symbols/peak.svg"/> </m>
Yet, the ones in this map just doesn’t display:
http://overpass-turbo.eu/s/ucEMoreover, I see
<rule e="any" k="generator:source" v="wind"> <symbol id="s_power_wind" src="file:ele_res/s_power_wind.svg" symbol-height="16" symbol-scaling="size" symbol-width="16"/> <rule e="any" k="*" v="*"> <caption fill="#734A08" font-size="10" font-style="bold" k="name" position="above" stroke="#E5FFFFFF" stroke-width="2" symbol-id="s_power_wind"/> </rule> </rule>
In Elements, and even with Elements those just do not display. I tried on all zoom levels. Can you check what is going there? Am I doing something wrong, or those nodes are possibly missing from the OAM map?
Januar 4, 2018 um 16:54 Uhr #21953TobiasAdministratorI’m progressing in slow steps.
1. Is this the right query to get all power lines?
<m e=“way“ k=“power“ v=“line“>
<line stroke=“#ff00f6″ stroke-dasharray=“20,10″ stroke-linecap=“butt“ stroke-width=“3.0″/>
</m>
<m e=“way“ k=“power“ v=“minor_line“>
<line stroke=“#ff00f6″ stroke-dasharray=“20,10″ stroke-linecap=“butt“ stroke-width=“1.0″/>
</m>As I don’t know the syntax for VTM themes I can’t help here. As long as you use the right values provided in tag-mapping mentionend above everything should work if you use the right syntax.
2. I’m trying to get k=“generator:source“ v=“wind“, but it seems that they are missing from OpenAndroMaps. Even with Elements and Elevate, which contain these lines, the wind turbines are missing.
Wind generators have been in the maps for a long time and were also displayed with Elevate. But there is a current issue with the latest maps discussed here:
https://www.openandromaps.org/en/oam-forums/topic/missing-stuff/page/2/#post-21438
Christian, can you have a look at it?Developer of Elevate mapstyle
Januar 4, 2018 um 17:02 Uhr #21955ChristianKAdministratorStrange, these generator:source=wind should appear but they dont…….
There is not ONE tag in the map_file.I will take a look at this issue
Januar 4, 2018 um 17:16 Uhr #21957ChristianKAdministratorFound – a real stupid bug related to tag_cleanup for POIs
OK, I have cleared this issue and restarted the Jannuary update of the maps.Sorry
Christian1 Teilnehmer(n) gefällt dieser Beitrag
- AutorBeiträge
- Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.