Locus Map - forum

Content & Tools => Maps => Topic started by: jurajs on April 22, 2012, 16:04:18

Title: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 22, 2012, 16:04:18
Quote
Maps for download presented in this post are rarely updated these days, because i became too lame to keep them fresh. :) But don't get upset. You can still find many interesting information, guides, hints and hopefully also latest news in this thread.

For regulary updated vector maps you can:
-  buy them in locus shop directly or also
-  download maps for free from openandromaps.org
(don't forget to buy a beer to kech61, he is doing great job).

Hi there.

Just to use these maps you will need:
- render theme(s) that supports elevation tags (e.g. http://forum.asamm.cz/viewtopic.php?f=40&t=1871 (http://forum.asamm.cz/viewtopic.php?f=40&t=1871))
- vector map made with elevation data (e.g. some maps are available at the bottom of this post in "Maps for download" section)
- thats it !

Short description:
- here I describe briefly how to make mapsforge vector map(s) using original osm data along with srtm terrain elevation data. Final map tiles will be generated also with fancy terrain contour lines.
- i will share here also download links for some maps, so you can test/use it by yourself
- there are also themes available (read below)

Themes supporting these maps:
. [Theme] osmarender + terrain contours rules <!-- m -->http://forum.asamm.cz/viewtopic.php?f=40&t=1853 (http://forum.asamm.cz/viewtopic.php?f=40&t=1853)<!-- m -->
- [Theme] Volatile <!-- m -->http://forum.asamm.cz/viewtopic.php?f=40&t=1868 (http://forum.asamm.cz/viewtopic.php?f=40&t=1868)<!-- m -->
- [Theme] Hiking <!-- m -->http://forum.asamm.cz/viewtopic.php?f=40&t=1871 (http://forum.asamm.cz/viewtopic.php?f=40&t=1871)<!-- m -->
- [Theme] only_contours <!-- m -->http://forum.asamm.cz/viewtopic.php?f=40&t=1894 (http://forum.asamm.cz/viewtopic.php?f=40&t=1894)<!-- m -->

Guide to make your own map (v0.4_2012-05-08):
As an example i will write here how I managed to create a map of Slovakia as this was my really first more or less successfull attempt <!-- s;-) -->;-)<!-- s;-) -->

