logo separator

[mkgmap-dev] Please help: --generate-sea: No coastline

From Daniela Duerbeck daniela.duerbeck at gmx.de on Sun Feb 21 00:38:19 GMT 2010

Hi!

I am relatively new to mkgmap but I searched the archive and found no 
answers.
So I try to find help in this mailing list.

I know that generate-sea is still buggy but I cannot achieve any blue 
sea. I try to generate a routable map of the Canary Islands.
With the mkgmap version 1580 I do not even get the coast lines.
With 1484 I got blue islands on yellow sea.

Can there be any interaction between style-files and the generate-sea 
option?

I used these style files:
http://dev.openstreetmap.de/aio/styles/styles.tar.bz2
The  latest splitter.jar. and the needed files from this tarball I 
copied into the directory, where I then ran this script:

--------------------------
wget 
http://www.informationfreeway.org/api/0.6/map?bbox=-18.55,27.29,-12.82,29.89 
-O canarias.osm

mkdir tiles
cp splitter.jar tiles
cd tiles

$JAVA_BINDIR/java -Xmx2000M -jar splitter.jar --mapid=63240347 
--max-nodes=1000000 ../canarias.osm
cd ..
mkdir gbasemap; mkdir gaddr; mkdir gboundary

cp mkgmap.jar gbasemap; cp mkgmap.jar gaddr; cp mkgmap.jar gboundary;

cp -r addresslayer_style gaddr
cp -r boundary_style gboundary
cp -r masterstyle gbasemap

cp -r addr.TYP gaddr
cp -r boundary.TYP gboundary
cp -r master.TYP gbasemap

cd gbasemap
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=masterstyle --description='Openstreetmap' 
--country-name=spain --country-abbr=ES --family-id=4 --product-id=45 
--series-name='OSM-AllInOne-ES-bmap' --family-name=OSM --area-name=EU 
--latin1 --mapname=63240345 --draw-priority=10 --add-pois-to-areas 
--make-all-cycleways --link-pois-to-ways --remove-short-arcs --net 
--route --ignore-osm-bounds --generate-sea='polygons' --gmapsupp 
../tiles/*.osm.gz master.TYP
cd ..
cd gaddr
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=addresslayer_style --description='Adressen' 
--country-name=spain --country-abbr=ES --family-id=5 --product-id=40 
--series-name='OSM-AllInOne-ES-Addr' --family-name=ADRESSEN 
--area-name=EU --latin1 --mapname=63241345 --draw-priority=20 
--no-poi-address --no-sorted-roads --add-pois-to-areas --transparent 
--gmapsupp ../tiles/*.osm.gz addr.TYP
cd ..
cd gboundary
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=boundary_style --description='Boundary_Layer' 
--country-name=spain --country-abbr=ES --family-id=6 --product-id=30 
--series-name='OSM-AllInOne-ES-boundary' --family-name=boundary 
--area-name=EU --latin1  --mapname=63240625 --draw-priority=21 
--no-poi-address --no-sorted-roads --transparent --gmapsupp 
../tiles/*.osm.gz boundary.TYP
cd ..

./gmt -jo gmapsupp.img gbasemap/gmapsupp.img gaddr/gmapsupp.img 
gboundary/gmapsupp.img
-----------------

Are there any additional options I should try to get at least  a buggy sea?

Thanks a lot in advance,
Dani



More information about the mkgmap-dev mailing list