mkgmap and aster data

Hi list, I need advice how to use ASTER tif tiles for building map with contours? It is not probably scope of this list, but I can't find answer elsewhere. I am building map where srtm having a lot of big holes (Patagonia). I have 58 tiles (dem.tif and num.tif file for each). Is it possible convert them to .hgt files and then continue with Srtm2Osm? Linux tools are prefered. Thank you for any advice. mira

yes this is possible. see the post http://gis.638310.n2.nabble.com/contour-map-error-tp5183094p5238778.html On Nov 1, 2011, at 9:27 AM, Jaromír Mikeš wrote:
Hi list,
I need advice how to use ASTER tif tiles for building map with contours? It is not probably scope of this list, but I can't find answer elsewhere. I am building map where srtm having a lot of big holes (Patagonia).
I have 58 tiles (dem.tif and num.tif file for each). Is it possible convert them to .hgt files and then continue with Srtm2Osm? Linux tools are prefered.
Thank you for any advice.
mira _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Od: Apollinaris Schoell <aschoell@gmail.com>
yes this is possible. see the post
http://gis.638310.n2.nabble.com/contour-map-error-tp5183094p5238778.html
Thank you for link. I am trying adjust contour.pl script for my needs ;) Where I can get shp-to-osm-0.6.1-jar-with-dependencies.jar ? regards mira

I recommend the older version for performance reasons. the newer version has some improvements for polygons which are useless for contours and slow down the conversion a lot. https://github.com/iandees/shp-to-osm On Nov 1, 2011, at 1:40 PM, Jaromír Mikeš wrote:
Od: Apollinaris Schoell <aschoell@gmail.com>
yes this is possible. see the post
http://gis.638310.n2.nabble.com/contour-map-error-tp5183094p5238778.html
Thank you for link.
I am trying adjust contour.pl script for my needs ;)
Where I can get shp-to-osm-0.6.1-jar-with-dependencies.jar ?
regards
mira _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Od: Apollinaris Schoell <aschoell@gmail.com>
I recommend the older version for performance reasons. the newer version has some improvements for polygons which are useless for contours and slow down the conversion a lot. https://github.com/iandees/shp-to-osm
I am trying shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar , no older seems be available. But having some weird problem here: Caused by: java.lang.ClassNotFoundException: Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: Main. Program will exit. Same with newer version :( Tried things like: $ java -cp . shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar $ java -classpath . ../shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar $ java -classpath . /media/MIRES/Aster/shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar Seems to be java classpath problem (google). Any idea how fix this? regards mira

took me a while to dig it out. after creating all contours I didn't use it for a long time. http://dl.dropbox.com/u/46116350/shp2osm061.tgz On Nov 1, 2011, at 7:58 PM, Jaromír Mikeš wrote:
Od: Apollinaris Schoell <aschoell@gmail.com>
I recommend the older version for performance reasons. the newer version has some improvements for polygons which are useless for contours and slow down the conversion a lot. https://github.com/iandees/shp-to-osm
I am trying shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar , no older seems be available.
But having some weird problem here: Caused by: java.lang.ClassNotFoundException: Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the main class: Main. Program will exit.
Same with newer version :(
Tried things like: $ java -cp . shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar $ java -classpath . ../shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar $ java -classpath . /media/MIRES/Aster/shp-to-osm-0.8.2-SNAPSHOT-jar-with-dependencies.jar
Seems to be java classpath problem (google). Any idea how fix this?
regards
mira _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Od: Apollinaris Schoell <aschoell@gmail.com> Předmět: Re: [mkgmap-dev] mkgmap and aster data Datum: 04.11.2011 01:42:17 ---------------------------------------- took me a while to dig it out. after creating all contours I didn't use it for a long time.
Thank you a lot! mira

Od: Apollinaris Schoell <aschoell@gmail.com>
Hello,
I recommend the older version for performance reasons. the newer version has some improvements for polygons which are useless for contours and slow down the conversion a lot. https://github.com/iandees/shp-to-osm
I also found that later version of shp-to-osm generates xml files instead of osm. http://wiki.openstreetmap.org/wiki/Shp-to-osm.jar [snip] 0.7 creates xml files instead of osm files Any chance to get older version or other workaround suggested? regards mira
participants (2)
-
Apollinaris Schoell
-
Jaromír Mikeš