1. download and install osmosis, phyghtmap, mapsforge mapwriter plugin, srtmfill. get some osm map data from e.g. osm/cloudmade/geofabrik including polygon files, but I preffer my own "handmade" polygons with the smallest complexity possible for better processing speeds.
(computing time increases rapidly with complexity of polygon files, i don't recommend using files with size > 5KB)

2. download "tag-mapping.xml" and add there these lines. (needed for mapwriter)
Code: [Select]
   <!-- Elevation TAGS -->
   <ways>
      <osm-tag key="contour_ext" value="elevation_minor" zoom-appear="12" force-polygon-line="true" />
      <osm-tag key="contour_ext" value="elevation_medium" zoom-appear="12" force-polygon-line="true" />
      <osm-tag key="contour_ext" value="elevation_major" zoom-appear="12" force-polygon-line="true" />
      <osm-tag key="ele" value="100" zoom-appear="14" />
      <osm-tag key="ele" value="200" zoom-appear="14" />
      <osm-tag key="ele" value="300" zoom-appear="14" />
      <osm-tag key="ele" value="400" zoom-appear="14" />
      <osm-tag key="ele" value="500" zoom-appear="14" />
      <osm-tag key="ele" value="600" zoom-appear="14" />
      <osm-tag key="ele" value="700" zoom-appear="14" />
      <osm-tag key="ele" value="800" zoom-appear="14" />
      <osm-tag key="ele" value="900" zoom-appear="14" />
      <osm-tag key="ele" value="1000" zoom-appear="14" />
      <osm-tag key="ele" value="1100" zoom-appear="14" />
      <osm-tag key="ele" value="1200" zoom-appear="14" />
      <osm-tag key="ele" value="1300" zoom-appear="14" />
      <osm-tag key="ele" value="1400" zoom-appear="14" />
      <osm-tag key="ele" value="1500" zoom-appear="14" />
      <osm-tag key="ele" value="1600" zoom-appear="14" />
      <osm-tag key="ele" value="1700" zoom-appear="14" />
      <osm-tag key="ele" value="1800" zoom-appear="14" />
      <osm-tag key="ele" value="1900" zoom-appear="14" />
      <osm-tag key="ele" value="2000" zoom-appear="14" />
      <osm-tag key="ele" value="2100" zoom-appear="14" />
      <osm-tag key="ele" value="2200" zoom-appear="14" />
      <osm-tag key="ele" value="2300" zoom-appear="14" />
      <osm-tag key="ele" value="2400" zoom-appear="14" />
      <osm-tag key="ele" value="2500" zoom-appear="14" />
      <osm-tag key="ele" value="2600" zoom-appear="14" />
      <osm-tag key="ele" value="2700" zoom-appear="14" />
      <osm-tag key="ele" value="2800" zoom-appear="14" />
      <osm-tag key="ele" value="2900" zoom-appear="14" />
      <osm-tag key="ele" value="3000" zoom-appear="14" />
      <osm-tag key="ele" value="3100" zoom-appear="14" />
      <osm-tag key="ele" value="3200" zoom-appear="14" />
      <osm-tag key="ele" value="3300" zoom-appear="14" />
      <osm-tag key="ele" value="3400" zoom-appear="14" />
      <osm-tag key="ele" value="3500" zoom-appear="14" />
      <osm-tag key="ele" value="3600" zoom-appear="14" />
      <osm-tag key="ele" value="3700" zoom-appear="14" />
      <osm-tag key="ele" value="3800" zoom-appear="14" />
      <osm-tag key="ele" value="3900" zoom-appear="14" />
      <osm-tag key="ele" value="4000" zoom-appear="14" />
      <osm-tag key="ele" value="4100" zoom-appear="14" />
      <osm-tag key="ele" value="4200" zoom-appear="14" />
      <osm-tag key="ele" value="4300" zoom-appear="14" />
      <osm-tag key="ele" value="4400" zoom-appear="14" />
      <osm-tag key="ele" value="4500" zoom-appear="14" />
      <osm-tag key="ele" value="4600" zoom-appear="14" />
      <osm-tag key="ele" value="4700" zoom-appear="14" />
      <osm-tag key="ele" value="4800" zoom-appear="14" />
      <osm-tag key="ele" value="4900" zoom-appear="14" />
      <osm-tag key="ele" value="5000" zoom-appear="14" />
       <!-- .... etc ....  -->
   </ways> 

3. [you can skip this by downloading suitable theme]
use rendertheme of your choice and edit rule file ".xml". Add the following code just before waterways section. This edited file use as rendering theme for vector maps in your locus in order to display also terrain contour lines.
Code: [Select]

        <!-- contour lines level 12 -->
        <rule e="way" k="contour_ext" v="*" zoom-min="12" zoom-max="12">
           <rule e="way" k="contour_ext" v="elevation_minor">   
              <line stroke="#60800000" stroke-width="0.3"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.6"/>
           </rule>
        </rule>
        <!-- contour lines level 13 -->
        <rule e="way" k="contour_ext" v="*" zoom-min="13" zoom-max="13">
           <rule e="way" k="contour_ext" v="elevation_minor">   
              <line stroke="#60800000" stroke-width="0.2"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.5"/>
           </rule>
        </rule>
        <!-- contour lines level 14-->
        <rule e="way" k="contour_ext" v="*" zoom-min="14" zoom-max="14">
           <rule e="way" k="contour_ext" v="elevation_minor">   
              <line stroke="#60800000" stroke-width="0.15"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.4"/>
              <rule e="way" k="*" v="*">
                 <pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
              </rule>  
           </rule>   
        </rule>
        <!-- contour lines level 15-->
        <rule e="way" k="contour_ext" v="*" zoom-min="15" zoom-max="15">
           <rule e="way" k="contour_ext" v="elevation_minor" zoom-max="15">   
              <line stroke="#60800000" stroke-width="0.12"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.3"/>
              <rule e="way" k="*" v="*">
                 <pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
              </rule>
           </rule>
        </rule>
        <!-- contour lines level 16 -->
        <rule e="way" k="contour_ext" v="*" zoom-min="16" zoom-max="16">
           <rule e="way" k="contour_ext" v="elevation_minor">   
              <line stroke="#60800000" stroke-width="0.08"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.2"/>
              <rule e="way" k="*" v="*">
                 <pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
              </rule>
           </rule>
        </rule>   
        <!-- contour lines level 17 and above -->
        <rule e="way" k="contour_ext" v="*" zoom-min="17">
           <rule e="way" k="contour_ext" v="elevation_minor">   
              <line stroke="#60800000" stroke-width="0.06"/>
           </rule>
           <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">   
              <line stroke="#60800000" stroke-width="0.15"/>
              <rule e="way" k="*" v="*">
                 <pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
              </rule>
           </rule>
        </rule>

4. if you have prepared your environment correctly, run these commands, and you should end-up with map file created.

4.1 download and process the terrain data.
Code: [Select]
C:Python27Scriptsphyghtmap --polygon=E:OSMpolygonsslovakia.poly -o E:OSMsrtm-dataslovakia_srtm6 --source=view1,view3,srtm1,srtm3  -s 20 -c 200,100 --start-node-id=20000000000 --start-way-id=10000000000 --write-timestamp --max-nodes-per-tile=0
4.1.1 [highly recommended] after the pyghtmap has downloaded hgt elevation data, you can kill phyghtmap and use srtmfill utility to fix "null" data in hgt files (I had a lot of null/invalid data so i had to fix them all). before proceeding to next step you have to run phyghtmap command again so the osm file will be created from valid elevation data.

4.1.2 [better speed - not recommended] instead of --polygon option you can use -a in this step and cut the map polygon in next step with osmosis (processed in few seconds/minutes, but the result quality is worse).

4.1.3 [optional] you can cut-out the map area corresponding with polygon file used for processing the terrain data
Code: [Select]
osmosis --rx e:OSMosm-map-dataeurope.osm.bz2 --tee 1 --bp file="E:OSMpolygonsslovakia.poly" --wx e:OSMosm-map-dataslovakia.osm
4.2 [optional] sort is essential before merge (merge task is requiring all osm files sorted). proceed with this step for one or both files if you get errors during merge.
Code: [Select]
osmosis --rx e:OSMosm-map-dataslovakia.osm.bz2 --sort --wx e:OSMosm-map-dataslovakia.sorted.osm
4.3 merge both files together
Code: [Select]
osmosis --rx e:OSMosm-map-dataslovakia.sorted.osm --rx E:OSMsrtm-dataslovakia_srtm6.osm --merge --wx e:OSMosm-map-dataslovakia.merged.osm
4.4 create final map using mapsforge mapwriter plugin
Code: [Select]
osmosis --rx e:OSMosm-map-dataslovakia.merged.osm --mw file=e:OSMmapsforgeslovakia.ter.osm.map bbox=47.6,16.7,49.8,22.7 type=hd tag-conf-file=e:OSMtag-mapping.xml
Bugs:
- zoom level 12 and 13 doesn't generate well - probably a bug of mapsforge library (maps published after 8th of May are much better)
- elevation text is more likely displayed at zooms 16-17, but for zooms 14-15 is very rarely visible, although its defined

Maps for download:
(minor contour line steps are 20m, major line steps are 100m)

Europe:
France 2012-05-29 (1095 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7SGh5OWNKaVJsLVE (https://docs.google.com/open?id=0B3Ijv5irWwU7SGh5OWNKaVJsLVE)
Germany 2012-09-09 (728 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7X0Y3a0ItNjFjdHc (https://docs.google.com/open?id=0B3Ijv5irWwU7X0Y3a0ItNjFjdHc)

Europe (Custom regions):
Alps 2012-09-09 (631 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7bGtrNVctNHpSUjA (https://docs.google.com/open?id=0B3Ijv5irWwU7bGtrNVctNHpSUjA)
Austria+Switzerland 2012-09-09 (309 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7SHFpNFlNYjRkVW8 (https://docs.google.com/open?id=0B3Ijv5irWwU7SHFpNFlNYjRkVW8)
Baltic states (EE,LT,LV+Kaliningrad) 2012-09-09 (77 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhYjFsQXJPa1oxeU0 (https://docs.google.com/open?id=0B5YCQIJNF5XhYjFsQXJPa1oxeU0)
BeNeLux 2012-09-09 (369 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7d3liM2dGMDR0TjQ (https://docs.google.com/open?id=0B3Ijv5irWwU7d3liM2dGMDR0TjQ)
former Yugoslavia (SI,HR,SRB,BiH,MN,MC) 2012-09-09 (192 MB) https://docs.google.com/open?id=0B3Ijv5irWwU7NndLamVnM1ExUVE (https://docs.google.com/open?id=0B3Ijv5irWwU7NndLamVnM1ExUVE)
Greece, Albania, Cyprus 2012-09-09 (146 MB) https://docs.google.com/open?id=0B5YCQIJNF5XhUXd0aFBpd1BKN2M (https://docs.google.com/open?id=0B5YCQIJNF5XhUXd0aFBpd1BKN2M)
Iberian peninsula (ES,PT,AD,GI) + isles 2012-09-09 (387 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7OUQ5ZHhwUmZkV3c (https://docs.google.com/open?id=0B3Ijv5irWwU7OUQ5ZHhwUmZkV3c)
Italy + Malta 2012-09-09 (408 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7LU9KNmNQTk5hb0E (https://docs.google.com/open?id=0B3Ijv5irWwU7LU9KNmNQTk5hb0E)
Romania+Bulgaria 2012-09-09 (225 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7T0h2Qkd2bmRVZDg (https://docs.google.com/open?id=0B3Ijv5irWwU7T0h2Qkd2bmRVZDg)
Scandinavia (DK,NO,FI,SE)  2012-09-09 (689 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7NjFFUG5nLUcwMHc (https://docs.google.com/open?id=0B3Ijv5irWwU7NjFFUG5nLUcwMHc)
UK+Ireland+Iceland 2012-09-09 (360 MB): https://docs.google.com/open?id=0B3Ijv5irWwU7TDBsQzhKN1VnTjg (https://docs.google.com/open?id=0B3Ijv5irWwU7TDBsQzhKN1VnTjg)
Visegrád Group (CZ,SK,PL,HU) 2012-09-09 (399 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhZjlKQUVvNHNncHc (https://docs.google.com/open?id=0B5YCQIJNF5XhZjlKQUVvNHNncHc)

Asia (Japan):
(Japan-parts.png https://docs.google.com/open?id=0B5YCQIJNF5XhY09oNnJiNmNsMWM (https://docs.google.com/open?id=0B5YCQIJNF5XhY09oNnJiNmNsMWM))
Hokkaido 2012-05-19 (58 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhblduWDZ3M3pqTDQ (https://docs.google.com/open?id=0B5YCQIJNF5XhblduWDZ3M3pqTDQ)
Ryukyu islands and Pacific islands 2012-05-14 (8 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhU2lqaWdVRDNvamc (https://docs.google.com/open?id=0B5YCQIJNF5XhU2lqaWdVRDNvamc)
Honshu 2012-05-?? (??? MB): cancelled...
Shikoku 2012-05-19 (37 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhbmE5MkRWWTFSeVE (https://docs.google.com/open?id=0B5YCQIJNF5XhbmE5MkRWWTFSeVE)
Kyushu 2012-05-26 (72 MB): https://docs.google.com/open?id=0B5YCQIJNF5XhY2RhbmFyVVhmVkE (https://docs.google.com/open?id=0B5YCQIJNF5XhY2RhbmFyVVhmVkE)

if you are missing something, try to make a wish <!-- s;-) -->;-)<!-- s;-) -->

europe regions maps available for download here are created according to these polygons: 
(http://forum.locusmap.eu/download/file.php?id=986&mode=view)

*** starting from 8th May, new tag-mapping.xml ruleset will be used to create maps***
so you can adjust your themes accordingly. hiking (v0.3) theme will be updated too.
Code: [Select]
<osm-tag key="highway" value="bus_stop" zoom-appear="15" />
<osm-tag key="amenity" value="cafe" zoom-appear="16" />
<osm-tag key="amenity" value="drinking_water" zoom-appear="15" />
<osm-tag key="amenity" value="fast_food" zoom-appear="16" />
<osm-tag key="amenity" value="parking" zoom-appear="16" />
<osm-tag key="amenity" value="pharmacy" zoom-appear="16" />
<osm-tag key="amenity" value="place_of_worship" zoom-appear="15" />
<osm-tag key="amenity" value="pub" zoom-appear="16" />
<osm-tag key="amenity" value="restaurant" zoom-appear="15" />
<osm-tag key="shop" value="supermarket" zoom-appear="15" />
<osm-tag key="railway" value="halt" zoom-appear="15" />
<osm-tag key="railway" value="tram_stop" zoom-appear="15" />
<osm-tag key="tourism" value="alpine_hut" zoom-appear="14" />
<osm-tag key="tourism" value="attraction" zoom-appear="16" />
<osm-tag key="tourism" value="hostel" zoom-appear="15" />
<osm-tag key="tourism" value="hotel" zoom-appear="15" />
<osm-tag key="tourism" value="information" zoom-appear="15" />
<osm-tag key="tourism" value="museum" zoom-appear="16" />
<osm-tag key="tourism" value="viewpoint" zoom-appear="15" />
<osm-tag key="historic" value="memorial" zoom-appear="16" />
<osm-tag key="historic" value="monument" zoom-appear="16" />

see also some screenshots in attachment.
any feedbacks welcome.

Resources used:
http://oruxmaps.foroactivo.net/t2216-co ... xmapsforge (http://oruxmaps.foroactivo.net/t2216-contourlines-added-for-oruxmapsforge) (thanks to kech61 for first kick)
http://katze.tfiu.de/projects/phyghtmap/ (http://katze.tfiu.de/projects/phyghtmap/)
http://wiki.openstreetmap.org/wiki/Osmarender/Rules (http://wiki.openstreetmap.org/wiki/Osmarender/Rules)
http://wiki.openstreetmap.org/wiki/Srtm2Osm (http://wiki.openstreetmap.org/wiki/Srtm2Osm)
http://downloads.cloudmade.com/ (http://downloads.cloudmade.com/)
http://download.geofabrik.de/ (http://download.geofabrik.de/)
http://3dnature.com/srtmfill.html (http://3dnature.com/srtmfill.html)

### this post will be edited from time to time, so please check it sometimes for updates, improvements and fixes ###
last update: 2012-09-09 22:41
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on April 22, 2012, 17:25:52
Very nice. Thank you for your work.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on April 22, 2012, 19:57:22
jurajs very very nice. May you inform me about results? Compare time to generate such map vs classic method. Same for result size ...

Also should I theoretically use your method for generating whole world for Locus with contour lines?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 22, 2012, 20:23:22
@menion:
I'll be glad if you can use any of these resources and steps from my guide. actually, it wasn't all my own skills... I have stolen a lot of knowledge from internet ;-) but i guess i took the best from all the resources found out there. please let me know how can i forward some examples and all the commands acually used (if you are interested).

please have in mind that this is just first draft (the first worthy to publish), there are many many things to improve. e.g. the problem with "missing" contour lines around the map border. also the way how are the captions showing altitude on the lines is not clear enough to me. only on the zoom level 17+ is quite OK. i am sure that you guys can point-out many of that weaknesses and possibly also imporvments ;-)

J.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on April 22, 2012, 20:27:32
I'm aware of it, don't worry. I don't want to just right now start generating new maps with contours :). "Problem" is that I spend too much time work on locus itself, so I'm not sure if I'll be able to help make this system better. We'll see. Anyway I think that if generating will work correctly in the end, it should be really a massive improvement for tourist usage of MapsForge maps not even in Locus. And because here is so many skilled people like you, I'm sure result will be impressive ;)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 26, 2012, 00:10:20
1st post is now updated with actual informations...

made some progress last days
-maps looks slightly better
-problem with bad/incomplete data near map borders is history

I'll be glad if someone could test it and write some comments/feedback
stay tuned and enjoy...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 28, 2012, 13:14:03
Some new maps added (see 1st post) including czech republic, chroatia, poland, hungary, etc... now it's processing a map of germany, austria, switzerland and serbia. I am planning to make and share most of the europe. If you have a hint or a special wish, just let me know.

j.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on April 28, 2012, 18:12:49
@jurajs,
perfekt, thank you very much. Can´t wait until Germany is ready.  :mrgreen:

Klick on the screen for better preview.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 29, 2012, 18:54:56
Hello,

this topic is about what I was waiting for a long time: contour lines for vector maps. But why not use the new Locus feature which makes possible to overlay maps. I would find it much easier to generate contour lines as a separate layer because they don't need to be updated like the maps. So you could have the mapsforge maps as one layer and the contour lines as another. Unfortunately I don't know nothing about generating maps, but perhaps someone in this forum does and could provide those contour line maps?

Thanks Joachim
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on April 29, 2012, 19:01:41
very interesting idea but have one big issue - MapsForge library cannot handle two map files at once. I also blocked this in Locus & Map overlay (but there is small problem that this protection do not work correctly), so what you say is not currently possible
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 29, 2012, 19:19:05
What a pity! So I hope someone (maybe you, Menion?) will provide and update the mapsforge maps including contour lines, because this is a very big step towards perfect nice topographic maps to be used for biking, hiking and so on.

Thanks all of you for your work. It's such a benefit for people like me who just want to use those maps.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 29, 2012, 19:25:54
hi joa

i don't see this as a big problem... i guess the menion will include this maps in his map generating schedule and the problem with updating is gone. of cousre the part of data containing the contour lines doesn't need to be updated as frequently as map layer. terrain can be done just once and when new map files are updated, only merge with terrain data is needed. the merging is not that time consuming. nobody can expect that it will be updated weeky as it is on mapsforge download site, but who knows... maybe it will become standard some time ;-)

the size of the maps is bigger cca from *1.2 to *3.0, depending on how hilly the area is. i guess this is not that big obstacle too, because the size is still pretty reasonable.

and the last thing... you can still see the original map without contour lines just by using original render theme. when you need to see also the terain, you can select "edited" theme that displays also elevation contour lines.

@menion: thanks to joa i got another idea regarding overlays ;-) I'd like to see a fancy relief shading as a overlay to vector maps with contour lines. what do you think about this idea, would that be possible ? and... is somewhere out there a possibility to download just that terrain shade tiles ? or some guide how to do that ? ;-) damn i'm horny about that ;-)

btw: NL, AT, BE will be out there soon ...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 29, 2012, 19:53:12
Thanks jurajs, this makes me hopeful. But I'm just facing another problem: I can't see the contour lines. I just downloaded two of your maps (Luxembourg and Bosnia-Hercegovina) to see how it looks like, but on my device (Sony Ericsson Xperia active, Android 2.3) no contour lines are displayed, it's just the normal mapsforge maps. In the maps settings I can still choose the "osmarender" theme, nothing else. What's wrong? I'm using Locus 2.3.0.

Thanks Joachim
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 29, 2012, 19:56:30
@joa

open this link viewtopic.php?f=40&t=1853 (http://forum.asamm.cz/viewtopic.php?f=40&t=1853) and follow the instructions how to "install" the theme.

j.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 29, 2012, 19:59:00
just one more remark: make sure that you have your locus updated.

edit: i'm blind.... 2.3.0 is ok ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 29, 2012, 20:01:52
Sorry, just found it by myself. I should have read the topic more thoroughly. Now it works and looks real nice!!! I'm very curious on Germany.
Thanks so much for your work.

Joachim
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on April 30, 2012, 07:05:14
Quote from: "jurajs"
hi joa

i don't see this as a big problem... i guess the menion will include this maps in his map generating schedule and the problem with updating is gone...

yes, I also think this will be best. Maybe generating two version with/without lines so people may choose. But this later after I'll test it by myself
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 30, 2012, 09:29:19
@menion: if you will do that (and I'd appreciate that very much) could you please include a map for whole Germany then. Mapsforge provides that (it's about 700 MB which is in my opinion not too much; o.k. with contour lines it will be a little more) and it's much better to handle than the separate "Bundeslaender". I'm using the mapsforge version of whole Germany but of course it's without contour lines.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 30, 2012, 09:46:44
@joa: you can expect my version of germany tomorrow or the day after. computing of contour lines takes a lot of time (3 days on 100% cpu so far) when i want to achieve perfect results. i expect that the final size will be somewhere around 1.2-1.5 gig.

now i am going to play with theme settings to get even better graphical output of the contour lines lines. i'll keep you updated.

btw: sooner or later i will reach my 5gb quota on my gdrive - is someone able to provide some online storage for uploading and sharing my maps ?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joa on April 30, 2012, 10:20:32
jurais, I understand that perfectly. It was just a hint for menion, if he will do the regular maps generating and updating (some day), that he'll hopefully make that whole germany map version, as till now there are only the "Bundeslaender"-parts. What you do is absolutely great development work, but you said by yourself that you won't make the regular updating work.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 30, 2012, 10:24:14
@joa: i can ... if someone has a wish. scripts are prepared. ;-)

@all: check for updated theme
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on April 30, 2012, 10:58:21
joa: maps of whole germany is already in Locus for download (more then month)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on April 30, 2012, 19:04:53
Quote from: "jurajs"
Some new maps added (see 1st post) including czech republic, chroatia, poland, hungary, etc... now it's processing a map of germany, austria, switzerland and serbia. I am planning to make and share most of the europe. If you have a hint or a special wish, just let me know.

j.
Will your maps of Spain and Portugal include the islands as well? If not this is a wish from my side.
Thank you very much for your effort!

Quote from: "jurajs"
btw: sooner or later i will reach my 5gb quota on my gdrive - is someone able to provide some online storage for uploading and sharing my maps ?
http://www.mediafire.com (http://www.mediafire.com) seems to work quite well. Though the file limit is 100MB you can easily split files (e.g. with rar) before upload and concatenate after download
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 30, 2012, 19:25:54
@tommi:
- added portugal to the processing queue.
- haven't checked if polygons contains also islands. we will see when finnished ;-) if not i can make the maps of islands in addition.
- mediafire? maaah... i rather create one more dummy google account just for storage ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on May 01, 2012, 17:59:36
Thanks for providing the information to get this working. Have finally got everything running fine on OS X, but one question, how long should phyghtmap take to process the data? i set it going 24 hours ago with the height data from iceland and its only processed 4 of the .hgt files..?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 01, 2012, 22:14:19
col,

well .. thats the price :-)
i cant tell how long does it take .... it depends on terrain complexity, data source used, and of course area. for example austria with view1 files took aproximately the same long as whole germany with srtm3 files.at my 3ghz i5 it was cca 4-5 days each

i guess its just a problem of not optimalized algorythm... already politely wrote to developers of phyghtmap for advise or fix. ;-)

j.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 01, 2012, 22:24:31
whole germany is out.

FOR TESTING ONLY !!! WORKING, BUT FOR SURE IT'S CORRUPTED IN SOME WAY.

During map creation I had some warnings that quite a bunch of polygons has been skipped because of node-id/way-id collisions after merge. I will try do make a new one soon but it will take probably another week to process.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 02, 2012, 07:46:57
Perhaps it would be easier to use the smaller region files of Germany ? (http://download.geofabrik.de/osm/europe/germany/ (http://download.geofabrik.de/osm/europe/germany/))
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 07:58:19
hmmmm... but i am not sure...
can somebody tell what actually these bloody messages mean ? maybe its something totally common and worth ignoring ;-)

Code: [Select]
mßj 02, 2012 7:53:56 AM org.mapsforge.map.writer.util.GeoUtils toJtsGeometry
WARNING: outer way of multi polygon is not a polygon, skipping it: 28232227
mßj 02, 2012 7:53:57 AM org.mapsforge.map.writer.util.GeoUtils toJtsGeometry
WARNING: outer way of multi polygon is not a polygon, skipping it: 160678280
mßj 02, 2012 7:53:58 AM org.mapsforge.map.writer.util.GeoUtils toJtsGeometry
WARNING: outer way of multi polygon is not a polygon, skipping it: 28232227
mßj 02, 2012 7:53:58 AM org.mapsforge.map.writer.util.GeoUtils toJtsGeometry
WARNING: outer way of multi polygon is not a polygon, skipping it: 160678280
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 02, 2012, 08:35:20
Maybe it is a problem of mapsforge renderer with polygons like this:  viewtopic.php?f=10&t=1767&p=11396&hilit=ijsselmeer#p11396 (http://forum.asamm.cz/viewtopic.php?f=10&t=1767&p=11396&hilit=ijsselmeer#p11396) ==> http://code.google.com/p/mapsforge/issues/detail?id=229 (http://code.google.com/p/mapsforge/issues/detail?id=229)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 10:15:20
damn thing...
I have googled a lot and searched many forum topics to find whats wrong, but i have failed to find any relevant info about that crap.

so may i ask you guys to test the map and look for any possible differences between map without contour lines data and this map ? maybe you will find it completely consistent. thanks
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 19:08:17
I have tired to create a map from regular osm file without contour lines, and i got the warnings too... anyone else is experiencing this ? maybe its ok after all ... ?!?!

btw: switzerland added (created from detailed view1 source)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on May 02, 2012, 19:26:04
all maps in Locus Shop are created with this "issue". I personally do not know what this mean but if this just mean that few roads will be cut on border, I think it's not a big problem. At least much smaller that many problems with water areas I see ...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 19:32:17
hmmmm ... i have an idea... many countries were ok. i guess that all landlocked were fine. there was an issue with germany, portugal, spain, etc....
but croatia (with so many islands and long coastline) is confusig me a lot because it was done without any problem.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 21:10:06
@jurajs
How big would be a vector map with only the contour lines in it?

If Locus could show this vector map with a contour theme on top of a "normal" map without countours with a different theme...

You only have to create that vector map once for a long time (hills don't change that often).
And if it is small enough it simple to download as a addon to the normal map.
And you don't have the time overhead for inserting the overlay every time you create a new vector map from the osm data.

Would it be possible to create a europe map with only the contour without getting hundred of megabytes?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 21:14:30
hey dude ;-)
borrow me a server with infinite computing power and tommorow its yours ;-)

back to your question: i guess it should be under 2GB when using strm3 source.
Title: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: druki on May 02, 2012, 21:32:20
Hi,
unfortunately I don't have such a server.
Idea: Is there a chance to rent a powerful server? I would spent at least 10 EUR for ready to use contour lines of europe. Anyone else?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 21:39:03
Quote from: "jurajs"
hey dude ;-)
borrow me a server with infinite computing power and tommorow its yours ;-)

back to your question: i guess it should be under 2GB when using strm3 source.

What I mean.
When its possible to overlay a vector contour map (with its own theme) on the fly in locus (on top of normal osm vector maps with another theme), why should you / or menion need to create maps that includes osm data and contour data in one map anymore?

Contours don't change. They could be created once, be put on the server. Users have to download them only once.
OSM data changes. Maps have to be recreated. Users have to download them again.

And the creation for a contour only map should be a lot faster then a map with osm+contour data?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 21:48:05
nice idea but....
menion have written down here (and i quote) : "MapsForge library cannot handle two map files at once."

.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 21:50:40
hmpf.

But he could run the library two times and put it on top of each other.
quad core phones are coming... :)
Title: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: druki on May 02, 2012, 21:55:42
Maybe there is an other way instead of map overlay? Support my idea and maybe let's find an alternative solution: http://gsfn.us/t/2pdnh (http://gsfn.us/t/2pdnh)
Title: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 02, 2012, 22:03:24
I like jurajs work,  because contour line maps have the possibility to add another (third) overlay like "hike or bike " overlay. So at last you have a map plus "2" overlays, that you can't have with a map without contour lines.

Gesendet von meinem GT-P1000 mit Tapatalk 2
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 22:04:04
somehow your link does not work for me on the pc. Only get me to the locus page on getsatisfaction.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 22:05:17
@jusc, for now you have only one layer to overlay.
I hope menion changes that and you could put as much layers on top of each other as you like or as your device can handle. :)
Title: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: druki on May 02, 2012, 22:23:52
Sorry, link was only for mobiles. I changed it to the short link provided in the getsatisfaction idea: http://gsfn.us/t/2pdnh (http://gsfn.us/t/2pdnh)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 02, 2012, 23:04:52
About this idea. Thats not bad. I had this idea about rendering hill shades on the fly in locus. But it would be a lot of work for menion I think.

For US there is 1° data available from nasa. And for some mountains you could get good hgt files too (http://www.viewfinderpanoramas.org/dem3.html (http://www.viewfinderpanoramas.org/dem3.html)). For other areas its more complicated...

for more info: viewtopic.php?t=1672 (http://forum.asamm.cz/viewtopic.php?t=1672)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on May 02, 2012, 23:17:28
I was already looking on on-the-fly hill shading but without support of OpenGL it's really suicide ... so for now sorry

about tow or move vec maps, it's not possible. MapsForge share some resources and app immediately crash. I should hack it in some way, but ... not sure if it worth it. I'll rather generate two sets of map (with and without contours) when whole system will work as we want
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 02, 2012, 23:18:29
dont forget that in nasa hgt files there is a lot of invalid or null data caused by e.g. cloud reflections. you have to use some correction tool like srtmfill otherwise the result will be really terrible.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 03, 2012, 07:49:31
Quote from: "brotbuexe"
@jusc, for now you have only one layer to overlay.
I hope menion changes that and you could put as much layers on top of each other as you like or as your device can handle. :)

You missunderstood  me :D
What I mean is, with a map without contour lines you can choose a contour line overlay (if there is any) or any other overlay, but not both.
So, if you want contour lines plus any other overlay, the only way in the moment is to take jurajs maps with the contour lines as base map.
So I wonder, why some people want a separate contour line overlay for the moment, as long there is only one overlay possible.

BTW: Overlays seem to use more accu power and CPU at least for me. Did anybody else notice it?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on May 03, 2012, 08:05:57
this is more then possible that overlays takes more CPU, because it's another map that have go through whole process of downloading, initailizing etc. Even if you use both as offline maps (vector/personal) there is double need for map decompression (two images on same area) so mainly combination of online map + vector map should be quite CPU intensive
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 03, 2012, 08:22:57
spain, italy and portugal
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 03, 2012, 18:33:29
Quote from: "jurajs"
spain, italy and portugal
Excellent job, jurajs!
Unfortunately Spain doesn't contain the Canaries. Could you rerun the build?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 03, 2012, 18:47:58
i rather make them as a separate map if you dont mind (shorter computing time)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 03, 2012, 19:31:23
Canary Islands at your service
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 03, 2012, 21:50:25
Quote from: "jurajs"
Canary Islands at your service
once again, excellent job and thank you.
Greetings from Teide peak ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 04, 2012, 17:33:16
@jurajs,

which system and which OS do you use for rendering? And how much time does it need p. e. for Germany?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 04, 2012, 17:52:35
hi...
at first i have to say that previously i have been using poly file with size more than 100kb. after i found out that the number of points in poly file affects speed rapidly, i created new poly file for germany manually with size around 2kb. computing times for terrain data decreased from 4 days to 8 hours. this is fine... but there is also a bad thing regarding this "new" approach. as i am using dfferent poly file created manually, the osm exports from the geofabrik/cloudmade doesn't fit in precisely anymore. so i have to include 1 more step into procedure -> see section 4.1.3 of my guide. (btw: notice that the guide is updated)

now to your question directly:
1. process terrain data = 8 hours
2. cut out map data from europe to germany only (using my polygon file) = dont know... lets say its less than 1 hour
3. merge = cca 2 hours
4. create map = hmmmm 12 hours?

EDIT: computing duration was somehow guessed wrong ;-)

system details: win7 ultimate x64; intel core i5@3ghz; 8GB memory; SSD drive ~450MB/s

p.s. i will upload fresh map of germany in 3-4 days (when i come back to speedy internet again   :roll:  )
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: ppiter on May 05, 2012, 12:11:24
Hi,

thanx for maps with contour lines!!! Really great job.

Sebbo on this forum did a job just as well as you. He generated a map covering the area of the whole alps. You can find his map here http://gps.sebbosweb.com/ (http://gps.sebbosweb.com/). Would it be possible that you use this map and generate contour lines as well?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 05, 2012, 12:19:14
yes i can. just ask for .poly file and attach it to your post. i'll take it and make a map accordingly. it will take cca 1 week.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 05, 2012, 16:30:00
Quote from: "jurajs"
Bugs:
- zoom level 12 and 13 doesn't generate well - probably a bug of mapsforge library
- elevation text is more likely displayed at zooms 16-17, but for zooms 14-15 is very rarely visible, although its defined
Hi Jurajs,
just a question.
Why do you assume that the first problem (I guess it is the problem which can be seen in the Level 12.png) is in mapsforge library?
Couldn't it be a problem in one of the steps of the generation process as well?
Did you report the problem to mapsforge project already?
Btw. I think it can be seen also up to Level 14 and still in Level 15 (but only minor artefacts).

With the second problem I would agree it is a problem of the mapsforge library
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 05, 2012, 17:32:17
well...

-the source data is same for whatever zoom. therefore the image gets "broken" during the phase of rendering. (or maybe there is a possibility it's got corrupted by mapwriter plugin somehow)
-this problem was already reported to mapsforge developers (by user kech61 from oruxmaps forum). i hope they can fix it soon.

-minor issues ? i don't really care about, as its "almost"invisible.    :geek:   (you germans are too perfectionists)  :roll:  :mrgreen:

j.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 05, 2012, 17:56:57
I think there is another problem, but this seems to come from Locus itsself:

You may compare it with the screens from jurajs in the first post ( scroll a bit down)  viewtopic.php?f=43&t=1839#p11684 (http://forum.asamm.cz/viewtopic.php?f=43&t=1839#p11684)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 05, 2012, 18:22:29
@jusc: I can only guess what you mean, I think it's about the scale in the right picture where one would expect about 1.4km, right? The lower value comes from the fact that I zoomed in Locus to make the artifact better visible. But as jurajs already mentioned we Germans are perfectionists :D.
Title: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 05, 2012, 20:07:43
Yes, I mean the width of the scale over the whole display. Normally it's just up to 2cm. Please compare it with the pictures of the first post of this threads.

Gesendet von meinem GT-P1000 mit Tapatalk 2
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 05, 2012, 21:12:38
o.k., I misunderstood you. Just tap on the scale line and ... it gets longer. If you tap the scale again it toggles back to the original length.
It's a feature not a bug.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 05, 2012, 21:53:38
Quote from: "jurajs"
-this problem was already reported to mapsforge developers (by user kech61 from oruxmaps forum). i hope they can fix it soon.
j.
Hopefully, Christian Kernbeis (I guess alias kech61) reported it in the Google Group for the mapsforge project on April, 19th but didn't yet get an answer.
https://groups.google.com/d/topic/mapsf ... discussion (https://groups.google.com/d/topic/mapsforge-dev/hGGucDRB-II/discussion)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: sebbo on May 06, 2012, 20:02:49
attached the requested alps.poly
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 06, 2012, 21:02:18
thanks sebo. i'll add it to the processing queue... and let you guys know when finished. hope you will like it ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gura on May 07, 2012, 18:12:49
Hello Jurajs, the produced maps with contour lines are excellent. Nevertheless, I have one more suggestion for practical use in the open fields/mountains. Typical destinations that hikers are looking for on their device, such as huts, ruins, bus stops, etc. are currently shown only in "extreme" zoom levels 17 or higher. There is the possibility to create or modify the XML file of a "Theme", but this will not work because the tag-mapping file used by mapwriter for creating the map file does not allow those tags to appear.

This could be solved when the tag-mapping.xml file is being adjusted for example as below. This would make it possible to show alpine huts at level 14 and some other tags at 15:

<osm-tag key="highway" value="bus_stop" zoom-appear="15" />
<osm-tag key="amenity" value="place_of_worship" zoom-appear="15" />
<osm-tag key="amenity" value="restaurant" zoom-appear="15" />
<osm-tag key="shop" value="supermarket" zoom-appear="15" />
<osm-tag key="railway" value="halt" zoom-appear="15" />
<osm-tag key="railway" value="tram_stop" zoom-appear="15" />
<osm-tag key="tourism" value="alpine_hut" zoom-appear="14" />
<osm-tag key="historic" value="ruins" zoom-appear="15" />

Themes could then be created accordingly, or existing themes could be modified as shown below. (E.g. "[Theme] Hiking" viewtopic.php?f=40&t=1871 (http://forum.asamm.cz/viewtopic.php?f=40&t=1871))

The subject was already brought up at the mapsforge forum (Issue 289: Display more information on low zoom level in the mountains; http://code.google.com/p/mapsforge/issues/detail?id=289 (http://code.google.com/p/mapsforge/issues/detail?id=289)). But there was literally not much achieved, and I believe it would be good to consider these points in newly created maps and in updated maps. What do you think?

Code: [Select]
<rule e="node" k="*" v="*">
...
<rule e="node" k="amenity" v="bus_station" zoom-min="15">
...
</rule>
...
<rule e="node" k="amenity" v="place_of_worship" zoom-min="15">
...
...
</rule>
...
<rule e="node" k="amenity" v="restaurant" zoom-min="15">
...
</rule>
...
<rule e="node" k="highway" v="bus_stop" zoom-min="15">
...
</rule>
...
<rule e="node" k="historic" v="*">
...
<rule e="node" k="*" v="*" zoom-min="15">
...
</rule>
</rule>
...
<rule e="node" k="railway" v="halt|tram_stop" zoom-min="15">
...
</rule>
...
<rule e="node" k="shop" v="supermarket|organic" zoom-min="15">
...
</rule>
...
<rule e="node" k="tourism" v="alpine_hut" zoom-min="14">
...
</rule>
...
</rule>
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 07, 2012, 18:51:12
hi gura

thanks for hint. i was planning to do some changes like that, but i was lazy ;-) finally all the elements listed below were changed in tag-mapping.xml. all further maps will be created wit this new ruleset. i will adjust hiking theme accordingly and you can do similar change also to themes that you are using too.

Code: [Select]
<osm-tag key="highway" value="bus_stop" zoom-appear="15" />
<osm-tag key="amenity" value="cafe" zoom-appear="16" />
<osm-tag key="amenity" value="drinking_water" zoom-appear="15" />
<osm-tag key="amenity" value="fast_food" zoom-appear="16" />
<osm-tag key="amenity" value="parking" zoom-appear="16" />
<osm-tag key="amenity" value="pharmacy" zoom-appear="16" />
<osm-tag key="amenity" value="place_of_worship" zoom-appear="15" />
<osm-tag key="amenity" value="pub" zoom-appear="16" />
<osm-tag key="amenity" value="restaurant" zoom-appear="15" />
<osm-tag key="shop" value="supermarket" zoom-appear="15" />
<osm-tag key="railway" value="halt" zoom-appear="15" />
<osm-tag key="railway" value="tram_stop" zoom-appear="15" />
<osm-tag key="tourism" value="alpine_hut" zoom-appear="14" />
<osm-tag key="tourism" value="attraction" zoom-appear="16" />
<osm-tag key="tourism" value="hostel" zoom-appear="15" />
<osm-tag key="tourism" value="hotel" zoom-appear="15" />
<osm-tag key="tourism" value="information" zoom-appear="15" />
<osm-tag key="tourism" value="museum" zoom-appear="16" />
<osm-tag key="tourism" value="viewpoint" zoom-appear="15" />
<osm-tag key="historic" value="memorial" zoom-appear="16" />
<osm-tag key="historic" value="monument" zoom-appear="16" />
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Tom on May 07, 2012, 20:50:06
Hi jurajs,

I think, I have found the reason for the rendering defects in zoom level 12 and 13. These defects appear at the tile borders. They are caused by closed polygons, which go beyond a tile border. Obviously In this case the mapwriter plugin cuts the lap parts of the polygon and draws a stroke line along the tile border in order to close the open ends of the polygon. If the rendering theme defines a stroke line for the polygon (which is the case for contour lines), then sometimes you will see this additional "shortcut" line. Furthermore you will see parts of the pathText on this line.
At least for the contour lines there is a work-around for the problem. You can tell the mapwriter pluging to treat the contour lines as polygon lines (not as closed polygons). You can do this by changing the tag-mapping.xml like this:
Code: [Select]
   <osm-tag key="contour_ext" value="elevation_minor" zoom-appear="12" force-polygon-line="true" />
    <osm-tag key="contour_ext" value="elevation_medium" zoom-appear="12" force-polygon-line="true" />
    <osm-tag key="contour_ext" value="elevation_major" zoom-appear="12" force-polygon-line="true" />
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 07, 2012, 20:57:57
seems interesting... let me test that first.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 07, 2012, 22:41:31
That bloody osmosis is still "building"the map... I can't wait anymore to finally test it ;-)
but ....
I am in doubt if this is going to solve that issue ... (still hoping)
Code: [Select]
       <attribute name="force-polygon-line" type="boolean" default="false"></attribute>
        <attribute name="equivalent-values" type="string"
                use="optional">
                <annotation>
                        <documentation>
                                The usage of some tags such as "oneway" is quite
                                inconsistent in the OSM dataset. Expressions such as
                                "oneway=yes", "oneway=1" or oneway="true" are
                                semantically equivalent. This attribute allows to
                                associate these equivalent values to the single
                                canonical value defined in the "value-attribute".
                        </documentation>
                </annotation>
        </attribute>

hmmm...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 07, 2012, 23:25:29
well... Tom... you are like an angel... suddenly comes from nowhere and helped a lot ;-)
its still not perfect, but the improvement is visible indeed !
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on May 08, 2012, 08:54:45
would you mind attaching your tag-mapping.xml file. i am having problems with huge parts of the middle of iceland maps missing, and text not rendering properly. i have followed all your steps to the letter, and everything proceeds without errors. i can only think that it is my xml or something is wring with how it all runs on a mac... Am still building the british isles, so will see how that works.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 08, 2012, 09:37:40
here it is ....
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: skids on May 08, 2012, 18:27:07
I've downloaded a couple of your vectors maps with contours, jurajs - thanks for the great work!  Was very excited to see a UK+Ireland+Iceland map completed, but when I downloaded it I found it was a .bin file rather than .map.  Locus is not recognising it as a new vector map when I put it in the mapsVector folder. How can I convert it so it is recognised, or am I doing something stupid??
Many thanks.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 08, 2012, 18:34:11
let me check...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 08, 2012, 18:39:51
checked...
the link for britain_ireland_iceland.ter.osm.map (https://docs.google.com/open?id=0B3Ijv5 ... 1llTlZCam8 (https://docs.google.com/open?id=0B3Ijv5irWwU7ZG1OU1llTlZCam8)) is completely ok.
maybe you are proud owner of some bulletproof antivirus software? ... or hmmm...  :ugeek:
try to re-download or something ;-) maybe someone else can try it too and report the results...

j.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: skids on May 08, 2012, 19:18:17
Sorry - all is OK.  :oops:  I was trying to download it directly to my phone, but for some reason my downloaded file has the wrong name and format (even though it's the right size?????)  just tried on my laptop with no problems.  Thanks again.  :D
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gura on May 08, 2012, 22:06:41
Hello Jurajs, I must say you are doing a great work and it's exciting. Thank you!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: skids on May 09, 2012, 00:31:02
Quote from: "skids"
Sorry - all is OK.  :oops:  I was trying to download it directly to my phone, but for some reason my downloaded file has the wrong name and format (even though it's the right size?????)  just tried on my laptop with no problems.  Thanks again.  :D

Now I feel a right idiot.  The original file I downloaded was perfectly fine - I just needed to rename it with a .map filename.  Keep up the great work guys!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 09, 2012, 12:44:19
new map of France is out

France 2012-05-09 (1391 MB): http://https://docs.google.com/open?id=0B3Ijv5irWwU7OUhFNVkzNWQ1MG8
alps will be next...

please note that this is the first map generated with new "ruleset" (see 1st post for details) and better rendering for zooms 12-13. feel free to test it and give some feedback/bug report.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: skids on May 09, 2012, 13:48:16
I'm seeing several strange hexagons and other polygons on the UK map, obviously related to contour data and visible on all zoom levels.  I guess it's from corrupted data? but just for now I think I will avoid these areas in case they turn out to be huge bottomless pits or alien landing sites.
[attachment=0:2qr0udlp]pic.png[/attachment:2qr0udlp]
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 09, 2012, 14:09:43
hi skids,

I have been experiencing similar issue when i was building my first map (Slovakia), and i tough that srtmfill utility is going to fix that for good. obviously is not. it's important to tell that this problem is caused by "invalid" srtm data.

possible causes/solutions:
1. it was my fault. that means i forgot to process one or more hgt files with srtmfill.
   - can you isolate the area where those hexagons are appearing? (in whole degrees e.g. N48-49 W002-004) so i can try to run the utility again.
2. if 1. is not the case, we should find some kind of tool with possibility to change the elevation data in hgt file manually. (and fix those bugs)
3. find another (better) source of srtm data to try.

jurajs
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: skids on May 09, 2012, 16:53:42
Its not really isolated to one region, but the errors are few and far between, and having had a little look around some other areas of the UK, they tend to be in areas with lots of contours.  It doesn't bother me, since it is obvious on the map where there is an error, and they are too small to hide any important features - the benefits of having a vector map with contours far outweighs these small glitches!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 10, 2012, 08:06:01
alps ready
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: brotbuexe on May 10, 2012, 17:54:14
if you use the hgt files for this contourlines you could get some better files for alps etc. from http://www.viewfinderpanoramas.org/dem3.html (http://www.viewfinderpanoramas.org/dem3.html). He have also 1" hgt files...

Coverage http://www.viewfinderpanoramas.org/Cove ... s_org3.htm (http://www.viewfinderpanoramas.org/Coverage%20map%20viewfinderpanoramas_org3.htm)

Locus also can use 1" hgt files...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 10, 2012, 18:13:13
maps are created according to this prefference already : view1,view3,srtm1,srtm3
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 12, 2012, 12:16:04
Thank you for your great Alps-ter map!!! :D

I also downloaded the Netherlands-ter map in hope to get rid of my Locus crashing problem with other Netherlands maps. But no, this one also crashes at zoom-levels 9 and lower. Strange because the Alps map is over 1 Gig and that one goes. The Netherlands is about 330 mB.
Must be something with all the water and osm or mapsforge.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on May 12, 2012, 13:08:06
Quote from: "Henk van der Spek"
Thank you for your great Alps-ter map!!! :D

I also downloaded the Netherlands-ter map in hope to get rid of my Locus crashing problem with other Netherlands maps. But no, this one also crashes at zoom-levels 9 and lower. Strange because the Alps map is over 1 Gig and that one goes. The Netherlands is about 330 mB.
Must be something with all the water and osm or mapsforge.

Yes I can reproduce it with SGS2. Zoom level 9 works for me but very slow. Zoom 8 crashes.
But is there a newer renderer?  Issue 290 seems to be fixed, but I don´t know if this is already implemented?
http://code.google.com/p/mapsforge/issu ... 20Modified (http://code.google.com/p/mapsforge/issues/detail?id=290&can=1&sort=-modified&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Modified)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 12, 2012, 16:18:28
Sorry Jusc, I read something somewhere about white water etc. Don't know a thing about rendering maps. Tried yesterday but the process broke off after an hour on my probably to slow laptop.

Jurajs map in starttopic says Netherlands 2012-05-30 ; probably 2012-04-30  So maybe Jurasj will give it another go in a few days. i will gladly test it. :D
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 12, 2012, 18:50:02
yes... looks like a typo ;-)
I am not planing to make another map of netherlands ever... sorry for that ;-) ... but i will continue with making custom regions. so you can look forward to benelux map soon. but first i have to finish that bloody map of japan. it takes 4 days already and i have no spare memory to run another job :-(

Code: [Select]
e:OSMbinosmosis-0.40.1bin>osmosis --rx e:OSMosm-map-datamergedjapan.merged.osm.bz2 --mw file=e:OSMosm-map-datamapsforgejapan.ter.osm.map.bz2 bbox=24.7,126.5,55.7,155  type=hd tag-conf-file=e:OSMtag-mapping.xml
may 09, 2012 6:16:39 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40.1
may 09, 2012 6:16:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
may 09, 2012 6:16:40 PM org.mapsforge.map.writer.osmosis.MapFileWriterTask <init>
INFO: mapfile-writer version: mapsforge-map-writer-0.3.0
may 09, 2012 6:16:40 PM org.mapsforge.map.writer.osmosis.MapFileWriterTask <init>
INFO: mapfile format specification version: 3
may 09, 2012 6:16:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
may 09, 2012 6:16:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
may 09, 2012 7:21:07 PM org.mapsforge.map.writer.osmosis.MapFileWriterTask complete
INFO: completing read...
may 09, 2012 10:03:27 PM org.mapsforge.map.writer.osmosis.MapFileWriterTask complete
INFO: start writing file...
may 09, 2012 10:03:29 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 10.0% of sub file for zoom interval index 0
may 09, 2012 10:03:29 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 20.0% of sub file for zoom interval index 0
may 09, 2012 10:03:51 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 30.0% of sub file for zoom interval index 0
may 09, 2012 10:07:16 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 40.0% of sub file for zoom interval index 0
may 09, 2012 10:07:34 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 50.0% of sub file for zoom interval index 0
may 09, 2012 10:07:35 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 100% of sub file for zoom interval index 0
may 09, 2012 10:07:35 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 10.0% of sub file for zoom interval index 1
may 09, 2012 10:07:35 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 20.0% of sub file for zoom interval index 1
may 09, 2012 10:07:35 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 30.0% of sub file for zoom interval index 1
may 09, 2012 10:07:46 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 40.0% of sub file for zoom interval index 1
may 09, 2012 10:44:58 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 50.0% of sub file for zoom interval index 1
may 10, 2012 12:01:53 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 60.0% of sub file for zoom interval index 1
may 10, 2012 2:48:19 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 70.0% of sub file for zoom interval index 1
may 10, 2012 5:19:27 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 80.0% of sub file for zoom interval index 1
may 10, 2012 5:49:44 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 90.0% of sub file for zoom interval index 1
may 10, 2012 5:49:59 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 100% of sub file for zoom interval index 1
may 10, 2012 5:49:59 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 10.0% of sub file for zoom interval index 2
may 10, 2012 5:50:01 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 20.0% of sub file for zoom interval index 2
may 10, 2012 5:50:01 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 30.0% of sub file for zoom interval index 2
may 10, 2012 5:53:24 AM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 40.0% of sub file for zoom interval index 2
may 12, 2012 12:51:30 PM org.mapsforge.map.writer.MapFileWriter writeSubfile
INFO: written 50.0% of sub file for zoom interval index 2

Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 12, 2012, 19:02:29
about the problem with crashes:
me personally I have no issues with crashing locus on my SGS2, but my girlfriend (HTC wildfire S) has few crashes on iberian map on lower zoom levels (i guess 6-7). maybe it has something to do regarding the amount of phone memory. who knows...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 13, 2012, 12:11:14
Thanks for your reply Jurajs. I will wait patiently  ;) for Benelux.

If the crashing stays I maybe have to upgrade my standard Defy to Android 2.2 (is said to have better memory handling and the Defy has enough memory).

But 2.2 on the Defy and ither phones has a problem with Google Maps.

Still strange that your very big and great Alps map (1138 MB) gives me NO CRASHES. Netherlands is only 340 MB.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on May 13, 2012, 12:18:18
Netherland map have highest concentration of items on same area compare to other countries. So at one zoom level, your phone needs to handle more data then on different areas ...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 13, 2012, 14:20:05
@jurajs: Will you provide an update for Germany? After finished processing of Benelux it will be the last remaining map with the older version of contourlines.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 13, 2012, 16:38:23
hi tommi...
I am planning to do that as soon as possible... but now my resources are really busy with Japan ;-) I don't know what is the reason for taking so long to build that map... i am pretty confused about that.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 13, 2012, 16:43:23
Quote from: "jurajs"
hi tommi...
I am planning to do that as soon as possible...
Great, I love maps with contour lines  :D
Quote from: "jurajs"
but now my resources are really busy with Japan ;-) I don't know what is the reason for taking so long to build that map... i am pretty confused about that.
Maybe the contours are in movement due to sea/earth quakes  ;)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 13, 2012, 17:08:00
that makes sense  :roll:
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 13, 2012, 18:05:19
guys...
new "Austria+Switzerland" is out there. the prevous map was broken. (half of switzerland was missing) ... now it looks ok.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on May 13, 2012, 18:53:12
Quote from: "menion"
Netherland map have highest concentration of items on same area compare to other countries. So at one zoom level, your phone needs to handle more data then on different areas ...

Hello,

Same Problem with Netherlands / northern Belgium / NL/DE-Border occurs with other custom maps, even without contour lines - there are not so many in NL ;-) .

As an example:
The Netherlands have 270000 cycle ways referencing to a relation, PLUS 130.983 ways tagged as highway=cycleway and 9480 cycle nodes (ovelapping collissions with distance <5m already filtered out....).
IMO no other country has such a detailed OSM-Database (and btw. such an accurate tagging) - a real challenge for a simple Phone...

For low-memory phones like my XperiaActive a custom tag-mapping.xml will be essential for those areas, reducing the details in Levels 6-10 (or whatever one choose for the mid-range-area of the mapwriter).

Not only Locus is crashing, all other mapping apps too.

Edit: Mhhhh.. I have not the slightest idea of Java-coding yet, but.. might it be possible that there are some array-dims or mem-allocations that run out of their range within the mapviever library ??

best regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 13, 2012, 23:41:37
anouncing map of benelux region
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 14, 2012, 16:18:14
Thanks, I will keep it  :D

But I still need a quad core phone.  :evil:

Facts: both Locus and Advanced Map Viewer on my Defy do not allow zooming out too much. Locus below level 10 and AVM at scale 50 km, sometimes even 20 km.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 15, 2012, 12:44:06
new germany map is finally available

Germany 2012-05-15 (694 MB): https://docs.google.com/open?id=0B3Ijv5 ... llnRTgzWWs (https://docs.google.com/open?id=0B3Ijv5irWwU7ZnV5ellnRTgzWWs)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: ukuest on May 15, 2012, 14:39:25
Downloading Germany now .. thank you so much, jurajs!

These maps are beautiful. I use the hiking 0.5 theme and the Hike&Bike Hillshade overlay.
Works great, looks fantastic. Almost like a real topographical map.

Going on a long hike along the French-German border in a couple of weeks, and now I have France + Germany complete in my phone, in under 2 GB!
(No more thousands of MobileAtlasCreator tile downloads before every holiday...)

Thanks again!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 15, 2012, 14:54:01
glad you like it ....
but don't forget to check for the hiking theme next release soon. there will be a lot of overlaping bug fixes for ways, administrative boundaries hidden by water areas fixed, highways thickness adjustments on lower zooms and many other fixes for issues that i have discovered recently ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: ukuest on May 16, 2012, 07:09:55
Looking forward to further improvements on the hiking theme.
One thing I noticed is that the names of some villages disappear at certain zoom levels, most often at 14, sometimes also at 13. At level 12 they are all there. It is not a big problem, I can always zoom ou to find the name, but it seems to show some underlying scaling problems.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Balistar on May 17, 2012, 16:16:29
Hi Jurajs,
Great work.
I got your Alps-Map running but I'm not able to choose your Contours Theme. Only Osmarender is available.
The downloaded xml-File is located in the vectormaps/themes directory.

Where is my problem?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gynta on May 17, 2012, 17:23:15
Quote from: "Balistar"
The downloaded xml-File is located in the vectormaps/themes directory.
like this?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 17, 2012, 21:56:41
thanks gynta ;-)

all you guys need is to read carefully the 1st posts of each my topic here. all the steps neccesary are written there.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 18, 2012, 09:37:51
The latest download for the hiking theme had a directory named hiking0.5 (or something) wrapped around the directory "hiking" . That's why it initially was invisble for me too.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Balistar on May 18, 2012, 11:17:42
Thanks gynta,
sorry for reading uncarefully. There was a wrong Folder definition. Now it works fine!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gynta on May 18, 2012, 12:48:25
Quote from: "Henk van der Spek"
The latest download for the hiking theme had a directory named hiking0.5 (or something) wrapped around the directory "hiking" . That's why it initially was invisble for me too.
i think the name of the directory doesn't matter.
the name of themes is the name of the xml file.
important is the file structure.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 18, 2012, 18:39:59
Not that I want to have the last say in this  :)  but Jurajs writes:

howto:
- extract "hiking.zip" into ".../Locus/mapsVector/_themes/"
- activate theme in locus in "Settings / Map - advanced / Theme of the maps"

The newest is hiking v-0.5.zip

and that led for me to this picture which I afterwards corrected to like Gynta's pic and only then Locus saw the theme:

Ok, no picture:  Sorry, the board attachment quota has been reached.

So the folder hiking was inside a folder hiking v-0.5
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 18, 2012, 21:32:41
whatever ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 29, 2012, 10:15:27
ok guys...
it seems that i have finished with generating maps for some time. the current setup of tags seems reasonable. Finally there is also region of scandinavia added + picture of polygons how the regions were processed. I will now focus more on improving hiking theme.

enjoy
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Henk van der Spek on May 29, 2012, 17:47:04
Enjoy your hikes and thanks again.  :D
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 31, 2012, 20:55:13
Hi jurajs, is Honshu map still processing or did your computer give up?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on May 31, 2012, 21:26:24
i give up (for some time)... I dont know why, but all that Japan area takes simply too long to process. maybe some kind of "semi-deadlock" or what the hell. For example: Just Hokkaido takes about 4 days to make map. My estimation for Honshu is about 2 weeks of constant procesing. If you are willing to process it by yourself, I can upload all files required, and ready for processing. ;-) There is a possibility to do it with better hardware. ;-) For example I have few servers in my work with really high CPU power and lots of memory (e.g. 144GB), but i am always too busy when i am in work.

juraj.s
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on May 31, 2012, 21:34:44
No, no, thank you. My computer is probably much less powerful than yours (the phone I get in few days has more cores than my notebook). I just wanted to ask why this is still outstanding. Actually I don't really need this area.
Nevertheless thank you for your excellent work!
Thomas
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: PeeKay on June 20, 2012, 08:45:15
Hey Experts,

For my holiday i'm searching for Vector-Maps of Greece and their Islands. But i can't find it in the listing of maps in the first post.
Is Greece really missing or only i'm blind a little bit?  ;)

If i'm not blind... Do anybody knows a source where i can download vector maps from Greece and their Islands?
Certainly in the same perfect qualitiy like all the maps in this thread !
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: sebbo on June 21, 2012, 21:50:01
if you dont need the terrain lines. i can create the greece map for you...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: sebbo on June 21, 2012, 22:13:29
done http://gps.sebbosweb.com/greece-2012-06-21-22-10-49.zip (http://gps.sebbosweb.com/greece-2012-06-21-22-10-49.zip)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Midyr on June 24, 2012, 12:07:38
Hi,

I'm trying to create a map of a part of germany(rheinland-pfalz), because the germany map is too big.
I use linux for this.
My rheinland-pfalz.merged.osm is 1,3G but the rheinland-pfalz.ter.osm.map is only 207K.
I saw no errormessage

I use osmosis 0.40.1.

Any clue?

Greets Midyr

BTW:
srtmfill is windows only, did anybody know an alternative for linux?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Midyr on June 25, 2012, 12:00:18
Quote from: "Midyr"
Hi,

I'm trying to create a map of a part of germany(rheinland-pfalz), because the germany map is too big.
I use linux for this.
My rheinland-pfalz.merged.osm is 1,3G but the rheinland-pfalz.ter.osm.map is only 207K.
I saw no errormessage

OK

this was my mistake wrong bbox
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: maandag on June 26, 2012, 17:00:08
Wow, great job creating these maps! Thanks a lot.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Khaytsus on June 29, 2012, 20:39:55
I feel I'm pretty stupid here, but I can't understand how to really get started here..  Is it possible to get the information on the metadata I'd need to get Kentucky, USA building?  I'll do the building of the data myself.  I'm just confused on what data to get to get started.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on July 05, 2012, 10:29:15
hi guys... I am pretty busy these days, so i not able to focus on your wishes right now. But I am pretty sure that with little effort you can build these maps yourselfs. Its not complicated at all if you follow instructions described in 1st post of this thread.

@ PeeKay: not blind, I havent created one. Maybe later ;-)
@ Midyr: havent find an alternative for srtmfill on linux yet. but you have to process the terrain data just once. or.... maybe you can skip this step if you dont mind having some bugs on contourlines.
@ Khaytsus: Please try to read 1st post of this thread (including hyperlinks). I guess it it all mentioned there. If not, feel free to ask questions about where you got stucked.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: fussfolk on July 10, 2012, 22:21:59
Quote from: "jurajs"
if you are missing something, try to make a wish ;-)

Hi Jurajs,
that's really great work - I am using hiking theme and your maps almost always, and enjoy a lot, thanks!

By the way - there's a wish: How about "Albania"?

Thanks in advance, and best regards, fussfolk.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on July 11, 2012, 18:25:33
may be... it will take about a month until i will be able to pay more attention also to my hobbies. i hope you can wait....
take a look here from time to time. it will appear in first post for sure (but not sure when)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: fussfolk on July 11, 2012, 20:38:54
Thanks for fast feedback - well, how about close to end of this month;o?

Some of the area of interest is already covered by outskirts of the Former Yugoslavia map, but some part missing yet...

Anyway, maybe I will try to get through the creation procedure myself;-)

Thanks, and best regards, fussfolk.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gazoox on July 13, 2012, 17:56:54
Very very good work: working out the method and the generated maps! THX
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: benoitb on July 28, 2012, 18:42:32
Quote
4.1.1 [highly recommended] after the pyghtmap has downloaded hgt elevation data, you can kill phyghtmap and use srtmfill utility to fix "null" data in hgt files (I had a lot of null/invalid data so i had to fix them all). before proceeding to next step you have to run phyghtmap command again so the osm file will be created from valid elevation data.
Hello, I'm trying to build my maps before leaving for a long bicycle trip from France to China.
I've used phyghtmap with that command:
Code: [Select]
C:Python27Scripts>phyghtmap.exe --polygon=Z:osmmypolysturkmenistan.poly -o
Z:osmelevationturkmenistan_srtm6 --source=view1,view3,srtm1,srtm3  -s 20 -c 2
00,100 --start-node-id=20000000000 --start-way-id=10000000000 --write-timestamp
 --max-nodes-per-tile=0
And my output is that file: turkmenistan_srtm6_lon51.83_66.71lat35.12_42.86_view3.osm (1.8 GB)
I can't find any hgt file to process with SRTMFill, can you help me locate them ?

On the other side, I prepared also the osm extract:
Code: [Select]
C:osmosis-0.40.1bin>osmosis.bat --rx z:osmasia.osm --tee 1 --bp file="z:osm
mypolystajikistan.poly" --wx z:osmmap_sanseletajikistan.osm
The resulting file is:
tajikistan.osm (35 MB)

I'm surprised that the elevation map is 1.8 GB while the OSM map is 35 MB, is that possible ?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 30, 2012, 18:41:46
Quote
4.1.1 [highly recommended] after the pyghtmap has downloaded hgt elevation data, you can kill phyghtmap and use srtmfill utility to fix "null" data in hgt files (I had a lot of null/invalid data so i had to fix them all). before proceeding to next step you have to run phyghtmap command again so the osm file will be created from valid elevation data.

There is no more need for this, the view3 database has bee updated and contains now correct data
for europe, asia and africa (really filled and NOT interpolated).

See coverage http://http://www.viewfinderpanoramas.org/Coverage%20map%20viewfinderpanoramas_org3.htm

So your phyghtmap commandline is now
--source=view3,srtm3  -s 20 -c 200,100 (there is no real need for "srtm3", for historic reasons only and avoid view1 data)
instead of
--source=view1,view3,srtm1,srtm3  -s 20 -c 200,100

just delete the index file of phyghtmap (viewfinderHgtIndex_3.txt) an restart the processing of the elevation data.

Quote
I'm surprised that the elevation map is 1.8 GB while the OSM map is 35 MB, is that possible ?

This is perfect possible, there are lots of mountains and lots of nothing.  ;)

If you need help just give me your route, I feed my scripts and deliver the maps as far as possible.

Ready for download are all maps (incl. elevation data + cycle routes) from France to Turkey (incl Armenia) here:
http://http://www.openandromaps.org/

[attachment=0:iajh8shk]coverage_eu_oam Kopie.jpg[/attachment:iajh8shk]

best regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: benoitb on July 31, 2012, 19:40:14
Thank you Christian !

I am reprocessing the elevation data right now.
Your website looks really good, I'm going to try to download one of your maps and have it load in Locus. I may try Turkey.

The countries I should be crossing are:
France
Italy
Greece
Turkey
Iran
Turkmenistan
Uzbekistan
Tajikistan
Kirghyzstan
China
South Korea

And maybe:
Japan
Vietnam

Are you using custom polygons ? Can you recommend a tool ? For my first try (tajikistan) I used a polygon I found online, I think it is the official from openstreetmaps, it is heavy with 3458 lines.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 31, 2012, 20:12:28
Quote from: "benoitb"
China

Oh, well... this is a quite a big country, maybe you can specify the parts of China you want to cross..  :shock:  :shock:

Quote from: "benoitb"
Are you using custom polygons ? Can you recommend a tool ? For my first try (tajikistan) I used a polygon I found online, I think it is the official from openstreetmaps, it is heavy with 3458 lines.


Yes I use custom polygons, I draw them as tracks in QV6 (former Touratech QuoVadis), export them as GPX and run a Perl-Script that
- converts the GPX to Poly
- writes the batchfile for the final batch that calls the mapwriter with the right BBox.
(Its part of a series of nested scripts driven by a central make-file)

[attachment=0:2nmnpd6w]tajikistan.jpg[/attachment:2nmnpd6w]

Tatschikistan is running now for 9hours and says "completing read"  :lol:  so ist will run for a day or more further...

If you feed the data into the mapwriter its a good idea to use a custom tag-mapping.xml for these wide and "empty" countrys that forces even low-level roads and ways to appear at low zoom-levels otherwise you dont have any overview an keep scroling around on a empty map - I hope you got the picture...

Something like this (towns)
Code: [Select]

      <pois>
<osm-tag key="place" value="city" zoom-appear="6" />
<osm-tag key="place" value="country" zoom-appear="3" />
<osm-tag key="place" value="hamlet" zoom-appear="9" />
<osm-tag key="place" value="island" zoom-appear="9" />
<osm-tag key="place" value="suburb" zoom-appear="9" />
<osm-tag key="place" value="town" zoom-appear="8" />
<osm-tag key="place" value="village" zoom-appear="8" />
</pois>

and roads

Code: [Select]
<!-- HIGHWAY TAGS -->
<ways>
<osm-tag key="highway" value="bridleway" zoom-appear="9" />
<osm-tag key="highway" value="bus_guideway" zoom-appear="13" />
<osm-tag key="highway" value="byway" zoom-appear="13" />
<osm-tag key="highway" value="construction" zoom-appear="9" />
<osm-tag key="highway" value="cycleway" zoom-appear="12" />
<osm-tag key="highway" value="footway" zoom-appear="10" />
<osm-tag key="highway" value="living_street" zoom-appear="13" />
<osm-tag key="highway" value="motorway" zoom-appear="6" />
<osm-tag key="highway" value="motorway_link" zoom-appear="6" />
<osm-tag key="highway" value="path" zoom-appear="9" />
<osm-tag key="highway" value="pedestrian" zoom-appear="13" />
<osm-tag key="highway" value="primary" zoom-appear="8" />
<osm-tag key="highway" value="primary_link" zoom-appear="8" />
<osm-tag key="highway" value="raceway" zoom-appear="12" />
<osm-tag key="highway" value="residential" zoom-appear="9" />
<osm-tag key="highway" value="road" zoom-appear="9" />
<osm-tag key="highway" value="secondary" zoom-appear="9" />
<osm-tag key="highway" value="secondary_link" zoom-appear="9" />
<osm-tag key="highway" value="service" zoom-appear="9" />
<osm-tag key="highway" value="services" zoom-appear="9" />
<osm-tag key="highway" value="steps" zoom-appear="12" />
<osm-tag key="highway" value="tertiary" zoom-appear="9" />
<osm-tag key="highway" value="track" zoom-appear="9" />
<osm-tag key="highway" value="trunk" zoom-appear="6" />
<osm-tag key="highway" value="trunk_link" zoom-appear="6" />
<osm-tag key="highway" value="unclassified" zoom-appear="9" />
</ways>
Dont use this code in crowdy european aeras, it might couse performance problems there.

I will give you a download link as soon a Tatschikistan is ready - so you can get an idea what OSM worth in these aeras.

regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on July 31, 2012, 20:26:41
Hi Christian/kech61,
just tried to download some andromaps and related themes. All downloads work except this theme: Theme Volatile_ICE, the link doesn't work for me.

Could you check/fix?

Thanks,
Thomas

*edit*: uups, sorry, I checked my download folder again and there are 5 copies of the theme :)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 31, 2012, 20:38:41
Quote from: "tommi62"
just tried to download some andromaps and related themes. All downloads work except this theme: Theme Volatile_ICE, the link doesn't work for me.

Hmm, I checked this and for me it workes fine, maybe there is an old version of the link in your browsercache with the google_drive-link that does'nt work.
Nethermind, here is the theme:

[attachment=0:23wi4g6t]Volatile_ICE.zip[/attachment:23wi4g6t]

There are only minor changes to original theme from Jusc, most important: the glaciers are rendered as pattern, essential for iceland.
And there are adaptions to the tag-mapping as mentioned obove.

best regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: benoitb on July 31, 2012, 20:41:21
I don't know yet where in China I will go. I still have to study the interesting places I want to visit.

Quote
a Perl-Script that
- converts the GPX to Poly
Could you share that ? Maybe you also know something to convert from kml tracks. This is what I get inside a Google Earth generated kml:
Code: [Select]
<name>testpoly</name>
<styleUrl>#m_ylw-pushpin</styleUrl>
<LineString>
<tessellate>1</tessellate>
<coordinates>
17.22054464856527,49.28001021156068,0 19.21312815102696,50.56227420701203,0 22.62511147551977,49.36756264330402,0 20.67631306408464,47.56113170067063,0 17.5669935667743,47.98766289167538,0 17.11276781405985,49.2505230935986,0
</coordinates>
</LineString>

Thanks, now I understand what tag-mapping.xml is used for. It reminds me settings about visibility in a telecom software (Actix) that uses Mapinfo I think.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 31, 2012, 21:37:51
Quote
a Perl-Script that
- converts the GPX to Poly
Maybe you also know something to convert from kml tracks. This is what I get inside a Google Earth generated kml:
Sorry, never dealed with kml-xml but I'm pretty shure that there is a solution somewhere in google space...
Or you convert kml to gpx using gpsbabel or some other tool.

Quote
Could you share that ?

My script is written in Perl, but keep in mind that this is coded for a special folder structure:
Code: [Select]
# script to convert a GPX file to a polygon file.
#
# written by Rodolphe Quiédeville <rodolphe@quiedeville.org>, GPL.
#
# Modified for better usability = no more ">" "|", direct file output
# so it's suitable for Windows environment and so on ....
# ensured compatibility with "GPX10" output of tracks from QuoVadis6.0
#
# by Christian Kernbeis 2012, GPL
#
# usage: eg given file = "germany_north.gpx" in subfolder "germany" in continent folder "europe"
# call = gpx2poly.pl germany germany europe
# + map_germany_noth.bat = batch for creating mapsforge map with bbox parameters
# output is written to germany_noth.poly
#
# usage: eg given file ="austria.gpx" in continent folder "europe"
# call = gpx2poly.pl austria europe
# output is written to austria.poly

use strict;

my $infile = shift; #mapname
my $subdir = shift; #subdir
my $basedir = shift; #basedir usually europe

my $subdira = $subdir;
if ($subdir ne ""){
$subdir = $subdir."\";
}
my $basedira = $basedir;
if ($basedir ne ""){
$basedir = $basedir."\";
}
my $polydir = "\osm_data\my_clipbounds\".$basedir.$subdir;

my $inextension = "gpx";
my $outextension = "poly";
my $infilestring = $polydir.$infile.".".$inextension;
my $outfilestring = $polydir.$infile.".".$outextension;
my $bboxfileCYCLE = "map_".$infile.".bat";

#debug
print "n",$infilestring,"n";
print $outfilestring,"n";
#

my $poly_id = 0;
my $poly_file;
my $polybuf;
my $outbuf;
my $id=0;
my $fh;
my $line;



my @latbuff;
my @lonbuff;

my $bbox;

my $min_lat;
my $max_lat;
my $min_lon;
my $max_lon;



#open file
open (fh, $infilestring) or die $!;

while($line = <fh>)
{
if ($line =~ /^s*<trkpt.*slat=["']([0-9.eE-]+)["'] lon=["']([0-9.eE-]+)["']/){
       $polybuf .= sprintf "t%ft%fn", $2,$1;
push (@lonbuff, $2);
push (@latbuff, $1);
}
   elsif ($line =~ /^s*<trk>/){
       $polybuf = "";
       $poly_id++;
   }
   elsif ($line =~ /^s*</trk>/){
       $outbuf .= "$poly_idn$polybuf"."ENDn";
   }
}
close (fh);

open (fh,">",$outfilestring) or die $!;
print fh "$infilen$outbuf"."ENDn";
close fh;


@latbuff = sort { $a <=> $b } @latbuff;
@lonbuff = sort { $a <=> $b } @lonbuff;
$min_lat = @latbuff[0] - 0.0005; #runden auf 3 stellen genau FLOOR
$min_lon = @lonbuff[0] - 0.0005;
@latbuff = reverse sort { $a <=> $b } @latbuff;
@lonbuff = reverse sort { $a <=> $b } @lonbuff;
$max_lat = @latbuff[0] + 0.0005; #runden auf 3 stellen genau CEIL
$max_lon = @lonbuff[0] + 0.0005;


$bbox=
"bbox="
.sprintf ("%.3f",$min_lat)
.","
.sprintf ("%.3f",$min_lon)
.","
.sprintf ("%.3f",$max_lat)
.","
.sprintf ("%.3f",$max_lon);

open (fh,">",$bboxfileCYCLE) or die $!;
print fh "m:\osmosis\bin\osmosis.bat --rb file=m:\Mapsforge\","$basedir","$subdir","$infile\$infile","_merged.osm.pbf --mw file=m:\Mapsforge\","$basedir","$subdir$infile\$infile.map $bbox tag-conf-file=m:\Mapsforge\tag-mapping-cycle.xml bbox-enlargement=5 map-start-zoom=8 type=hdn";
close fh;

print "$bbox";

The call from batch is like this (a snipped from my makefile)
Code: [Select]
set mapname=austria
set subdir_a=
set basedir_a=europe

set mapdrive=m:
set subdir=%subdir_a%
if "%subdir%" == "" (set subdir=)
set basedir=%basedir_a%
if "%basedir%" == "" (set basedir=)

start "getting clipbounds %mapname%" /wait c:perlperlsitebingpx2poly.pl %mapname% %subdir_a% %basedir_a%

regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 03, 2012, 10:40:17
Hi beboitb,

The Maps for

iran_north
kyrgyzstan
tajikistan
turkmenistan
uzbekistan

are ready for download at
http://http://www.openandromaps.org

Please report if they are usefull
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on August 03, 2012, 15:37:57
WOW !
what a improvements have been made last days... i am totally surprised ;-)
this thread is not completely dead... so far so good ;-)

well, kech61.... is there anything useful what should i add or modify to the first post ?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 03, 2012, 17:11:05
Quote from: "jurajs"
well, kech61.... is there anything useful what should i add or modify to the first post ?

Upsss, sorry...
It was not my intention to occupy your thread  :oops:

Well the good news are that the elevation data from viewfinderpanoramas for Eurasia are now complete and Mr.Ferranti announced that he would add correct view3 data for the rest of the world soon.

So we will have reliable elevation data for our Maps and there will be no more need of tools like srtmfill.

Another stunning thread might find your attention : http://https://groups.google.com/forum/?fromgroups#!topic/mapsforge-dev/x54kHlyKiBM
This is really working besides some anoying, minor problems with the JTS-Geometry - as usual.
However, this is only a matter of fine-tuning - the basic problem of rendering coastlines and watertiles is solved.
For bigger maps the data-overhead is an issue and it might be a good idea to start the rendering of the Land_polygons from level 8 on.

The downside for the mapper is the install of the gdal-bindings and the makescripts are a little bit tricky but this is nothing that could hurt the user..

For me this is the "missing link" for the vectormaps to a wider audience...
[attachment=0:mtual7pd]screenshot_2012-08-03_1704.png[/attachment:mtual7pd]
Nice, isnt it  :mrgreen: ?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: benoitb on August 03, 2012, 20:25:14
Quote from: "kech61"
Hi beboitb,

The Maps for

iran_north
kyrgyzstan
tajikistan
turkmenistan
uzbekistan

are ready for download at
http://http://www.openandromaps.org

Please report if they are usefull
Thank you Christian, the maps are gorgeous and certainly useful. I've loaded them all on my tablet and am browsing them right now.
With France_alps, Italy, greece and turky they use only 2.7GB total.

I haven't taken the time to try again to build them by myself yet.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: PeterPablo on August 04, 2012, 15:07:43
kech61, could you please be so kind and do the calculations for a Thailand map?
I will try the steps you suggested, but do not know how far I will get...

Thank you very much!

edit: Unfortunately I faild already at running "osmosis". Here I have only a Windows 7 laptop and no Linux. hmmm
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 08, 2012, 19:30:08
Quote from: "PeterPablo"
kech61, could you please be so kind and do the calculations for a Thailand map?

Hi, sorry for the delay, I currently updating all European Maps with the water-tiles.
I will try rendering a Thai map soon.

Edit 10.8.2012: Thailand (+Laos, Combodia, Vietnam) is ready for download from my site.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on August 09, 2012, 20:41:41
Hi Christian,
great work.
Seems the link for New Zealand points to Israel. Would you fix?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 10, 2012, 08:34:57
Quote from: "tommi62"
Hi Christian,
great work.
Seems the link for New Zealand points to Israel. Would you fix?

Thanks for bringing this to my attention, it's fixed

best regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: PeterPablo on August 10, 2012, 12:42:10
Quote from: "kech61"
Quote from: "PeterPablo"
kech61, could you please be so kind and do the calculations for a Thailand map?

Hi, sorry for the delay, I currently updating all European Maps with the water-tiles.
I will try rendering a Thai map soon.

Edit 10.8.2012: Thailand (+Laos, Combodia, Vietnam) is ready for download from my site.

You are my hero!
I will test it right away. This comes in very handy, since in a couple of days I will travel there. Any things I can/should test, while there? :-)

edit: Unfortunately the file https://docs.google.com/file/d/0BwlgvH_ ... l5TzQ/edit (https://docs.google.com/file/d/0BwlgvH_pGybWbEYyajJSYjl5TzQ/edit) is currently not downloadable. May be an issue with google? I will check it again later..
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on August 10, 2012, 16:56:46
Quote from: "PeterPablo"
edit: Unfortunately the file https://docs.google.com/file/d/0BwlgvH_ ... l5TzQ/edit (https://docs.google.com/file/d/0BwlgvH_pGybWbEYyajJSYjl5TzQ/edit) is currently not downloadable. May be an issue with google? I will check it again later..
Just tried it, Thailand can be downloaded.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 10, 2012, 17:26:02
Quote from: "PeterPablo"
You are my hero!
I will test it right away. This comes in very handy, since in a couple of days I will travel there.

Hi,

There is an issue with the map, the captions and pathtexts in Laos and Kambodia render as rectangles, no Idea why.
The rest should render fine as far as I tested.

Have a nice trip  :!:
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: wvb on August 11, 2012, 09:56:59
Hi Christian,

do you plan on creating a map of Luxemburg, it's a part of BeNeLux?
I don't see it anywhere, also not in the older maps.

thanks in advance!
Title: Re: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: druki on August 11, 2012, 10:31:47
See first post at
Europe (Custom Regions)
->BeNeLux
;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: PeterPablo on August 11, 2012, 11:58:16
Quote from: "kech61"
Quote from: "PeterPablo"
You are my hero!
I will test it right away. This comes in very handy, since in a couple of days I will travel there.

Hi,

There is an issue with the map, the captions and pathtexts in Laos and Kambodia render as rectangles, no Idea why.
The rest should render fine as far as I tested.

Have a nice trip  :!:

Hi, from what I saw it really looks great! Thank you very much!!
If I find some time I will play around with the theme "Volatile_Cycle_Hike" which gives me the best look and feel to start off.

Peter
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on August 11, 2012, 12:43:58
Quote from: "wvb"
do you plan on creating a map of Luxemburg, it's a part of BeNeLux?
I don't see it anywhere, also not in the older maps.

Hi,
yes its part of Luxemburg, I added this information to the download-page.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: wvb on August 14, 2012, 20:34:21
Quote from: "kech61"
yes its part of Luxemburg

oops.. didn't see that  :oops:
thanks for explaining.

druki:
thanks for the info but I was looking for the Lux part with cycle..
accidentally posted in this thread instead of Christians :)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: benoitb on September 04, 2012, 15:10:12
Yeay ! I managed to build my 1st map (Turkmenistan so I could compare it to Christian's map).
It works fine, and seems to be the same as Christian's :)

Christian, do you accept maps from contributors to help you populate your site and maintain it up to date ? I will probably try to build China, Korea, and other missing maps.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 05, 2012, 08:38:08
Quote from: "benoitb"
Yeay ! I managed to build my 1st map (Turkmenistan so I could compare it to Christian's map).
It works fine, and seems to be the same as Christian's :)

Christian, do you accept maps from contributors to help you populate your site and maintain it up to date ? I will probably try to build China, Korea, and other missing maps.

Hi,

Congratulation for building your first map  :!:

China would be a challenge, its a real big country - I suppose it will have to be split into several maps.
The countourlines will take a lot of space (Tibet etc..).

I attached my tag-mapping for wide countrys where the small roads and towns apperar at even low zoom-level,
in my experience it should be OK for China.
Of couse you dont need use it (the tags for cycle/hiking will be useless for you) - just take a look at the zoom-appear's if you want.
There are several tags added too like caravan_site, tertiary_link, water=dock (some harbours are tagged like this) aso...

Once you finish the maps I will make a section for these maps on the download page of openandromaps.org with a brief CP-Notice.

[attachment=0:3l04n50n]tag-mapping-iceland.zip[/attachment:3l04n50n]

Edit:
This tag-mapping should _not_ be uses for crowded areas like Netherlands, Germany, France - it will crash the phone cause of the data overhead.
For crowded areas in China like Peking etc.. it should be testet on phone bevore release.

Database: I would sugest to use the planet file from 4.July.2012, it was the last planet file bevore the redaction-bot startet deleting data from users who don't signed the new OSM-licence.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on September 05, 2012, 10:51:12
Quote from: "kech61"
This tag-mapping should _not_ be uses for crowded areas like Netherlands, Germany, France - it will crash the phone cause of the data overhead.
For crowded areas in China like Peking etc.. it should be testet on phone bevore release.

Hmm, it seems that it depends of the used phone. Or do you think it´s a rendering problem because of more considered rules in the themes?
At least with the older Galaxy Tab (PT1000) and the Galaxy S2 I didn´t see this problem. Even the 865 MB Alps map (without cycle routes) from jurajs works fine.
(@jurajs, thank you for your effort)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 05, 2012, 12:44:28
Quote from: "jusc"
do you think it´s a rendering problem because of more considered rules in the themes?
At least with the older Galaxy Tab (PT1000) and the Galaxy S2 I didn´t see this problem. Even the 865 MB Alps map (without cycle routes) from jurajs works fine.
(@jurajs, thank you for your effort)

Hi Jusc,

This is very complex issue it depends on many details and im far from beeing able calculate a behaviour of a map in advance.

The Alps are no Problem, it seems that it depends on the amount of vectors per area (eg Vectors/mile²),
this is a serious Problem at low zoom-levels, the worst is level 7, here a major area of a country is visible
_and_ all ncn+icn + major roads appear so the {vectors/area*visible_area} needs lots of calculation time and sometimes crash a phone/app.

This leads to several different "zoom-interval-conf"s for map creation (=amount and ajustment of internal base zoom levels)
+ tagmappings adjusted to these levels (3 base levels per default, 4 for GB+NL otherwise these maps crash).

Another problem are Monster relations (Multipolygons) like the lake district west of Stockholm, while the Sweden is no problem at all,
this single area sometimes causes misbehaviour.

And, of couse you are right, it depends on the phone.
I theory maps that are critical even on the small screen of my Xperia Active should crash every high-resolution screen - however, in the contrary they run fine on SGII, S_Note aso.  8-)

So well... I check the behaviour of every map after major upgrades in the prozessing-sheme.
This lead to 5 mapping runs for GB after adding wateriles till the map rendered reliable on the phone  :roll:
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 07, 2012, 19:37:38
announce:
I will rebuild all maps in 1st post very soon.

attached is the current tag-mapping.xml.
can you guys have a look? any hints for improvements are welcome.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 08, 2012, 11:56:46
Quote from: "jurajs"
any hints for improvements are welcome.

Hi jurajs,

There are only minor additions you may want to take a look at:

Some harbours are tagged this way (eg Aberdeen):
   <osm-tag key="waterway" value="dock" zoom-appear="8" />

Maybe some usefull touristic information:
   <pois>
      <osm-tag key="tourism" value="caravan_site" zoom-appear="14" /> <!--Wohnmobil Stellplatz -->
      <osm-tag key="tourism" value="camp_site" zoom-appear="14" />
   </pois>   

Some tertiary roads are tagged like this (no idea why):
   <osm-tag key="highway" value="tertiary_link" zoom-appear="12" />
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 08, 2012, 15:58:18
Thanks for your reply Christian,

btw: i assume that the problem with rendering of water/sea areas is not solved yet by mapsforge directly... right ? I read the workaroud thread on mapsforge forum.... but my brain lacks mental capacity to implement the changes at this moment ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Khaytsus on September 08, 2012, 17:53:34
Quote from: "kech61"
Hi beboitb,

The Maps for

iran_north
kyrgyzstan
tajikistan
turkmenistan
uzbekistan

are ready for download at
http://http://www.openandromaps.org

Please report if they are usefull
Thank you for including US regions, but I have a question.  I see a terrain contour line or two..  Maybe every 100 meters?  Not sure.  Is this a parameter that can be set to how many meters between contours there are?  There's a place I ride my bike that's up and down the side of a hill for example, tough climbs and fun descents, yet there's not a contour at all to show it because it's not a long distance up or down.  If you want, links below to examples, the track shown doesn't show quite as much deviation up and down as it is in reality I suppose either.

Thank you!

KY/Ohio Vector Map from your site:
https://dl.dropbox.com/u/334233/Screens ... -57-39.png (https://dl.dropbox.com/u/334233/Screenshot_2012-09-08-11-57-39.png)

My Topo raster map
https://dl.dropbox.com/u/334233/Screens ... -57-57.png (https://dl.dropbox.com/u/334233/Screenshot_2012-09-08-11-57-57.png)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 08, 2012, 18:05:38
you can define the contourline steps in phyghtmap easily... and for amount the meters you want to.
but ! you have to have in mind also that source elevation data is not continuos, therefore it does not make any sense to use lower values than 10 meters. I personally use 20 meter steps for contour lines for 2 reasons. 1) 20 or 25 steps are mostly used out there and its still detailed enough 2) to avoid enormous data generated by pyghtmap for contourlines in the map itself  (comparing to 10m step)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: Khaytsus on September 08, 2012, 18:10:46
Quote from: "jurajs"
you can define the contourline steps in phyghtmap easily... and for amount the meters you want to.
but ! you have to have in mind also that source elevation data is not continuos, therefore it does not make any sense to use lower values than 10 meters. I personally use 20 meter steps for contour lines for 2 reasons. 1) 20 or 25 steps are mostly used out there and its still detailed enough 2) to avoid enormous data generated by pyghtmap for contourlines in the map itself  (comparing to 10m step)
I've never managed to make the maps myself, I've tried several times.  :/
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 09, 2012, 09:38:42
well...
ask then !... describe your attempts and failures ;-)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 09, 2012, 12:06:07
Quote from: "jurajs"
btw: i assume that the problem with rendering of water/sea areas is not solved yet by mapsforge directly... right ?

