Hi,

i also use phyghtmap.

I have a problem with bigger maps like "Alpen" or "Europa". max-nodes-per.tile=0 will not work, so i must use the default-value 1000000. Then i get hundreds of files, that is a problem for splitter, cause the option keep-complete=true wil not work.

I put the osm and srtm Data together into splitter, because when i join two separate created maps, the contourlines will be draw over the streets and not behind.


For the some european countrys i have a srtm.pbf files. You can download and use it:

http://www.speichenkarte.de/Bauen.html

Only europe is missing, because it will not work on my old computer. If somebody have fun to help me, i need europe (poly from Geofabrik) with 20, 40, 100 in only one .pbf file :)

For private use (europe) i take the data from Freizeitkarte, but this is 20, 100, 500.

http://develop.freizeitkarte-osm.de/ele_20_100_500/


With a bad trick the lines appear in the map like 20,40,100

contour=elevation & ele=100 { name '${ele|conv:m=>ft}'; } [0x22 resolution 20 ]
contour=elevation & ele=200 { name '${ele|conv:m=>ft}'; } [0x22 resolution 20 ]
contour=elevation & ele=400 { name '${ele|conv:m=>ft}'; } [0x22 resolution 20 ]
contour=elevation & ele=600 { name '${ele|conv:m=>ft}'; } [0x22 resolution 20 ]
contour=elevation & ele=800 { name '${ele|conv:m=>ft}'; } [0x22 resolution 20 ]

.

.

.

contour=elevation & ele=40 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=80 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=120 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=160 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=200 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=240 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]
contour=elevation & ele=280 { name '${ele|conv:m=>ft}'; } [0x20 resolution 22 ]

and so on.....:)


Greets

Arndt


franco_bez hat am 13. Februar 2018 um 21:05 geschrieben:


the easiest way to create a contourlines map is phyghtmap


this tool is for creating osm Files containing the contourlines.

In a second step you build the Garmin map with mkgmap

like this:

phyghtmap --start-node-id=1 -start-way-id=1 --max-nodes-per-tile=1000000
--max-nodes-per-way=250 --jobs=4 --o5m --no-zero-contour -s 50 -c 500,100
hgt_files/*.hgt

java -jar mkgmap.jar --keep-going --max-jobs --read-config=options
--style-file=contourlines_style --mapname=65188001
--description=contourlines --family-name=Contourlines --draw-priority=16
--gmapsupp *.o5m

----
options file:
levels = 0:24, 1:23, 2:22, 3:21, 4:20, 5:18, 6:17, 7:16
reduce-point-density=20
transparent
latin1

Ciao,
Franco




--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev