April 29, 2015 at 22:49 #4617
is there any tutorial about how to create your own .map files?
This way, we would be able to reduce the load on the server, build maps with the update frequency we need, and also – maybe – use the best DEM data available for any area. For instance, I would create a northern Italy map that uses viewfinderpanoramas elevation model where available (as in the “Alps” map) and the normal SRTM DEM for the rest of the region.
I was able to create my own .map file with osmosis but I’m missing the contour lines. Many thanks!!
2 users thanked author for this post.May 1, 2015 at 07:56 #4623
Contour lines are built with phyghtmap, a phyton programm. using viewfinder data.
You just have to merge the resulting osm-file with the OSM-Data with osmosis and then feed the mapwriter – thats all.
1 user thanked author for this post.May 1, 2015 at 10:36 #4624
Many thanks. I’ll give it a try! Thank you!June 3, 2015 at 16:06 #4965
Is there a guide / tutorial on how can you do that?
I’m a newbie and I’m really having a lot of problem understanding how can I merge phyghtmap with osm data.June 4, 2015 at 12:47 #4972
No there is no easy to handle self brewery kit for this – unfortunately.
The tools for rendering use phyton, perl, java and there are a lot of different versions for different Operating Systems 32/64bit aso…
The steps are:
– cut out the map coverage with osmisis (eg.) = you need a .poly file for the boundarys, this could be converted out of a gpx file.
– apply tagtransform rules
– create contourlines (phyghtmap)
– merge OSM+contourlines (osmosis)
– render the map
Mapsforge writer: https://github.com/mapsforge/mapsforge/blob/master/docs/Getting-Started-Map-Writer.md
The easiest way ist to start with the Canary Islands, its small and the rendering time is below 15minutes so a fail does’nt hurt.
ChristianJune 5, 2015 at 16:12 #4992
When I try to merge the files generated with phyghtmap with canary osm file, it catches an error…
osmosis –rx lon-14.00_-13.00lat27.00_28.00_srtm3v3.0.osm –rx lon-14.00_-13.00lat28.00_29.00_srtm3v3.0.osm –rx lon-14.00_-13.00lat29.00_29.94_srtm3v3.0.osm –rx lon-15.00_-14.00lat26.57_27.00_srtm3v3.0.osm –rx lon-15.00_-14.00lat28.00_29.00_srtm3v3.0.osm –rx lon-16.00_-15.00lat27.00_28.00_srtm3v3.0.osm –rx lon-16.00_-15.00lat28.00_29.00_srtm3v3.0.osm –rx lon-17.00_-16.00lat27.00_28.00_srtm3v3.0.osm –rx lon-17.00_-16.00lat28.00_29.00_srtm3v3.0.osm –rx lon-18.00_-17.00lat27.00_28.00_srtm3v3.0.osm –rx lon-18.00_-17.00lat28.00_29.00_srtm3v3.0.osm –rx lon-18.64_-18.00lat27.00_28.00_srtm3v3.0.osm –rx lon-18.64_-18.00lat28.00_29.00_srtm3v3.0.osm –rx canary-islands-latest.osm –wx mytest.osm
giu 05, 2015 4:07:11 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMAZIONI: Osmosis Version 0.43.1
giu 05, 2015 4:07:13 PM org.openstreetmap.osmosis.core.Osmosis run
INFORMAZIONI: Preparing pipeline.
giu 05, 2015 4:07:13 PM org.openstreetmap.osmosis.core.Osmosis main
GRAVE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: The following named pipes () and 13 default pipes have not been terminated with appropriate output sinks.
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)June 5, 2015 at 18:16 #4993
EmuxParticipantJune 8, 2015 at 13:51 #5025
Isn’t there a way to tell osmosis to merge all osm files a in a directory?June 8, 2015 at 14:20 #5026
You need to use the proper Osmosis task for the merging:
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.44#–merge_.28–m.29June 8, 2015 at 16:38 #5027
And: make ONE file for the contours, use Phyghtmap with
and specify an output filename_prefix:
then you receive a file rawcontours_blablabla.osm now you can rename it per batch by
rename rawcontours*.osm mycountours.osm
means you have a fixed name for the contours and ONE file to merge.
ManPage for Phyghtmap:
Best regards, ChristianJuly 9, 2015 at 23:48 #5266
Got a question, too: are you using the default mapsforge-writer tag mappings or a customized one?
Edit: found it, was hidden pretty deep at the siteJuly 11, 2015 at 16:50 #5269
Got a new issue though now, contour lines don’t show their text and the hiking paths don’t get the highlighting ariund them. Screenshot of the differences attached
Attachments:February 25, 2019 at 12:06 #27225
AnonymousFebruary 25, 2019 at 14:02 #27227
Yes and no..
..here in the Forum there is a user: @sonny – he collected all free LaserElevationData where available and mixed it with the VeiwFinderPanorama hgts:
This is a major improvement over pure Viewfinder HGTs.
You have to download the viewfinderdata and copy @Sonnys HGTs over the VIEW HGTs.
In areas where no VIEW 1″ is available but HGTs from @sonny available you have to cheat the index_file of phyghtmap.
1 user thanked author for this post.February 25, 2019 at 14:07 #27229
don’t show their text and the hiking paths don’t get the highlighting ariund them
If you use OAM Tagmapping, OAM Tagtransform and the Elevate from @tobias it should work.
There are no hidden obstacles in dokumentation away from resolving relations.
For the labels of the contourlines you have to zoom in.
1 user thanked author for this post.
You must be logged in to reply to this topic.