[mkgmap-dev] coastline
From RheinSkipper rheinskipper1000 at gmx.de on Sun Jan 27 20:15:58 GMT 2013
> You have to compile mkgmap with the SeaGenerator. > I think these are the mimimal steps: > 1) if you don't have the sources, get them via svn or download the tarball : > http://www.mkgmap.org.uk/download/mkgmap-r2464-src.tar.gz > 2) install the java compiler, see http://www.mkgmap.org.uk/develop.html > and do what is described under "Minimum requirements", > > 3) to compile mkgmap with the PrecompSeaGeneraor change the build.xml: > search for a line like this: > <exclude name="**/optional/*.java"/> > and replace it with > <exclude name="**/dem/optional/*.java"/> Without this change, some > required classes are not compiled. > 2) execeute > ant resolve-optional to download the needed jar files > 3) download latest splitter from > http://www.mkgmap.org.uk/download/splitter.html, unzip, and and copy > splitter.jar and \lib\fastuitl.jar to mkgmap\lib\optional > 4) execute ant > 5) chdir to mkgmap\dist > 6) execute mkgmap with a command similar to this: > D:\mkgmap\dist>java -Xmx5000m -cp mkgmap.jar;..\lib\optional\* > uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator > f:\osm\land-polygons-split-4326\land_polygons.shp WGS84 e:\sea > > Hope that helps? > Thank you, this helps a lot. I was trying it on my Windows machine with good success. At the moment step 6 is running. What difference does it make to download the split polygons instead of complete polygons? I am also trying to get it running on a Linux server. It was fine up to step 5. But at step 6 there is an error. My command is: java -Xmx5000m -cp mkgmap.jar;../lib/optional/* uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator ../../land-polygons-split-4326/land_polygons.shp WGS84 ../../sea And the result is: Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) ... -bash: ../lib/optional/ant-1.8.2.jar: Permission denied Permissions of this file are rw-rw-r.
- Previous message: [mkgmap-dev] coastline
- Next message: [mkgmap-dev] coastline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list