logo separator

[mkgmap-dev] Generate coastlines

From Stéphane MARTIN st3ph.martin at laposte.net on Thu Mar 5 00:32:49 GMT 2015

Hi Gerd,

Thank you very much !

Here is what is working for me (GNU/Linux) :

java -Xmx5G -cp "./dist/mkgmap.jar:./lib/optional/*"
uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator
/home/steph/Data2/osm/planet/land_polygons.shp WGS84
/home/steph/Data2/osm/planet/sea

See you later about the bounds ;-)
Will need a lot of memory ?

Steph

Le 04/03/2015 02:11, Gerd Petermann a écrit :
> Hi Steph,
> 
> these steps work fine for me:
> 1) follow  the general instructions to create a buid environment:
> http://www.mkgmap.org.uk/dev/index.html
> 
> 2) modify build.xml, change the line
> <exclude name="**/optional/*.java"/>
> to
> <exclude name="**/dem/optional/*.java"/>
> 3) change into the directory containing build.xml
> 3) run the commands
> ant  resolve-optional
> ant dist
> to build mkgmap.jar with PrecompSeaGenerator
> 4) run a command similar to this
> java -Xmx6800m -cp .\dist\mkgmap.jar;.\lib\optional\*
> uk.me.parabola.mkgmap.sea.optional.PrecompSeaGenerator
> f:\osm\land-polygons-split-4326\land_polygons.shp WGS84 e:\work\sea
> 
> Gerd



More information about the mkgmap-dev mailing list