Right


Quote
I read the workaroud thread on mapsforge forum.... but my brain lacks mental capacity to implement the changes at this moment ;-)

 :D  :D
Well, its hard to believe that this is the reason...
 ;)

Seriously, its a complex task and it adds tonns of data-overhead - you wont be able to keep the coverage for those big maps
you provide for the community.
I had to plitt some maps like norway, otherwise the overhead (these are all polygons) results in silly rendertimes and
sometimes crashes the phone.

You will have to implement scripting that only keeps land/sea-data for regions where it is really needed.
However for maps like spain you have to render the whole land...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 09, 2012, 12:18:22
aaaa Christian ... help me out please....

was there any notable change in new osmosis 0.41 ? I am having trouble making maps with map-writer plugin with this new version. My configuration is the same as was for 0.40. I am confused and frustrated again :-(((
btw: old version is still working fine..

here is the full output:
Code: [Select]
sep 09, 2012 11:24:29 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.41
sep 09, 2012 11:24:30 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
sep 09, 2012 11:24:31 AM org.mapsforge.map.writer.osmosis.MapFileWriterTask <init>
INFO: mapfile-writer version: mapsforge-map-writer-0.3.0
sep 09, 2012 11:24:31 AM org.mapsforge.map.writer.osmosis.MapFileWriterTask <init>
INFO: mapfile format specification version: 3
sep 09, 2012 11:24:31 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
sep 09, 2012 11:24:31 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
sep 09, 2012 11:24:31 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-rx failed
java.lang.AbstractMethodError: org.mapsforge.map.writer.osmosis.MapFileWriterTask.initialize(Ljava/util/Map;)V
        at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:95)
        at java.lang.Thread.run(Unknown Source)

sep 09, 2012 11:24:31 AM org.openstreetmap.osmosis.core.Osmosis mainSEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed.
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 09, 2012, 12:36:50
Quote from: "Khaytsus"
Thank you for including US regions, but I have a question.  I see a terrain contour line or two..  Maybe every 100 meters?

Hi,

Please could you provide a osm-permalink for the region in question so that I can check it?

The interval of the contourlines is 20m.
However, the base dataset is from Nasa and is unfortunately unreliable.
This is the reason why there was no update of the USA-Maps since first upload.

The whole USA-Maps will be completely rerendered once Jonathan de Ferranti will have finished
the rework of the elevation data on his website http://www.viewfinderpanoramas.org (http://www.viewfinderpanoramas.org).
I'm looking forward to create a mapset for alaska too.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on September 09, 2012, 12:44:35
Quote from: "jurajs"
aaaa Christian ... help me out please....

was there any notable change in new osmosis 0.41

Hi,

Can't see anything enlighting in the error-log, sorry  :oops:

I'm still on osmosis 0.40.1 and Mapsforge-map-writer-0.3.0 official release.
Anyway, thanks for reporting this issue!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on September 09, 2012, 13:30:45
thanks for checking....
well i'm going back to 0.40.1
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tomas on September 12, 2012, 12:36:21
Some links for download of maps are missing on the first page. Can you fix it please?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on October 19, 2012, 17:32:20
hey.... you are so faaast reacting. it was missing there for just a flash of a second... right ?
....actually I am going to fix that right now ;) sorry tomas ;-)

