logo separator

[mkgmap-dev] [PATCH v1] Recognize more tags as polygon tags in mpalgorithm

From WanMil wmgcnfg at web.de on Thu Sep 2 19:47:26 BST 2010

> WanMil,
>
> Don't expect too much! My coding experience is limited, with almost no Java.

Good ideas are also welcome!

> Also, mapping for OSM has priority for me.
>
> Some areas I'm interested in in mkgmap are:
> - multipolygons ;-) - I still have some related issues

There is only one class that handles multipolygons: 
uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation

Can you describe your issues?

> - overlays that don't seem to work in all cases

Mmh, don't know.

> - straight ways that render in zig-zags

As far as I know two things might be relevant for this:

1. mkgmap converts all coordinates to an internal format which is also 
used by Garmin (?). This internal format only has a limited resolution. 
I don't know exactly but sometimes this has only a resolution of some 
meters, which is not very exact. Have a look a the Coord class and the 
Utils.toMapUnit(..) function. Maybe someone else could explain better?

2. There are different filters which removes unneccessary nodes from 
lines etc. Have a look at the package uk.me.parabola.mkgmap.filters.

WanMil

>
> Maybe you can point me to something simple to begin with?
>
> J-----.
>
> --------------------------------------------------
> From: "WanMil"<wmgcnfg at web.de>
> Sent: Tuesday, August 31, 2010 6:24 PM
> To: "Development list for mkgmap"<mkgmap-dev at lists.mkgmap.org.uk>
> Subject: Re: [mkgmap-dev] [PATCH v1] Recognize more tags as polygon tags in
> mpalgorithm
>
>> Hi Jeroen,
>>
>> welcome to the mkgmap developers :-)
>> What do you want to code? This might help to give you some tips where
>> you can start diggin into the code.
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>




More information about the mkgmap-dev mailing list