On Mon, 6 Apr 2009 23:54:39 +0200, andrzej zaborowski <[email protected]>
wrote:
> now I'm sure that at some point a lot of people will want to use OSM
> on the Garmins (very few people do now) and the converter will have to
> translate the Karlsruhe scheme back into the Garmin/canvec/geobase
> scheme.  This can be done by converting the addr:interpolation ways
> into new "garmin" ways that will have the address information but will
> not be routable - but then they will be disconnected from the road
> network and the routing may fail.  The other option is to *project*
> the lateral addr:interpolation ways onto the street segment, but this
> is a little more complex to implement (imagine zigzagging streets and
> zigzagging addr:interpolation ways)

See addr:street and relations with type=associatedStreet 
on how to make this mapping easier.
http://wiki.openstreetmap.org/wiki/Proposed_features/House_numbers/Karlsruhe_Schema#Giving_hints_for_choosing_the_street_.28optional.29

The projection is actually quite easy to implement.
Here is an implementation:
http://travelingsales.svn.sourceforge.net/viewvc/travelingsales/trunk/libosm/src/org/openstreetmap/osm/data/searching/HouseNumberHelper.java?view=markup


Marcus




_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to