but at least you will get the latest maps now.... :-)


edit
@tomas: all links should be valid now.

@all:
-almost all maps are freshly created.
-new map is added (GRE+ALB+CYP).
-map of France was not updated because i wasnt albe to figure it out at this moment.

viewtopic.php?f=43&t=1839#p11684 (http://forum.locusmap.eu/viewtopic.php?f=43&t=1839#p11684)
J.


edit
NEW VERSION OF PYGHTMAP (1.44) IS AVAILABLE...

http://katze.tfiu.de/projects/phyghtmap/download.html (http://katze.tfiu.de/projects/phyghtmap/download.html)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on October 20, 2012, 13:27:45
Quote
edit
NEW VERSION OF PYGHTMAP (1.44) IS AVAILABLE...

http://katze.tfiu.de/projects/phyghtmap/download.html (http://katze.tfiu.de/projects/phyghtmap/download.html)

Yep, with long awaited

.... skip-zero Option
.... hgt-directory Option
and some Bugfixes
seems a bit faster too processing border cuts
works with WinXP32/Python27

IMO it's highly recommended to switch to new Version
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on October 28, 2012, 19:44:04
Can anyone shed some light on what is happening here. The maps create fine, but have missing parts. First image has missing centre of map, zoom 1-7, whole map appears at zoom 8, but with squares of polygon data missing.

