logo separator

[mkgmap-dev] [PATCH v2] sea polygons

From maning sambale emmanuel.sambale at gmail.com on Sun Aug 2 14:03:15 BST 2009

Here's my several attempts, same parameters with diiferent osm files:
time java -Xmx1512m -jar
/home/maning/osm/routable_garmin/mkgmap/trunk/dist/mkgmap.jar
--code-page=1252 --tdbfile --latin1 --country-abbr=PHI
--country-name=PHILIPPINES  --remove-short-arcs --route
--road-name-pois --add-pois-to-areas --location-autofill=2
--family-id=639 --family-name="OSM_PHIL" --overview-mapname=40000001
--series-name="OSM_PHIL" --description="OSM_PHIL" --generate-sea
file.osm

1.  An osm file with incomplete coastline:
http://farm4.static.flickr.com/3445/3780035155_48128fb0a2.jpg

2.  OSM file for the whole philippines with splitter:
wrong sea polys along tile edges
http://farm4.static.flickr.com/3586/3780035733_0675c8bd6c.jpg
good sea areas on complete coastlines
http://farm4.static.flickr.com/3585/3780848642_ab4c987056.jpg

3. OSM file for the whole philippines no splitting:
http://farm4.static.flickr.com/3441/3780297907_450c021ed9.jpg


On Sun, Aug 2, 2009 at 8:41 PM, Christian Gawron<christian.gawron at gmx.de> wrote:
> Dermot McNally schrieb:
>> 2009/8/2 Christian Gawron <christian.gawron at gmx.de>:
>>
>>> This improved version should fix an OutOfMemoryError reported by maning
>>> sambale and Dermot McNally.
>>> It also contains an update of the multipolygon patch by Rudi (which seems to
>>> produce better results fo Corsica).
>>>
>>
>> OK... Again, based on the Geofabrik Ireland extract, this now runs to
>> completion - though very slowly. And indeed, I now have sea polygons
>> in the sea. The drawback is that I also have them on land, so it seems
>> like the coastline detection must be breaking down somewhere (Ireland
>> has a _very_ complex coastline in places).
>>
> I can reproduce this problem and will have a look at it. My first guess
> is that either the shoreline is not closed or that there is still a
> problem with the multipolygon code.
>
> Best wishes
> Christian
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the mkgmap-dev mailing list