Hi Ben,

the generate-sea algorithm sometimes floods the land in case there is a 
gap in the coastline data.

There are several generate-sea options to fix these gaps. I recommend to 
have a closer look at:
* close-gaps=NUM Close gaps in coastline that are less than this 
distance (metres). Common values are between 500 and 6000.
* floodblocker The floodblocker is a kind of rescue system that detects 
if land area is flooded and removes the sea from these areas.

You get information of all options if you call mkgmap without any option:
java -jar mkgmap.jar

WanMil


> Hi,
>
> I've run into a strange problem with --generate-sea while generating a
> map of Canada. Here's a screenshot of the problem I'm seeing:
>
> http://bagu.org/scratch/generate-sea-problem-lake-ontario.bmp
>
> I'm using mkgmap version r1783 with these options:
>
> java -Xmx400M -Dlog.config=/home/ben/osm/mkgmap/resources/logging.properties
> -jar \
>    /home/ben/osm/mkgmap/dist/mkgmap.jar --tdbfile --latin1 --gmapsupp \
>    --country-name=Canada --country-abbr=CAN '--series-name=OSM Canada' \
>    '--family-name=Open Street Map Canada 12 Jan 2011' --location-autofill=1 \
>    --add-pois-to-areas --ignore-unnamed-areas --road-name-pois
> --check-roundabout-flares \
>    --route --remove-short-arcs --drive-on-right --check-roundabouts
> --family-id=34244 \
>    --product-id=1 --generate-sea=extend-sea-sectors,multipolygon
> --make-all-cycleways
>    -c template.args --description=ALL
>
> Does anybody know what's going on? What's the best way to debug a
> problem like this?
>
> Thanks, Ben
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>

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

Reply via email to