This happens with the old hgt data put through srtmfill, then deleted my hgt directory and downloaded the new corrected height data. still the same. this is my process, running OS X, phyghtmap, osmosis, mapwriter, enthought python all installed and running without errors:

Code: [Select]
phyghtmap --polygon=british_isles.poly -o terrain --viewfinder-mask=3 --srtm=3 --source=view3,srtm3 -j 16 -s 20 -c 100,20 --start-node-id=2000000000 --start-way-id=1000000000 --write-timestamp --max-nodes-per-tile=0

osmosis --rx british_isles.osm.bz2 --sort --wx map.sorted.osm
osmosis --rx terrain.osm --sort --wx terrain.sorted.osm
osmosis --rx map.sorted.osm --rx terrain.sorted.osm --merge --wx merged.osm
osmosis --rx merged.osm --mw file=british_isles.osm.map bbox=49,-12.58,62.47,3.22 type=hd tag-conf-file=tag-mapping.xml
Tag-mapping.xml
Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<tag-mapping xmlns="http://mapsforge.org/tag-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://mapsforge.org/tag-mapping ../resources/tag-mapping.xsd" default-zoom-appear="16"
profile-name="default-profile">

<!-- ************* POIS *************** -->

<!-- HIGHWAY TAGS -->
<pois>
<osm-tag key="highway" value="bus_stop" zoom-appear="15" />
<osm-tag key="highway" value="mini_roundabout" zoom-appear="17" />
<osm-tag key="highway" value="traffic_signals" zoom-appear="17" />
<osm-tag key="highway" value="turning_circle" zoom-appear="15" />
<osm-tag key="highway" value="tertiary_link" zoom-appear="12" />
</pois>

