Daniela Duerbeck escribió:
> 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
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
>   
I build routable maps of Canary Islands with sea with no problem. You
can see them at [1]. They are built with the following commands:
wget http://download.geofabrik.de/osm/africa/canary_islands.osm.bz2
bunzip2 -f canary_islands.osm.bz2
java -Xmx400m -enableassertions -jar mkgmap.jar --generate-sea=polygons
--route --tdbfile --latin1 --code-page=1252
--description="OpenStreetMap-Canarias" --gmapsupp --country-name=ESPAÑA
--country-abbr=ESP --family-name="Open Street Map" --family-id=16
--product-id=1 --series-name="OSM-Canarias" --index
--road-name-pois=0x640a --ignore-maxspeeds --remove-short-arcs
--add-pois-to-areas --adjust-turn-headings --report-similar-arcs
--link-pois-to-ways --location-autofill=1 --drive-on-right
--check-roundabouts --check-roundabout-flares --style=mine
canary_islands.osm typ/SPAIN-16.TYP
As you can see I use a custom style, but it should work with default as
well. You need to have natural=sea [0x32 resolution 10] or similar in
your polygons style file.
[1] http://mapas.alternativaslibres.es

-- 
Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, 
.ppt, .pptx, .mdb, mdbx

Instale OpenOffice desde http://es.openoffice.org/programa/index.html
OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. 
Gratis y totalmente legal.
OpenOffice funciona mejor que otros paquetes de oficina.
OpenOffice está en continuo desarrollo y no tendrá que pagar por las nuevas 
versiones.

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to