logo separator

[mkgmap-dev] [Patch v1] avoid wrong bearing results

From WanMil wmgcnfg at web.de on Fri Nov 1 09:51:53 GMT 2013

Hi Marko,

I think the SeaGenerator might be improved by using higher precision 
coordinates. But since the precompiled sea option is available I will 
not put any more effort into the "old" algorithms.


> On Thu, Oct 31, 2013 at 10:44:31PM +0100, Gerd Petermann wrote:
>> the patch (this v1) is only meant to solve routing problems caused by
>> rounding I don't think that it has an influence on SeaGenerator.
> Right, I was too optimistic, hoping that this would fix the bogus
> warnings in SeaGenerator too.
> The patch (or some other change since r2795) did make 2 of 4 warnings
> for roundabout flare roads go away. Only the following remained:
> 2013/10/31 21:17:17 WARNING (StyledConverter): 63240002.osm.pbf:
> Roundabout segment 35062431 direction looks wrong (see
> http://www.openstreetmap.org/?mlat=60.23825&mlon=24.88777&zoom=17)
> 2013/10/31 21:17:18 WARNING (StyledConverter): 63240002.osm.pbf:
> Roundabout segment 34151581 direction looks wrong (see
> http://www.openstreetmap.org/?mlat=60.23242&mlon=24.95879&zoom=17)
> 2013/10/31 21:17:37 WARNING (RouteNode): 63240005.osm.pbf: Outgoing
> roundabout flare road (4;9;13;23 Vaajakoskentie,
> http://www.openstreetmap.org/browse/way/221616945) points in wrong
> direction?
> http://www.openstreetmap.org/?mlat=62.24637&mlon=25.87302&zoom=17
> Both roundabout segments are in micro-mapped roundabouts that have been
> split because of route relations.
> I reverted your patch and reran with today's dump. I got again the usual
> 5 roundabout warnings (2 more about flare roads) than the above. So,
> your patch is making a positive difference there.
>> Do you have a reason for not using precompiled sea?
> Yes. I mainly use mkgmap as a validator, and I am routinely fixing
> errors in finland.osm.pbf. The sea polygons are not severely broken that
> often, it is usually just anti-islands.  Only about once per month I
> have to fire up JOSM with an Osmosis-made extract of natural=coastline
> to see what is wrong.
> Best regards,
>      Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

More information about the mkgmap-dev mailing list