<!-- PUBLIC AMENITIES -->
<pois>
<osm-tag key="amenity" value="atm" zoom-appear="17" />
<osm-tag key="amenity" value="bank" zoom-appear="17" />
<osm-tag key="amenity" value="bench" zoom-appear="17" />
<osm-tag key="amenity" value="bicycle_rental" zoom-appear="17" />
<osm-tag key="amenity" value="bus_station" zoom-appear="15" />
<osm-tag key="amenity" value="cafe" zoom-appear="16" />
<osm-tag key="amenity" value="cinema" zoom-appear="17" />
<osm-tag key="amenity" value="drinking_water" zoom-appear="15" />
<osm-tag key="amenity" value="fast_food" zoom-appear="16" />
<osm-tag key="amenity" value="fountain" zoom-appear="17" />
<osm-tag key="amenity" value="fire_station" zoom-appear="17" />
<osm-tag key="amenity" value="fuel" zoom-appear="16" />
<osm-tag key="amenity" value="hospital" zoom-appear="15" />
<osm-tag key="amenity" value="kindergarten" zoom-appear="17" />
<osm-tag key="amenity" value="library" zoom-appear="17" />
<osm-tag key="amenity" value="parking" zoom-appear="16" />
<osm-tag key="amenity" value="pharmacy" zoom-appear="16" />
<osm-tag key="amenity" value="place_of_worship" zoom-appear="15" />
<osm-tag key="amenity" value="police" zoom-appear="16" />
<osm-tag key="amenity" value="post_box" zoom-appear="17" />
<osm-tag key="amenity" value="post_office" zoom-appear="17" />
<osm-tag key="amenity" value="pub" zoom-appear="16" />
<osm-tag key="amenity" value="recycling" zoom-appear="17" />
<osm-tag key="amenity" value="restaurant" zoom-appear="15" />
<osm-tag key="amenity" value="school" zoom-appear="17" />
<osm-tag key="amenity" value="shelter" zoom-appear="16" />
<osm-tag key="amenity" value="telephone" zoom-appear="17" />
<osm-tag key="amenity" value="theatre" zoom-appear="17" />
<osm-tag key="amenity" value="toilets" zoom-appear="17" />
<osm-tag key="amenity" value="university" zoom-appear="17" />

<osm-tag key="emergency" value="phone" zoom-appear="16" />

<osm-tag key="leisure" value="playground" zoom-appear="17" />
<osm-tag key="leisure" value="slipway" zoom-appear="17" />

<osm-tag key="religion" value="christian" renderable="false" />
<osm-tag key="religion" value="jewish" renderable="false" />
<osm-tag key="religion" value="muslim" renderable="false" />

<osm-tag key="shop" value="bakery" zoom-appear="17" />
<osm-tag key="shop" value="hairdresser" zoom-appear="17" />
<osm-tag key="shop" value="organic" zoom-appear="17" />
<osm-tag key="shop" value="supermarket" zoom-appear="15" />
</pois>

<!-- PUBLIC TRANSPORT TAGS -->
<pois>
<osm-tag key="railway" value="halt" zoom-appear="15" />
<osm-tag key="railway" value="level_crossing" zoom-appear="16" />
<osm-tag key="railway" value="station" zoom-appear="14" />
<osm-tag key="railway" value="tram_stop" zoom-appear="15" />

<osm-tag key="station" value="light_rail" zoom-appear="15">
<zoom-override key="railway" value="station" />
</osm-tag>
<osm-tag key="station" value="subway" zoom-appear="15">
<zoom-override key="railway" value="station" />
</osm-tag>
</pois>

<!-- TOURISM TAGS -->
<pois>
<osm-tag key="tourism" value="alpine_hut" zoom-appear="14" />
<osm-tag key="tourism" value="attraction" zoom-appear="16" />
<osm-tag key="tourism" value="hostel" zoom-appear="15" />
<osm-tag key="tourism" value="hotel" zoom-appear="15" />
<osm-tag key="tourism" value="information" zoom-appear="15" />
<osm-tag key="tourism" value="museum" zoom-appear="16" />
<osm-tag key="tourism" value="viewpoint" zoom-appear="15" />

<osm-tag key="tourism" value="caravan_site" zoom-appear="14" />
<osm-tag key="tourism" value="camp_site" zoom-appear="14" />


<osm-tag key="historic" value="memorial" zoom-appear="16" />
<osm-tag key="historic" value="monument" zoom-appear="16" />
</pois>

<!-- PLACES TAGS -->
<pois>
<osm-tag key="place" value="city" zoom-appear="6" />
<osm-tag key="place" value="country" zoom-appear="3" />
<osm-tag key="place" value="hamlet" zoom-appear="13" />
<osm-tag key="place" value="island" zoom-appear="12" />
<osm-tag key="place" value="suburb" zoom-appear="12" />
<osm-tag key="place" value="town" zoom-appear="9" />
<osm-tag key="place" value="village" zoom-appear="12" />
</pois>

<!-- NATURAL TAGS -->
<pois>
<osm-tag key="natural" value="cave_entrance" zoom-appear="14" />
<osm-tag key="natural" value="peak" zoom-appear="13" />
<osm-tag key="natural" value="spring" zoom-appear="15" />
<osm-tag key="natural" value="tree" zoom-appear="16" />
<osm-tag key="natural" value="volcano" zoom-appear="12" />
</pois>

<!-- OTHER POIS -->
<pois>
<osm-tag key="barrier" value="bollard" zoom-appear="17" />
<osm-tag key="barrier" value="cycle_barrier" zoom-appear="17" />

<osm-tag key="man_made" value="lighthouse" zoom-appear="15" />
<osm-tag key="man_made" value="surveillance" zoom-appear="16" />
<osm-tag key="man_made" value="tower" zoom-appear="16" />
<osm-tag key="man_made" value="windmill" zoom-appear="16" />

<osm-tag key="power" value="generator" zoom-appear="16" />
<osm-tag key="power" value="tower" zoom-appear="16" />
</pois>

<!-- AIRPORT TAGS -->
<pois>
<osm-tag key="aeroway" value="aerodrome" zoom-appear="12" />
<osm-tag key="aeroway" value="airport" zoom-appear="12" />
<osm-tag key="aeroway" value="gate" zoom-appear="17" />
<osm-tag key="aeroway" value="helipad" zoom-appear="17" />
</pois>



<!-- ************* WAYS *************** -->

<!-- HIGHWAY TAGS -->
<ways>
<osm-tag key="highway" value="bridleway" zoom-appear="13" />
<osm-tag key="highway" value="bus_guideway" zoom-appear="13" />
<osm-tag key="highway" value="byway" zoom-appear="13" />
<osm-tag key="highway" value="construction" zoom-appear="13" />
<osm-tag key="highway" value="cycleway" zoom-appear="13" />
<osm-tag key="highway" value="footway" zoom-appear="13" />
<osm-tag key="highway" value="living_street" zoom-appear="13" />
<osm-tag key="highway" value="motorway" zoom-appear="6" />
<osm-tag key="highway" value="motorway_link" zoom-appear="6" />
<osm-tag key="highway" value="path" zoom-appear="13" />
<osm-tag key="highway" value="pedestrian" zoom-appear="13" />
<osm-tag key="highway" value="primary" zoom-appear="8" />
<osm-tag key="highway" value="primary_link" zoom-appear="8" />
<osm-tag key="highway" value="raceway" zoom-appear="12" />
<osm-tag key="highway" value="residential" zoom-appear="12" />
<osm-tag key="highway" value="road" zoom-appear="12" />
<osm-tag key="highway" value="secondary" zoom-appear="11" />
<osm-tag key="highway" value="secondary_link" zoom-appear="11" />
<osm-tag key="highway" value="service" zoom-appear="13" />
<osm-tag key="highway" value="services" zoom-appear="13" />
<osm-tag key="highway" value="steps" zoom-appear="15" />
<osm-tag key="highway" value="tertiary" zoom-appear="12" />
<osm-tag key="highway" value="track" zoom-appear="13" />
<osm-tag key="highway" value="trunk" zoom-appear="6" />
<osm-tag key="highway" value="trunk_link" zoom-appear="6" />
<osm-tag key="highway" value="unclassified" zoom-appear="13" />
</ways>

<!-- NATURAL / WATERWAY TAGS -->
<ways>
<osm-tag key="lock" value="yes" zoom-appear="14" />

<osm-tag key="natural" value="beach" zoom-appear="10" />
<osm-tag key="natural" value="coastline" zoom-appear="0" />
<osm-tag key="natural" value="glacier" zoom-appear="8" enabled="false" />
<osm-tag key="natural" value="heath" zoom-appear="10" />
<osm-tag key="natural" value="land" zoom-appear="8" />
<osm-tag key="natural" value="marsh" zoom-appear="12" />
<osm-tag key="natural" value="scrub" zoom-appear="10" />
<osm-tag key="natural" value="water" zoom-appear="8" />
<osm-tag key="natural" value="wetland" zoom-appear="10" />
<osm-tag key="natural" value="wood" zoom-appear="8" />

<osm-tag key="waterway" value="canal" zoom-appear="10" />
<osm-tag key="waterway" value="dam" zoom-appear="10" />
<osm-tag key="waterway" value="drain" zoom-appear="13" />
<osm-tag key="waterway" value="river" zoom-appear="8" />
<osm-tag key="waterway" value="riverbank" zoom-appear="8" />
<osm-tag key="waterway" value="stream" zoom-appear="12" />
<osm-tag key="waterway" value="dock" zoom-appear="8" />
</ways>

<!-- LANDUSE TAGS -->
<ways>
<osm-tag key="landuse" value="allotments" zoom-appear="10" />
<osm-tag key="landuse" value="basin" zoom-appear="12" />
<osm-tag key="landuse" value="brownfield" zoom-appear="10" />
<osm-tag key="landuse" value="cemetery" zoom-appear="10" />
<osm-tag key="landuse" value="commercial" zoom-appear="10" />
<osm-tag key="landuse" value="construction" zoom-appear="12" />
<osm-tag key="landuse" value="farm" zoom-appear="12" />
<osm-tag key="landuse" value="farmland" zoom-appear="12" />
<osm-tag key="landuse" value="forest" zoom-appear="8" />
<osm-tag key="landuse" value="grass" zoom-appear="12" />
<osm-tag key="landuse" value="greenfield" zoom-appear="12" />
<osm-tag key="landuse" value="industrial" zoom-appear="10" />
<osm-tag key="landuse" value="landfill" zoom-appear="12" />
<osm-tag key="landuse" value="meadow" zoom-appear="12" />
<osm-tag key="landuse" value="military" zoom-appear="10" />
<osm-tag key="landuse" value="quarry" zoom-appear="10" />
<osm-tag key="landuse" value="railway" zoom-appear="10" />
<osm-tag key="landuse" value="recreation_ground" zoom-appear="10" />
<osm-tag key="landuse" value="reservoir" zoom-appear="10" />
<osm-tag key="landuse" value="residential" zoom-appear="10" />
<osm-tag key="landuse" value="retail" zoom-appear="10" />
<osm-tag key="landuse" value="village_green" zoom-appear="10" />
<osm-tag key="landuse" value="vineyard" zoom-appear="12" />
<osm-tag key="landuse" value="wood" zoom-appear="8" />
</ways>

<!-- LEISURE/SPORT TAGS -->
<ways>
<osm-tag key="leisure" value="common" zoom-appear="12" />
<osm-tag key="leisure" value="dog_park" zoom-appear="12" />
<osm-tag key="leisure" value="garden" zoom-appear="12" />
<osm-tag key="leisure" value="golf_course" zoom-appear="12" />
<osm-tag key="leisure" value="nature_reserve" zoom-appear="12" />
<osm-tag key="leisure" value="park" zoom-appear="10" />
<osm-tag key="leisure" value="pitch" zoom-appear="12" />
<osm-tag key="leisure" value="playground" zoom-appear="12" />
<osm-tag key="leisure" value="sports_centre" zoom-appear="12" />
<osm-tag key="leisure" value="stadium" zoom-appear="10" />
<osm-tag key="leisure" value="track" zoom-appear="12" />
<osm-tag key="leisure" value="water_park" zoom-appear="12" />

