logo separator

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

From Florian Lohoff flo at rfc822.org on Mon Mar 23 13:11:18 GMT 2009

On Sun, Mar 22, 2009 at 11:16:57PM +0000, Mark Burton wrote:
> v9 - based on r985. Now tries to reduce (connected) groups of roads with
> the same name and city to just one entry - please test.
> 
> If you find that you are still seeing multiple entries for a road,
> check the OSM data to see that the road really is sensibly defined,
> i.e. it's quite possible to have a bunch of connected road segments
> some of which have the same name and the others having no name - in
> that case, the road will get listed more than once. Also, dual
> carriageways will show up as two entries.
> 
> Feedback/comments welcome.

A little nitpick (Its always possible to optimize something :) )

> +	// given a list of roads sorted by name and city, build a new
> +	// list that only contains one entry for each group of roads
> +	// that have the same name and city and are directly connected

As it happens i live in a street which is intersected by a roundabout.
As the roundabout does not have the street name on it this will produce 
multiple segments. So probably it should be directly connected
or via a way with "junction=roundabout" ...

But this is just a little optimization probably for the next generation ;) 

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20090323/cfa695a7/attachment.bin 


More information about the mkgmap-dev mailing list