Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread andrzej zaborowski
2009/4/7 marcus.wolsc...@googlemail.com: On Tue, 7 Apr 2009 00:11:24 +0200, andrzej zaborowski balr...@gmail.com wrote: Sound cool! One suggestion: As this is automated anyway, try to add hints about what street the houses belong to. easy to implement version:  Simply add a tag

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread Marcus Wolschon
On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: All the world is not Germany  (echoing All the world's not a VAX, but I date myself).  Here in the USA, many areas were renumbered for the e911 initiative.  The

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread Marcus Wolschon
On Tue, Apr 7, 2009 at 8:25 PM, andrzej zaborowski balr...@gmail.com wrote: createInterpolationWay(way w, int offset) { Node startInterpNode = new Node(w.getNode(0).location +   offset * w.getNode(0).getNextSegment().vectorNormalLeft()); foreach (Node n in w.nodes except 0 and last) {  

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread marcus.wolschon
On 7 Apr 2009 21:08:48 -0400, Russ Nelson r...@cloudmade.com wrote: On Apr 7, 2009, at 12:52 PM, Marcus Wolschon wrote: On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: Thus, for many roads near me,

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread Marcus Wolschon
andrzej zaborowski schrieb: Or you can use the type=associatedstreet-relation. That one works without street-names and is just 2 relation with 1 tag and 2 members. Should be simple to code. Yes, I may do that, however... Afterall this information doesn't seem all that useful - when you want

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread Russ Nelson
On Apr 8, 2009, at 2:48 AM, marcus.wolsc...@googlemail.com wrote: If it is a very long road and only start+end are given and not all houses have roughly the same size then that means that multiple house-numbers end up inside a very large house, or between houses or even on crossing roads.

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-09 Thread andrzej zaborowski
2009/4/7 marcus.wolsc...@googlemail.com: On Mon, 6 Apr 2009 21:08:15 -0400 (EDT), Steve Singer ssinger...@sympatico.ca wrote: If the interpolation ways model the geometry of the original way just offset by some factor then the interpolation ways wouldn't cross the street segment.  If your

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-08 Thread marcus.wolschon
On 7 Apr 2009 21:08:48 -0400, Russ Nelson r...@cloudmade.com wrote: On Apr 7, 2009, at 12:52 PM, Marcus Wolschon wrote: On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: Thus, for many roads near me,

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-08 Thread Russ Nelson
On Apr 8, 2009, at 2:48 AM, marcus.wolsc...@googlemail.com wrote: If it is a very long road and only start+end are given and not all houses have roughly the same size then that means that multiple house-numbers end up inside a very large house, or between houses or even on crossing roads.

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-08 Thread Frederik Ramm
Hi, Russ Nelson wrote: Here in the USA, many areas were renumbered for the e911 initiative. The numbering? Well, it may vary from place to place, but for my area, it's the number of feet down your road divided by 25 (half the width of a buildable lot, so you can have a unique

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-08 Thread Frederik Ramm
Hi, Russ Nelson wrote: Here in the USA, many areas were renumbered for the e911 initiative. The numbering? Well, it may vary from place to place, but for my area, it's the number of feet down your road divided by 25 (half the width of a buildable lot, so you can have a unique

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Mon, 6 Apr 2009 23:54:39 +0200, andrzej zaborowski balr...@gmail.com 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.

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Tue, 7 Apr 2009 00:11:24 +0200, andrzej zaborowski balr...@gmail.com wrote: Sound cool! One suggestion: As this is automated anyway, try to add hints about what street the houses belong to. easy to implement version:  Simply add a tag add:street=nam to the interpolation-ways slightly

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Mon, 6 Apr 2009 20:56:59 -0400 (EDT), Steve Singer ssinger...@sympatico.ca wrote: On Mon, 6 Apr 2009, Sam Vekemans wrote: addr:alternatenumber house number If a object has two numbers. Better use addr:housenumber=first;second *** So the line can show a long stretch from second

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Florian Lohoff
On Mon, Apr 06, 2009 at 08:44:37PM +0200, andrzej zaborowski wrote: We add a addr:interpolation on each side of the way with an arbitrary offset and with some simple heuristics to make it look correct (although obviously it needs a manual check like all imported data - to see that it

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Tue, 7 Apr 2009 16:12:07 +0200, Florian Lohoff f...@rfc822.org wrote: On Mon, Apr 06, 2009 at 08:44:37PM +0200, andrzej zaborowski wrote: We add a addr:interpolation on each side of the way with an arbitrary offset and with some simple heuristics to make it look correct (although obviously

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Florian Lohoff
On Tue, Apr 07, 2009 at 04:31:57PM +0200, marcus.wolsc...@googlemail.com wrote: People do, people are intelligent. Software does not. Software that searches for addresses needs to know how to interpolate (does that city use even/odd or left-up/right-down or house-numbers running around the

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Russ Nelson
On Apr 7, 2009, at 10:55 AM, Florian Lohoff wrote: I dont like interpolation and the talk-de archives should show my opposition ... All the world is not Germany (echoing All the world's not a VAX, but I date myself). Here in the USA, many areas were renumbered for the e911 initiative.

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Florian Lohoff
On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: All the world is not Germany (echoing All the world's not a VAX, but I date myself). Here in the USA, many areas were renumbered for the e911 initiative. The numbering? Well, it may vary from place to place, but for my

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Marcus Wolschon
On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: All the world is not Germany  (echoing All the world's not a VAX, but I date myself).  Here in the USA, many areas were renumbered for the e911 initiative.  The

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Paul Houle
Marcus Wolschon wrote: On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: All the world is not Germany (echoing All the world's not a VAX, but I date myself). Reminds me of the time that I

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Marcus Wolschon
andrzej zaborowski schrieb: Or you can use the type=associatedstreet-relation. That one works without street-names and is just 2 relation with 1 tag and 2 members. Should be simple to code. Yes, I may do that, however... Afterall this information doesn't seem all that useful - when you want

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Marcus Wolschon
On Tue, Apr 7, 2009 at 8:25 PM, andrzej zaborowski balr...@gmail.com wrote: createInterpolationWay(way w, int offset) { Node startInterpNode = new Node(w.getNode(0).location +   offset * w.getNode(0).getNextSegment().vectorNormalLeft()); foreach (Node n in w.nodes except 0 and last) {  

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread andrzej zaborowski
2009/4/7 marcus.wolsc...@googlemail.com: On Mon, 6 Apr 2009 21:08:15 -0400 (EDT), Steve Singer ssinger...@sympatico.ca wrote: If the interpolation ways model the geometry of the original way just offset by some factor then the interpolation ways wouldn't cross the street segment.  If your

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Steve Singer
On Tue, 7 Apr 2009 marcus.wolsc...@googlemail.com wrote: You said you had these housenumber-data for the segments, not for the whole way, did you? Then there is no issue with curvy roads. Yes Well, at least add your data to the way as canvec:housenr_left_start= and similar, so the data

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Russ Nelson
On Apr 7, 2009, at 12:52 PM, Marcus Wolschon wrote: On Tue, Apr 7, 2009 at 6:22 PM, Florian Lohoff f...@rfc822.org wrote: On Tue, Apr 07, 2009 at 11:28:16AM -0400, Russ Nelson wrote: Thus, for many roads near me, interpolation is not only usable, it's technically correct. Only if every

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Tue, 7 Apr 2009 00:11:24 +0200, andrzej zaborowski balr...@gmail.com wrote: Sound cool! One suggestion: As this is automated anyway, try to add hints about what street the houses belong to. easy to implement version:  Simply add a tag add:street=nam to the interpolation-ways slightly

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread andrzej zaborowski
2009/4/6 Sam Vekemans acrosscanadatra...@gmail.com: The data set does have the city:left city :right fields. (as part of the DBF file) Although probably not useful because the city boundry will eventually get shown. And ya, use the last sample of canvec (as its the best) -Niagara falls

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Florian Lohoff
On Mon, Apr 06, 2009 at 08:44:37PM +0200, andrzej zaborowski wrote: We add a addr:interpolation on each side of the way with an arbitrary offset and with some simple heuristics to make it look correct (although obviously it needs a manual check like all imported data - to see that it

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Mon, 6 Apr 2009 21:08:15 -0400 (EDT), Steve Singer ssinger...@sympatico.ca wrote: If the interpolation ways model the geometry of the original way just offset by some factor then the interpolation ways wouldn't cross the street segment. If your source for the addresses is the same as the

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Mon, 6 Apr 2009 20:56:59 -0400 (EDT), Steve Singer ssinger...@sympatico.ca wrote: On Mon, 6 Apr 2009, Sam Vekemans wrote: addr:alternatenumber house number If a object has two numbers. Better use addr:housenumber=first;second *** So the line can show a long stretch from second

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Mon, 6 Apr 2009 23:54:39 +0200, andrzej zaborowski balr...@gmail.com 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.

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread marcus.wolschon
On Tue, 7 Apr 2009 16:12:07 +0200, Florian Lohoff f...@rfc822.org wrote: On Mon, Apr 06, 2009 at 08:44:37PM +0200, andrzej zaborowski wrote: We add a addr:interpolation on each side of the way with an arbitrary offset and with some simple heuristics to make it look correct (although obviously

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread andrzej zaborowski
Hi, 2009/4/6 Sam Vekemans acrosscanadatra...@gmail.com: so for whats available in the dataset, along with the way listing the roadname;is_in and/or addr:city ... Is the listing of the firstlast house number on the left side, as well as first/last on the right. For the geobase2osm script we

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Steve Singer
On Tue, 7 Apr 2009 marcus.wolsc...@googlemail.com wrote: You said you had these housenumber-data for the segments, not for the whole way, did you? Then there is no issue with curvy roads. Yes Well, at least add your data to the way as canvec:housenr_left_start= and similar, so the data

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-07 Thread Sam Vekemans
Thanks Steve, very well said :-) I think my best course of action is to proceed in importing a VERY small test area of the canvec/NHN features that i know is good. And post the known bug of duplicate intersecting nodes (bug1) I then will stretch my learning curve to learn python make AutoMatch

[OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread Sam Vekemans
Hi all, i see on the wiki it looks like the base tag is addr:housenumber so for whats available in the dataset, along with the way listing the roadname;is_in and/or addr:city ... Is the listing of the firstlast house number on the left side, as well as first/last on the right. For the

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread andrzej zaborowski
Hi, 2009/4/6 Sam Vekemans acrosscanadatra...@gmail.com: so for whats available in the dataset, along with the way listing the roadname;is_in and/or addr:city ... Is the listing of the firstlast house number on the left side, as well as first/last on the right. For the geobase2osm script we

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread Sam Vekemans
The data set does have the city:left city :right fields. (as part of the DBF file) Although probably not useful because the city boundry will eventually get shown. And ya, use the last sample of canvec (as its the best) -Niagara falls Ontario addr:interpolation i'll add that tag, thanks. ... but

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread andrzej zaborowski
2009/4/6 Sam Vekemans acrosscanadatra...@gmail.com: The data set does have the city:left city :right fields. (as part of the DBF file) Although probably not useful because the city boundry will eventually get shown. And ya, use the last sample of canvec (as its the best) -Niagara falls

Re: [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread andrzej zaborowski
2009/4/6 Marcus Wolschon mar...@wolschon.biz: On Mon, Apr 6, 2009 at 8:44 PM, andrzej zaborowski balr...@gmail.com wrote: Hi, 2009/4/6 Sam Vekemans acrosscanadatra...@gmail.com: so for whats available in the dataset, along with the way listing the roadname;is_in and/or addr:city ... Is the

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread Sam Vekemans
The data set does have the city:left city :right fields. (as part of the DBF file) Although probably not useful because the city boundry will eventually get shown. And ya, use the last sample of canvec (as its the best) -Niagara falls Ontario addr:interpolation i'll add that tag, thanks. ... but

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread Steve Singer
On Mon, 6 Apr 2009, Sam Vekemans wrote: addr:alternatenumber house number If a object has two numbers. Better use addr:housenumber=first;second *** So the line can show a long stretch from second where it would be the 'last'? Would this work? Drawing a long straight line from the first

Re: [Talk-ca] [OSM-talk] Addr:streetnumber:first;last:left;right

2009-04-06 Thread Steve Singer
On Mon, 6 Apr 2009, andrzej zaborowski wrote: I'm not completely sure either representation is better... maybe both types should be standardised - the UMP project makes maps particularly for Garmin devices so apparently if you upload your map into your Garmin receiver and ask it to route you