<osm-tag key="sport" value="golf" zoom-appear="12" />
<osm-tag key="sport" value="shooting" zoom-appear="12" />
<osm-tag key="sport" value="soccer" zoom-appear="12" />
<osm-tag key="sport" value="swimming" zoom-appear="12" />
<osm-tag key="sport" value="tennis" zoom-appear="12" />
</ways>

<!-- PUBLIC AMENITIES -->
<ways>
<osm-tag key="amenity" value="college" zoom-appear="13" />
<osm-tag key="amenity" value="embassy" zoom-appear="13" />
<osm-tag key="amenity" value="fountain" zoom-appear="16" />
<osm-tag key="amenity" value="grave_yard" zoom-appear="13" />
<osm-tag key="amenity" value="hospital" zoom-appear="13" />
<osm-tag key="amenity" value="parking" zoom-appear="14" />
<osm-tag key="amenity" value="school" zoom-appear="14" />
<osm-tag key="amenity" value="theatre" zoom-appear="14" />
<osm-tag key="amenity" value="toilets" zoom-appear="17" />
<osm-tag key="amenity" value="university" zoom-appear="13" />

<osm-tag key="tourism" value="attraction" zoom-appear="14" />
<osm-tag key="tourism" value="hostel" zoom-appear="15" />
<osm-tag key="tourism" value="zoo" zoom-appear="12" />
</ways>

<!-- PUBLIC TRANSPORT -->
<ways>
<osm-tag key="route" value="ferry" zoom-appear="12" />
<osm-tag key="railway" value="light_rail" zoom-appear="12" />
<osm-tag key="railway" value="narrow_gauge" zoom-appear="14" />
<osm-tag key="railway" value="platform" zoom-appear="14" />
<osm-tag key="railway" value="rail" zoom-appear="10" />
<osm-tag key="railway" value="station" zoom-appear="14" />
<osm-tag key="railway" value="subway" zoom-appear="15" />
<osm-tag key="railway" value="tram" zoom-appear="15" />
</ways>

<!-- BUILDINGS -->
<ways>
<osm-tag key="building" value="apartments" zoom-appear="15" />
<osm-tag key="building" value="embassy" zoom-appear="15" />
<osm-tag key="building" value="government" zoom-appear="13" />
<osm-tag key="building" value="gym" zoom-appear="15" />
<osm-tag key="building" value="hangar" zoom-appear="15" />
<osm-tag key="building" value="hotel" zoom-appear="15" />
<osm-tag key="building" value="library" zoom-appear="15" />
<osm-tag key="building" value="museum" zoom-appear="15" />
<osm-tag key="building" value="office" zoom-appear="15" />
<osm-tag key="building" value="roof" zoom-appear="15" />
<osm-tag key="building" value="ruins" zoom-appear="15" />
<osm-tag key="building" value="service" zoom-appear="15" />
<osm-tag key="building" value="sports" zoom-appear="15" />
<osm-tag key="building" value="train_station" zoom-appear="14" />
<osm-tag key="building" value="university" zoom-appear="13" />
<osm-tag key="building" value="yes" zoom-appear="15" />
</ways>

<!-- ADMINISTRATIVE BOUNDARIES -->
<ways>

<osm-tag key="admin_level" value="1" force-polygon-line="true" zoom-appear="4">
<zoom-override key="boundary" value="administrative" />
</osm-tag>
<osm-tag key="admin_level" value="2" force-polygon-line="true" zoom-appear="4">
<zoom-override key="boundary" value="administrative" />
</osm-tag>
<osm-tag key="admin_level" value="3" force-polygon-line="true" zoom-appear="4">
<zoom-override key="boundary" value="administrative" />
</osm-tag>
<osm-tag key="admin_level" value="4" force-polygon-line="true" zoom-appear="6">
<zoom-override key="boundary" value="administrative" />
</osm-tag>
<!-- <osm-tag key="admin_level" value="6" force-polygon-line="true" zoom-appear="15" /> <osm-tag key="admin_level" value="8"
force-polygon-line="true" zoom-appear="16" /> <osm-tag key="admin_level" value="9" force-polygon-line="true" zoom-appear="16"
/> <osm-tag key="admin_level" value="10" force-polygon-line="true" zoom-appear="16" /> -->
</ways>

<!-- AIRPORT TAGS -->
<ways>
<osm-tag key="aeroway" value="aerodrome" zoom-appear="13" />
<osm-tag key="aeroway" value="apron" zoom-appear="13" />
<osm-tag key="aeroway" value="helipad" zoom-appear="17" />
<osm-tag key="aeroway" value="runway" zoom-appear="10" />
<osm-tag key="aeroway" value="taxiway" zoom-appear="10" />
<osm-tag key="aeroway" value="terminal" zoom-appear="15" />
</ways>

<!-- SKI SLOPES TAGS -->
<ways>
<osm-tag key="piste:type" value="downhill" zoom-appear="13" />
<osm-tag key="piste:type" value="nordic" zoom-appear="13" />
<osm-tag key="piste:type" value="sled" zoom-appear="13" />
<osm-tag key="aerialway" value="cable_car" zoom-appear="13" />
<osm-tag key="aerialway" value="chair_lift" zoom-appear="13" />
<osm-tag key="aerialway" value="drag_lift" zoom-appear="13" />
<osm-tag key="aerialway" value="gondola" zoom-appear="13" />
<osm-tag key="aerialway" value="magic_carpet" zoom-appear="13" />
<osm-tag key="aerialway" value="mixed_lift" zoom-appear="13" />
<osm-tag key="aerialway" value="rope_tow" zoom-appear="13" />
</ways>

<!-- OTHER TAGS -->
<ways>
<osm-tag key="barrier" value="city_wall" zoom-appear="14" />
<osm-tag key="barrier" value="fence" zoom-appear="14" />
<osm-tag key="barrier" value="retaining_wall" zoom-appear="16" />
<osm-tag key="barrier" value="wall" zoom-appear="16" />

<osm-tag key="boundary" value="administrative" force-polygon-line="true" zoom-appear="0" enabled="false" />
<osm-tag key="boundary" value="national_park" force-polygon-line="true" zoom-appear="12" />
<osm-tag key="boundary" value="protected_landscape_area" force-polygon-line="true" zoom-appear="12" />
<osm-tag key="boundary" value="protected_area" force-polygon-line="true" zoom-appear="12" />

<osm-tag key="historic" value="ruins" zoom-appear="17" />
<osm-tag key="historic" value="castle" zoom-appear="15" />

<osm-tag key="man_made" value="pier" zoom-appear="15" />

<osm-tag key="military" value="airfield" zoom-appear="12" />
<osm-tag key="military" value="barracks" zoom-appear="12" />
<osm-tag key="military" value="naval_base" zoom-appear="12" />

<osm-tag key="place" value="locality" zoom-appear="17" />

<osm-tag key="area" value="yes" zoom-appear="12" />
</ways>

<!-- NOT TO RENDER -->
<ways>
<osm-tag key="access" value="destination" renderable="false" />
<osm-tag key="access" value="private" renderable="false" />

<osm-tag key="bridge" value="yes" renderable="false" />

<osm-tag key="oneway" value="yes" equivalent-values="1,true" renderable="false" />
<osm-tag key="oneway" value="-1" renderable="false" />
<osm-tag key="oneway" value="no" equivalent-values="0,false" renderable="false" />

<osm-tag key="piste:difficulty" value="novice" renderable="false" />
<osm-tag key="piste:difficulty" value="easy" renderable="false" />
<osm-tag key="piste:difficulty" value="intermediate" renderable="false" />
<osm-tag key="piste:difficulty" value="advanced" renderable="false" />
<osm-tag key="piste:difficulty" value="expert" renderable="false" />
<osm-tag key="piste:difficulty" value="freeride" renderable="false" />

<osm-tag key="tracktype" value="grade1" renderable="false" />
<osm-tag key="tracktype" value="grade2" renderable="false" />
<osm-tag key="tracktype" value="grade3" renderable="false" />
<osm-tag key="tracktype" value="grade4" renderable="false" />
<osm-tag key="tracktype" value="grade5" renderable="false" />

<osm-tag key="tunnel" value="yes" renderable="false" />
<osm-tag key="tunnel" value="no" renderable="false" />

<osm-tag key="wood" value="coniferous" renderable="false" />
<osm-tag key="wood" value="deciduous" renderable="false" />
<osm-tag key="wood" value="mixed" renderable="false" />
</ways>

   <!-- Elevation TAGS -->
   <ways>
      <osm-tag key="contour_ext" value="elevation_minor" zoom-appear="12" force-polygon-line="true" />
      <osm-tag key="contour_ext" value="elevation_medium" zoom-appear="10" force-polygon-line="true" />
      <osm-tag key="contour_ext" value="elevation_major" zoom-appear="6" force-polygon-line="true" />
      <osm-tag key="ele" value="100" zoom-appear="13" />
      <osm-tag key="ele" value="200" zoom-appear="13" />
      <osm-tag key="ele" value="300" zoom-appear="13" />
      <osm-tag key="ele" value="400" zoom-appear="13" />
      <osm-tag key="ele" value="500" zoom-appear="13" />
      <osm-tag key="ele" value="600" zoom-appear="13" />
      <osm-tag key="ele" value="700" zoom-appear="13" />
      <osm-tag key="ele" value="800" zoom-appear="13" />
      <osm-tag key="ele" value="900" zoom-appear="13" />
      <osm-tag key="ele" value="1000" zoom-appear="13" />
      <osm-tag key="ele" value="1100" zoom-appear="13" />
      <osm-tag key="ele" value="1200" zoom-appear="13" />
      <osm-tag key="ele" value="1300" zoom-appear="13" />
      <osm-tag key="ele" value="1400" zoom-appear="13" />
      <osm-tag key="ele" value="1500" zoom-appear="13" />
      <osm-tag key="ele" value="1600" zoom-appear="13" />
      <osm-tag key="ele" value="1700" zoom-appear="13" />
      <osm-tag key="ele" value="1800" zoom-appear="13" />
      <osm-tag key="ele" value="1900" zoom-appear="13" />
      <osm-tag key="ele" value="2000" zoom-appear="13" />
      <osm-tag key="ele" value="2100" zoom-appear="13" />
      <osm-tag key="ele" value="2200" zoom-appear="13" />
      <osm-tag key="ele" value="2300" zoom-appear="13" />
      <osm-tag key="ele" value="2400" zoom-appear="13" />
      <osm-tag key="ele" value="2500" zoom-appear="13" />
      <osm-tag key="ele" value="2600" zoom-appear="13" />
      <osm-tag key="ele" value="2700" zoom-appear="13" />
      <osm-tag key="ele" value="2800" zoom-appear="13" />
      <osm-tag key="ele" value="2900" zoom-appear="13" />
      <osm-tag key="ele" value="3000" zoom-appear="13" />
      <osm-tag key="ele" value="3100" zoom-appear="13" />
      <osm-tag key="ele" value="3200" zoom-appear="13" />
      <osm-tag key="ele" value="3300" zoom-appear="13" />
      <osm-tag key="ele" value="3400" zoom-appear="13" />
      <osm-tag key="ele" value="3500" zoom-appear="13" />
      <osm-tag key="ele" value="3600" zoom-appear="13" />
      <osm-tag key="ele" value="3700" zoom-appear="13" />
      <osm-tag key="ele" value="3800" zoom-appear="13" />
      <osm-tag key="ele" value="3900" zoom-appear="13" />
      <osm-tag key="ele" value="4000" zoom-appear="13" />
      <osm-tag key="ele" value="4100" zoom-appear="13" />
      <osm-tag key="ele" value="4200" zoom-appear="13" />
      <osm-tag key="ele" value="4300" zoom-appear="13" />
      <osm-tag key="ele" value="4400" zoom-appear="13" />
      <osm-tag key="ele" value="4500" zoom-appear="13" />
      <osm-tag key="ele" value="4600" zoom-appear="13" />
      <osm-tag key="ele" value="4700" zoom-appear="13" />
      <osm-tag key="ele" value="4800" zoom-appear="13" />
      <osm-tag key="ele" value="4900" zoom-appear="13" />
      <osm-tag key="ele" value="5000" zoom-appear="13" />
      <osm-tag key="ele" value="5100" zoom-appear="13" />
      <osm-tag key="ele" value="5200" zoom-appear="13" />
      <osm-tag key="ele" value="5300" zoom-appear="13" />
      <osm-tag key="ele" value="5400" zoom-appear="13" />
      <osm-tag key="ele" value="5500" zoom-appear="13" />
      <osm-tag key="ele" value="5600" zoom-appear="13" />
      <osm-tag key="ele" value="5700" zoom-appear="13" />
      <osm-tag key="ele" value="5800" zoom-appear="13" />
      <osm-tag key="ele" value="5900" zoom-appear="13" />
      <osm-tag key="ele" value="6000" zoom-appear="13" />
      <osm-tag key="ele" value="6100" zoom-appear="13" />
      <osm-tag key="ele" value="6200" zoom-appear="13" />
      <osm-tag key="ele" value="6300" zoom-appear="13" />
      <osm-tag key="ele" value="6400" zoom-appear="13" />
      <osm-tag key="ele" value="6500" zoom-appear="13" />
      <osm-tag key="ele" value="6600" zoom-appear="13" />
      <osm-tag key="ele" value="6700" zoom-appear="13" />
      <osm-tag key="ele" value="6800" zoom-appear="13" />
      <osm-tag key="ele" value="6900" zoom-appear="13" />
      <osm-tag key="ele" value="7000" zoom-appear="13" />
   </ways>  

</tag-mapping>
Country.poly
Code: [Select]
polygon
1
   3.224061E+00   5.213225E+01
   5.807600E-02   5.010375E+01
   -2.031990E+00   4.976171E+01
   -1.773810E+00   4.900000E+01
   -7.598576E+00   4.941920E+01
   -1.076456E+01   5.043397E+01
   -1.257937E+01   5.316095E+01
   -8.552346E+00   5.896746E+01
   -1.637515E+00   6.113564E+01
   2.435310E-01   6.109084E+01
   9.781600E-02   5.942198E+01
   7.998970E-01   5.579959E+01
   3.224061E+00   5.213225E+01
END
END

any help would be greatly appreciated. And yes I know I have contour data set to display at a low zoom, I like the way it looks, and I had the same errors when I have it set to display at much higher zooms also.

[attachment=1:16vgygub]Screenshot_2012-10-28-17-28-03.png[/attachment:16vgygub][attachment=0:16vgygub]Screenshot_2012-10-28-17-29-22.png[/attachment:16vgygub]
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on October 28, 2012, 21:51:26
well...

my humble guess is that it's problem of rendering... not the map data (including contour data).
I would say that there are simply too many rendered objects to be handled correctly by the mapsforge rendering library.

What about zooms 13... 14+? ... do you have the same "missing objects" problem too ?

and regarding the pyghtmap commnad... I have just one thing to point out here: whould you try to change "-c" values ? e.g. to 200,100 ? the purpose is that elevation_minor and elevation_medium are different.

J.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: cranberry on October 29, 2012, 13:55:00
Quote from: "jurajs"
any hints for improvements are welcome.

Hi, it would be nice to have also:

~ at row 260: railway=preserved e.g. http://www.openstreetmap.org/browse/way/160624419 (http://www.openstreetmap.org/browse/way/160624419) Schafbergbahn
~ at row 272: building=church a lot of (big) churches are missing now e.g. http://www.openstreetmap.org/browse/way/29469492 (http://www.openstreetmap.org/browse/way/29469492)

Thank you all for the maps and the themes.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on October 29, 2012, 18:52:00
Thanks Jurajs, There seems to be 2 problems, before you replied, I rebuilt the map removing View1 and Srtm1 from Phyghtmap command, and the missing contours problem in the second image have gone, I did notice that a handful of view1 files were downloaded.  :D I will rebuild again with your suggestions to see if that works. Strange it only happens in Zoom 1 to 7, no contours are rendered in 1 to 5, and everything displays great from Zoom 8 onwards, even 13 & 14.

I will report back tomorrow when the map is rebuilt.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on October 29, 2012, 22:49:20
hi col...

i hope it will work for you now....
btw: using just view3 source should be enough. see post written by kech61 viewtopic.php?f=43&t=1839&p=14620&#p14620 (http://forum.locusmap.eu/viewtopic.php?f=43&t=1839&p=14620&#p14620)

J.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: john_percy on October 31, 2012, 15:29:20
Currently, the "sea level" contour line disagrees with the coastline. My workaround is to simply amend the theme to hide the elevation=0 contour line, relying on the fact that the tag mapping does not add elevation data to this line. This won't work in areas where the land comes down steeply to sea level as other contour lines may stray into the sea area. And if you use a map with sea tiles from OpenAndroMaps (http://http://www.openandromaps.org/en/download.html), then this is not needed - those maps seem to hide the zero elevation contour line by default.
Is there a better way of doing this?
Code: [Select]
<!-- contour lines level 12 -->
<rule e="way" k="contour_ext" v="*" zoom-min="12" zoom-max="12">  
  <rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#60800000" stroke-width="0.3"/>
  </rule>
  <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
<line stroke="#60800000" stroke-width="0.6"/>
</rule>
  </rule>
</rule>
<!-- contour lines level 13 -->
<rule e="way" k="contour_ext" v="*" zoom-min="13" zoom-max="13">
  <rule e="way" k="contour_ext" v="elevation_minor">  
 <line stroke="#60800000" stroke-width="0.2"/>
  </rule>
  <rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
 <line stroke="#60800000" stroke-width="0.5"/>
</rule>
  </rule>
