logo separator

[mkgmap-dev] [PATCH v7] - alpha patch to support road find by name

From Johann Gail johann.gail at gmx.de on Wed Mar 18 20:30:02 GMT 2009

> Good point - actually, I haven't got my head around the joining of
> roads to minimise the number of hits. It's not as simple to implement
> as you may imagine.
>
>   
I have implemented merging lines (not roads) in my simplifyWayPatch. The 
merging happens at another level, but you may take it at a start.

I have tought a little about merging roads at import osm stage and found 
some problems:

- The roads in the osm data are often splitted because of some reason, 
e.g. some segments of it has lower max speeds. So the merging has to 
take place AFTER the routing information has been extracted.

- When is it allowed to merge two segments? At least the name and type 
has to be the same.

- What to do, if three segements of the same road has the same start 
coordinate? (Sometimes seen on residentials)





More information about the mkgmap-dev mailing list