logo separator

[mkgmap-dev] Commit: r1198: Merge in the sea polygon patch from the multipolygon branch.

From maning sambale emmanuel.sambale at gmail.com on Fri Sep 18 07:58:20 BST 2009

reporting my results for the Philippines:

Using a single unsplitted Philippines

time java -Xmx1512m -jar
/home/maning/osm/routable_garmin/mkgmap/trunk/dist/mkgmap.jar
--code-page=1252 --ea --tdbfile --latin1 --country-abbr=PHI
--country-name=PHILIPPINES --remove-short-arcs=5 --route
--road-name-pois --add-pois-to-areas --family-id=639
--family-name="OSM_PHIL" --overview-mapname=40000001
--series-name="OSM_PHIL" --description="OSM_PHIL" --generate-sea
--style-file="/home/maning/osm/routable_garmin/svn/styles/experimental_master_style"
/home/maning/osm/20090912/philippines.osm
real	88m49.267s
user	88m22.067s
sys	0m12.873s

compile time is 88 m
Most large islands are above water! Clap, clap, clap!
http://www.flickr.com/photos/esambale/3931037708/

There are small island groups that are submerged.  I've checked the
dat and it seems OK.
http://farm4.static.flickr.com/3457/3930253533_f80fb2c0c0_m.jpg


Using a splitted Philippine.

time java -Xmx1512m -jar
/home/maning/osm/routable_garmin/mkgmap/trunk/dist/mkgmap.jar
--code-page=1252 --ea --tdbfile --latin1 --country-abbr=PHI
--country-name=PHILIPPINES --remove-short-arcs=5 --route
--road-name-pois --add-pois-to-areas --family-id=639
--family-name="OSM_PHIL" --overview-mapname=40000001
--series-name="OSM_PHIL" --description="OSM_PHIL" --generate-sea
--style-file="/home/maning/osm/routable_garmin/svn/styles/experimental_master_style"
/home/maning/osm/20090912/split_file/*.osm.gz

real	21m59.543s
user	21m59.006s
sys	0m2.524s

compile time is shorter (21 m)

A tile with incomplete lake is submerged.  The remaining portion of
the lake in the adjacent tile is OK.
http://farm3.static.flickr.com/2421/3930260941_d8e30eb4cf_m.jpg

Bigger islands are submerged as well as some smaller island groups
http://farm3.static.flickr.com/2477/3930257831_e4323d6a27_m.jpg
http://www.flickr.com/photos/esambale/3931043920/

note: the last image shows what seems to be an incomplete coastline
but zooming in shows it is not.

Overall, I think the --generate-sea works OK if the osm tile contains
closed coastline.  There are problems when there is a mixture of
incomplete coastline and large lakes.
On Fri, Sep 18, 2009 at 12:16 AM, Ævar Arnfjörð Bjarmason
<avarab at gmail.com> wrote:
> On Thu, Sep 17, 2009 at 9:27 AM, svn commit <svn at mkgmap.org.uk> wrote:
>>
>> Version 1198 was commited by steve on 2009-09-17 10:27:24 +0100 (Thu, 17 Sep 2009)
>>
>> Merge in the sea polygon patch from the multipolygon branch.
>>
>> You need to give the --generate-sea option at the moment to switch it on.
>
> (B.t.w. that option isn't documented in --help=options)
>
> It works fine for the map I generate at http://osm.nix.is Although the
> coastlines I have to deal with are comparatively simple. I'm
> generating the map for a bunch of islands surrounded by sea on all
> sides.
>
> The size of the map went from 2.5 MB to 3.0 MB. I don't get any
> warnings from mkgmap (other than zero-arch routing warnings from
> --route).
>
> The only issue I see is that sometimes lines appear in the sea where
> it looks like two sea titles have been not quite stitched together
> (see attachment). This appears both in qlandkarte and on the garmin
> device but goes away when I zoom in, and then sometimes reappears
> again.
>
> There's nothing in the data for that explains the problem (like ferry
> lines): http://osm.org/go/e1lYQC-
>
> Thanks to everyone who worked on this feature. It makes the maps a
> *lot* more useful in places where the ocean is a major feature (which
> is where most of species happens to live).
>
> _______________________________________________
> 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