</rule>
<!-- contour lines level 14-->
<rule e="way" k="contour_ext" v="*" zoom-min="14" zoom-max="14">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#60800000" stroke-width="0.15"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
<line stroke="#60800000" stroke-width="0.4"/>
<pathText k="ele" font-style="bold" font-size="10" fill="#60800000" stroke="#60ffffff" stroke-width="2.0" />
</rule>
</rule>  
</rule>
<!-- contour lines level 15-->
<rule e="way" k="contour_ext" v="*" zoom-min="15" zoom-max="15">
<rule e="way" k="contour_ext" v="elevation_minor" zoom-max="15">  
<line stroke="#60800000" stroke-width="0.12"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
<line stroke="#60800000" stroke-width="0.3"/>
<pathText k="ele" font-style="bold" font-size="10" fill="#60800000" stroke="#60ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>
<!-- contour lines level 16 -->
<rule e="way" k="contour_ext" v="*" zoom-min="16" zoom-max="16">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#60800000" stroke-width="0.08"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
<line stroke="#60800000" stroke-width="0.2"/>
<pathText k="ele" font-style="bold" font-size="10" fill="#60800000" stroke="#60ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>  
<!-- contour lines level 17 and above -->
<rule e="way" k="contour_ext" v="*" zoom-min="17">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#60800000" stroke-width="0.06"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<rule e="way" k="ele" v="*">
<line stroke="#60800000" stroke-width="0.15"/>
<pathText k="ele" font-style="bold" font-size="10" fill="#60800000" stroke="#60ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>
Sea level contour line, before and after (there are other differences between the themes)
[attachment=1:the7iu35]2012-10-31 14.05.21.jpg[/attachment:the7iu35]
Zero level contour line hidden in OpenAndroMaps sea tile maps:[attachment=0:the7iu35]2012-10-31 14.06.05.jpg[/attachment:the7iu35]
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on November 02, 2012, 12:40:59
Quote from: "john_percy"
Currently, the "sea level" contour line disagrees with the coastline. My workaround is to simply amend the theme to hide the elevation=0 contour line, relying on the fact that the tag mapping does not add elevation data to this line. This won't work in areas where the land comes down steeply to sea level as other contour lines may stray into the sea area. And if you use a map with sea tiles from OpenAndroMaps (http://http://www.openandromaps.org/en/download.html), then this is not needed - those maps seem to hide the zero elevation contour line by default.
Is there a better way of doing this?

Hi John,

I recommend to use phyghtmap V1.44, it has an option (-0) to skip the creation of the zero-contourline.
So there is no more need to hack phyghtmap as it was necessary up to V1.43 or to play arround with the theme.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on November 02, 2012, 13:11:52
Quote from: "col"
Can anyone shed some light on what is happening here. The maps create fine, but have missing parts. First image has missing centre of map, zoom 1-7, whole map appears at zoom 8, but with squares of polygon data missing.

Hi col,

As Jurajs mentioned, this is an issue of displaying too much data.
Keep in mind that:
- every time you zoom out 4 times the amount of data have to be rendered
- you render data on a smartphone, this means 1GHz cpu, one core, a couple of MB Ram, a usual Tileserver has at least 4cores an 32Gb ram..

To look deeper into this issue:
Per default Mapsforge stores data into 3 BaseZoomlevels
- 0-7
- 8-11
- 12-22
So if you store  <osm-tag key="contour_ext" value="elevation_major" zoom-appear="6" force-polygon-line="true" /> it means that this have to be prozessed (checked at least) in level 0 to 7  :shock: result is crash.
Same with  <osm-tag key="contour_ext" value="elevation_medium" zoom-appear="10" force-polygon-line="true" /> it means that this have to be prozessed in level 8 to 11

I do not recommend to use elevation Data above Level 12

However, the BaseZoolLevel can be modified by the param "zoom-interval-conf".
For some Maps I use 4 BaseLevels zoom-interval-conf=5,0,6,8,7,9,11,10,12,15,13,21
0-6
7-9
10-12
13-21
With this conf. you MAY try to start contourlines (mayor, medium) at level 10,
IF you move tags that you do not realy need at level 12 to level 13.

There is another issue for rendering Data in Levels 0-11: simplification-factor

"simplifies ways and polygons with a topology preserving algorithm similar to the Douglas Peucker algorithm, using as the maximum distance difference value the given simplification factor (evaluated in pixels on max zoom level of a base zoom level); on base zoom levels higher than 12, no simplification is computed,  Default=5"

This means that per default ways are simplyfied in these levels to reduce memory footprint resulting in ugly/useless contourlines.

Critical Areas in Europe (not only for contourlines):
Netherlands, Germany along the NL Border, UK mid+south
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on November 04, 2012, 21:17:38
Thanks both Jurajs & Kech61 for your detailed reply. I have been busy so have not had time to return to some rendering of maps, but will give it a go in the next few days with the information in mind. Have either of you tried building and using the newest version of map-writer pluging with the coastline? Have some Maven issues but intrested in the results.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on November 05, 2012, 17:22:33
Quote from: "col"
Have either of you tried building and using the newest version of map-writer pluging with the coastline? Have some Maven issues but intrested in the results.

No, the plugin has several pitfalls compared to my solution:
- pure 64bit
- need lots of memory (type=HD does'nt work)
- no chance to correct faulty polygons (there are several)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: col on November 05, 2012, 18:49:42
Ok thanks for the heads up. I have also just found your cycle/hike/coastline maps, that kind of makes it unneccessary for me to do my own maps at the moment, at least until the mapwriter is updated to include rendering of cycleways and hiking routes. Thanks for supplying them, will look forward to the map of Great Britain to include hiking.

Regards

Col
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: sebbo on January 23, 2013, 14:23:08
did anybody manage to get this stuff running on a linux (ubuntu server) machine?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on January 24, 2013, 16:11:39
Quote from: "sebbo"
did anybody manage to get this stuff running on a linux (ubuntu server) machine?

All tools are running on Linux too, it should be no problem to set this stuff up on an Ubuntu machine.
In the contrary, it will be easier cause you dont have to hassle with <cr><lf> line endings, the shell scripts are more powerfull than DOS-Batches, compiling the gdal-bindings for Phyton on Windows is a pain - on Linux its straight forward, aso...

Best regards
Christian
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: vitamin on March 04, 2013, 14:02:02
As I need to make some screen shots in full screen size, could you tell me please if there is a way to view those maps on Windows XP machine?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 09, 2013, 20:50:14
hi there guys....

i was going to create new bunch of maps.... and as i am looking around... i can see that new pyghtmap is out... also new osmosis.... but that bloody mapsfogre map-writer plugin is more than 1 year old... still on the 0.3.0  :-( so the latest possible osmosis here to use is still 0.40.1 ? am i right ? :-(

jurajs
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joe76 on April 10, 2013, 09:06:19
France 2012-05-29 (1095 MB): https://docs.google.com/open?id=0B3Ijv5 ... WNKaVJsLVE (https://docs.google.com/open?id=0B3Ijv5irWwU7SGh5OWNKaVJsLVE)
--> NOT FOUND???
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on April 10, 2013, 10:12:22
hi joe.... France is missing at the moment... please be patient... I am trying to build brand new maps at the moment... but tihs can take few more days.... please check again in a week or so....

jurajs
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gazoox on June 26, 2013, 22:03:44
Hi Jurajs.

Don't you do any more updates? Is it planned to get updates?

You map of 2012 is still better quality with the data included in the zoom levels in comparison to the maps from www.openandromaps.org (http://www.openandromaps.org)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: tommi on June 26, 2013, 22:18:02
Quote from: "gazoox"
Hi Jurajs.

Don't you do any more updates? Is it planned to get updates?

You map of 2012 is still better quality with the data included in the zoom levels in comparison to the maps from http://www.openandromaps.org (http://www.openandromaps.org)
Hi gazoox,
could you add screenshots to explain what you mean?
Thanks,
Tommi
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on June 28, 2013, 12:49:17
Quote from: "gazoox"
You map of 2012 is still better quality with the data included in the zoom levels in comparison to the maps from http://www.openandromaps.org (http://www.openandromaps.org)

What do you miss in the maps of openandromaps, I always try to improve them - all ideas and critics are welcome.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gazoox on June 30, 2013, 14:59:38
Hello! Very nice to meet all the important people here  :P

Don't get me wrong. All maps are very good. Until now I used the vector cards from jurajs here. But now they are quite outdated. Locus paied maps are very similar so currently I switched over to them. Openandro is the next to use.


The following comparison is between the locus payed vector map and openandro.

screenshots: https://plus.google.com/photos/10201625 ... vsn6qbiWOg (https://plus.google.com/photos/102016253991879883284/albums/5894629343222174161?authkey=CNz_vsn6qbiWOg)
Pictures are full HD from S4.
My Theme: viewtopic.php?t=2181 (http://forum.locusmap.eu/viewtopic.php?t=2181)



Suggested improvment in Openandro:
  • Zoom Level 8 and 9 should always have wood area drawed. It's easier to orient on the card with it.
  • Amound of village / city naming differs. The locus map naming is better in Zoom Level 8 and 9. Isn't it? (Maybe openandro is better for other resolutions?)[/b]


    • Hillshade suggestion for Openandro and Locus:[/b]
      There is no hillshade map for locus to download not even a paied one.
      The payed version of *smand can download a build in hillshade map (sqlite). I'm using this in Locus offline. It would be great of someone could offer a hillshade map for locus, too.
      Unfortunately the *smand hillshade is available till Zoomlevel 11 only. Locus does not use the last Level 11 for Zoomlevel 12 and higher. So it is not visible. A new locus software improvment could use the last level availible for the other levels and streching the bitmap. It may not make sense to generate a hillshare till the deepest zoom level.
      https://getsatisfaction.com/locus/topic ... rent_level (https://getsatisfaction.com/locus/topics/overlay_map_stretching_taking_from_lower_zoom_level_is_not_present_in_the_current_level)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: joe76 on July 07, 2013, 08:16:54
Quote from: "jurajs"
hi joe.... France is missing at the moment... please be patient... I am trying to build brand new maps at the moment... but tihs can take few more days.... please check again in a week or so....

jurajs

Not sure, where to find the new maps you might have created eight weeks ago?
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 08, 2013, 18:29:11
Quote from: "gazoox"

Suggested improvment in Openandro:
  • Zoom Level 8 and 9 should always have wood area drawed. It's easier to orient on the card with it.
Yes its true - the appearence ist better with wood rendered on level 8 and 9.
However, I hate to see maps slow loading and/or crashing on low powered phones, level 7-9 is most critical in urban areas so I try to avoid huge polygones and all tags not _really_ necessary.
In more remote areas like whole SouthAmerica, Africa, Asia, Russia and Iceland the mapping is much more detailed in lower zoom levels (wood appears on level 8) - thats why I avoid the "zoom-min" in my themes and determine the map-appearence by the tag-mapping while rendering.
There are 7 different tag-mappings for the openandromaps adjusted to the needs of the area maps are covering.

Quote
  • Amound of village / city naming differs. The locus map naming is better in Zoom Level 8 and 9. Isn't it? (Maybe openandro is better for other resolutions?)[/b]
This is an anoying problem with mapsforge, you can do what you want, sometimes the Labels (names) are rendered by chance - the mapsforge group is aware of this problem and will (hopefully) solve it in one of the next versions.

Quote
  • Hillshade suggestion for Openandro and Locus:[/b]
    There is no hillshade map for locus to download not even a paied one.
Hillshading is possible with offline overlays, both Menion and Me have tried this and for me its not the way to go, the amount of data is crazy.
An overlay covering the Alps is as heavy as 9GB (level 5-15), with 8 parallel treads compressing every single tile of a couple of millions on a fast machine it takes days to finally have a size of (still crazy) 3GB.
This tread my find your attention:
viewtopic.php?f=10&t=2923&hilit=hillshade (http://forum.locusmap.eu/viewtopic.php?f=10&t=2923&hilit=hillshade)

So I suggest to wait a while till Menion releases his on device hillshade renderer.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gazoox on July 09, 2013, 22:28:31
Hello Christian.

Thanks for the rationale.


Quote
Yes its true - the appearence ist better with wood rendered on level 8 and 9.
However, I hate to see maps slow loading and/or crashing on low powered phones, level 7-9 is most critical in urban areas so I try to avoid huge polygones and all tags not _really_ necessary.
In more remote areas like whole SouthAmerica, Africa, Asia, Russia and Iceland the mapping is much more detailed in lower zoom levels (wood appears on level 8) - thats why I avoid the "zoom-min" in my themes and determine the map-appearence by the tag-mapping while rendering.
There are 7 different tag-mappings for the openandromaps adjusted to the needs of the area maps are covering.
... But only of you use map+rendering tool (like locus) without customizsation.. With a custom map theme where the wood (for example) is disabled for that zoom level can do the optimisation for low performant hardware device (Hey... This could be a new feature request for locus: speed optimized vector map themes...)

As an alternative suggestion this leads me to a feature request I did mont ago: Different Map sources (vector or bitmap) for each zoom level  :mrgreen: . For example "vector map" on higher zoom and the lower end "bitmap renderings", which looks sometimes better than vector..



Quote
Hillshading is possible with offline overlays, both Menion and Me have tried this and for me its not the way to go, the amount of data is crazy.
An overlay covering the Alps is as heavy as 9GB (level 5-15), with 8 parallel treads compressing every single tile of a couple of millions on a fast machine it takes days to finally have a size of (still crazy) 3GB.
This tread my find your attention:
viewtopic.php?f=10&t=2923&hilit=hillshade
So I suggest to wait a while till Menion releases his on device hillshade renderer.
Thanks for the hint. I didn't know that IT is in the pipeline.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: voldapet on July 11, 2013, 08:38:06
One short commnet…ehm :)
 We'll very likely remove wood areas from zoom levels 8 – 9 (in internal Locus themes and maps). Rendering in these levels is very poor and wooded areas are the easiest way how to speed up rendering of maps.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 12, 2013, 17:00:52
Quote from: "gazoox"
As an alternative suggestion this leads me to a feature request I did mont ago: Different Map sources (vector or bitmap) for each zoom level  :mrgreen: . For example "vector map" on higher zoom and the lower end "bitmap renderings", which looks sometimes better than vector..

Done  ;)

I uploaded a World-Map for both Locus+ all App's capable to handle sqlitedb and one for Orux.
Covered zoom-level: 4-9, bitmap, OSM-Mapnik
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 12, 2013, 17:02:13
heh, you're around 10 minutes late :D

viewtopic.php?f=25&t=3189&p=21696#p21696 (http://forum.locusmap.eu/viewtopic.php?f=25&t=3189&p=21696#p21696)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 12, 2013, 17:18:52
Quote from: "menion"
heh, you're around 10 minutes late :D

viewtopic.php?f=25&t=3189&p=21696#p21696 (http://forum.locusmap.eu/viewtopic.php?f=25&t=3189&p=21696#p21696)

No, No, NOooo,
I uploaded them 2 days ago !!!
 :twisted:  :twisted:  :twisted:  :twisted:

So the golden banana is MINE

 :mrgreen:
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 12, 2013, 17:44:47
ah, damn ... you won, for now :)

anyway vector map of world in locus should be interesting also for you. We did this mainly because we want to speed up some levels (you may check our map with levels 1 - 8) and thanks to this, we should change intervals in vector maps and optimize more critical levels 11, 12
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: kech61 on July 12, 2013, 20:33:12
Quote from: "menion"
ah, damn ... you won, for now :)
and thanks to this, we should change intervals in vector maps and optimize more critical levels 11, 12

If you mean to modify the default base-zoom-levels and add one (or some) - I use this in the Netherlands, France and GB map.
It speeds up the rendering if the tagmapping is carefully adjusted to these base levels.
However, the problem with the original Mapsforge implementation is that the detail reduction applies for all zoom-level that resides within a base range that touches level <12.

So if you have a zoom-interval-conf=5,0,6,8,7,9,11,10,12,15,13,21 level 12 is redered wit simplification (usualy its not) cause the intervall 11,10,12 is lower than the simplification limit of 12

Hmmm.. confusing, I hope you get the picture.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 12, 2013, 20:51:41
yes, I understand ... It's mainly task for Peter, I'm doing just android app anyway I'm aware of this problem. Anyway I'm sure there is space for improvements. It's also possible to improve a mapwritter itself. We'll see ...
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: gazoox on July 17, 2013, 10:41:29
Quote from: "kech61"
I uploaded a World-Map for both Locus+ all App's capable to handle sqlitedb and one for Orux.
Covered zoom-level: 4-9, bitmap, OSM-Mapnik
Nice!


With the conversation it make sense to avoid manual map switching:
https://getsatisfaction.com/locus/topic ... zoom_level (https://getsatisfaction.com/locus/topics/possibility_for_different_map_source_at_each_zoom_level)  :idea:

 :!: A user defined pattern for specific map source for specific zoom level would might give a very good flexibility...
@ Menion: Please consider it for an upcoming locus version.
 :arrow: Combining BITMAP map for "world/nation overview" (openandro / prepared googlemap) and VECTOR for in deep details IS absolutely necessary!
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 17, 2013, 10:53:03
Suggest to check last test version. As we talked here with kech, funny thing happen and we both bring world map at once. Anyway world map in test version is automatically used for levels 1-8 so there is no need for some manual switch

Sent from my GT-N7100 using Tapatalk 2
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on July 17, 2013, 11:26:36
I wonder a bit about the diffrence between "world" in Locus pro and in latest test version.
And I´m not sure what is better...

click for better view
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 17, 2013, 12:04:55
Main difference is that world map in locus is not based on OSM data but source is different and highly simplified. So I hope that locus world map will be really fast

And which is "better", it as usually matter of taste ...

Sent from my GT-N7100 using Tapatalk 2
Title: Re: AW: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on July 17, 2013, 21:02:01
I don't know if you understand what I meant. It is only one world map. That one I downloaded here in the forum.
And I wonder why the map looks so different in Locus Pro and Locus Free (newer).
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 17, 2013, 22:07:49
ah I thought you compare world map here from forum and world map from kech. They're different because world map use also own special theme that is build specially for data which are in map and just for zoom levels 1-8. We're optimizing speed of vector maps wherever is possible, and complexity of themes is one of major problems that slow down vector map rendering. Thanks to separate theme, world map should be quite fast. You may also noticed that vector maps are in test version also around 25% faster then in your Locus Pro ;)
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on July 18, 2013, 08:42:34
Thank you for clarification.
I think in the theme of world map there should be more town an city names for easier orientation. So my left screen with Locus Pro an world map in the title is better to read, at least for me.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: menion on July 18, 2013, 08:49:20
understand and agree that map is little bit "short" on text labels. Map and theme itself is anyway work of peter, so I'm forwarding him this discussion
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jurajs on July 25, 2013, 19:00:05
yeah....
i wasn't looking for some time... and i like what is going on here. thanks to everyone for wonderful progres.
the progres is so huge that i am going to give up all my activities on vector maps. at least for now ;-)

I will adjust the 1st post very soon.

hugs and kisses,
jurajs
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: nanoprod on October 10, 2016, 18:13:59
Good day.

I used an .hgt files for creating countor lines in Global Mapper. Now I want export that all in VECTOR format map for Locus.
Which vector format (of export) I need choose in GM?

Thank you.
Title: Re: [MAPS] - Vector maps (with terrain contour lines)
Post by: jusc on October 11, 2016, 11:15:42
The vector map format for Locus is mapsforge (http://mapsforge.org/). I guess that GM doesn´t support it.