Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-26 Thread Marko Mäkelä

On Tue, Oct 25, 2011 at 11:43:48PM +0200, Hartmut Holzgraefe wrote:
Not saying that such a plugin doesn't make sense for certain areas in 
the world, but i haven't seen this by linear distance scheme in any 
place but the USA yet, so its probably low priority for the rest of the 
world, and definitely for all parts of Europe i've been to ...


For what it is worth, Finland uses a somewhat similar numbering scheme 
in rural areas. If I remember correctly, the house number increments by 
one for every 10 metres from the start of the road. But, you can still 
have a,b,c suffixes to the house number if there are several houses 
sharing the same driveway to the rural road. So, I guess that the 
interpolation line would be helpful until someone fills in the real 
house numbers and driveways.


Marko

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-25 Thread Pieren
On Tue, Oct 25, 2011 at 5:25 AM, Werner Horsch werner.hor...@gmail.com wrote:
 I was thinking in how to aid the entry of numbering to osm, and it shouldnt
 be very difficult.
 The logic should be something like this for addr interpolation...

I don't think it is a good idea. As the relation is called, all
addresses between start and end are just ... interpolation. They
should stay as such in the database. It is the responsibility of the
data consumer to speculate on the right position for all intermediate
numbers in the street, not a script working into the database. If
contributors are not satisfied by the interpolation, they should
reduce the size of it or put single node addresses.

Pieren

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-25 Thread Werner Horsch
It's a first approach, imagine those cities which do not have any
house-numbers yet, we could add them quite fast. Later any memeber can
remove the interpolation of any block improving the schema
Just to clarify there will start and end points for every block

On Tue, Oct 25, 2011 at 4:29 AM, Pieren pier...@gmail.com wrote:

 On Tue, Oct 25, 2011 at 5:25 AM, Werner Horsch werner.hor...@gmail.com
 wrote:
  I was thinking in how to aid the entry of numbering to osm, and it
 shouldnt
  be very difficult.
  The logic should be something like this for addr interpolation...

 I don't think it is a good idea. As the relation is called, all
 addresses between start and end are just ... interpolation. They
 should stay as such in the database. It is the responsibility of the
 data consumer to speculate on the right position for all intermediate
 numbers in the street, not a script working into the database. If
 contributors are not satisfied by the interpolation, they should
 reduce the size of it or put single node addresses.

 Pieren

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-25 Thread Mike N

On 10/25/2011 12:49 PM, Werner Horsch wrote:

It's a first approach, imagine those cities which do not have any
house-numbers yet, we could add them quite fast. Later any memeber can
remove the interpolation of any block improving the schema
Just to clarify there will start and end points for every block


  This sounds much like the existing address interpolation plugin, with 
the option Convert Way to individual house numbers checked.   For best 
accuracy, an address interpolation way would need to be created for 
every block, then converted to house numbers.


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-25 Thread Russ Nelson
Pieren writes:
  I don't think it is a good idea. As the relation is called, all
  addresses between start and end are just ... interpolation.

We've had this discussion before. Here in my part of the USA, street
addresses were renumbered for the convenience of the fire, police, and
rescue squads. Cuz, well, everybody wants them to be able to find your
house. They were renumbered according to the linear distance down your
road. So ... if you know an address at the beginning of the road, and
at the end of the road, you know the addresses of all the houses using
linear interpolation. If you doubt me, feel free to test this theory
on Pleasant Valley Road, Potsdam NY. I've entered addresses by hand
AND added addresses via an import of cadastral data. Those line up
very well, and I predict that if you try linearly interpolating,
you'll get the same results. But don't trust my prediction ... try it
for yourself. If I'm wrong, then you can prove it to me!

-- 
--my blog is athttp://blog.russnelson.com
Crynwr supports open source software
521 Pleasant Valley Rd. | +1 315-600-8815
Potsdam, NY 13676-3213  | Sheepdog   

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Plugin for Karlsruhe schema

2011-10-25 Thread Hartmut Holzgraefe

On 10/25/2011 11:05 PM, Russ Nelson wrote:


They were renumbered according to the linear distance down your
road.


which implies that the road itself is linear and does not
have any 2nd row buildings with 20a,20b,20c numbers ...
all of which applies to the road i used to be living
at a few years ago:

  http://bielepedia.de/util/karte.php?street=Nobelstra%C3%9Fe

(and don't get me started on Berlin with its duplicate
street names, they are only unique per town district there,
or the small towns or old town centers where houses are numbered
by size or order of construction or by the order in which they
signed fire insurance contracts ...)

Not saying that such a plugin doesn't make sense for certain
areas in the world, but i haven't seen this by linear distance
scheme in any place but the USA yet, so its probably low priority
for the rest of the world, and definitely for all parts of Europe
i've been to ...

--
hartmut

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


[josm-dev] Plugin for Karlsruhe schema

2011-10-24 Thread Werner Horsch
I was thinking in how to aid the entry of numbering to osm, and it shouldnt
be very difficult.
The logic should be something like this for addr interpolation
1) Set the first node with a number, select the associated street
2) Enter the step numbers to jump form one square to the next (every street
intersection) e.g 100.
first square 1 - 100, 2nd 200, 3d 300, etc
3) calculate distance from the first addr-node to the first intersection
node
4) start adding nodes keeping this distance to the next intersection on both
sides of the street
5) add the way with interpolation
6) keep doing the same until the street ends
7) repeat the same for the other side of the street

I was going to code this for an offline tool, but I realized the drawbacks
of not seeing what the tool is doing with several exceptions that may appear
like
-a crossing street is missing
-the next crossing is a service way (eg entrance to ...)
-the street crosses a huge place with no numbers (Av. 9 de Julio, Buenos
Aires)
-etc

So the only way to be aware of such cases is to see what the tool does on
execution time, that for a plugin is the right solution. My problem is that
I have never written one. Can someone give me some hints on this, pointing
to an easy to read  plugin to take it as example or perhaps there is some
guide/tutorial on this or someone with more plugin experience wants to be a
coding partner on this project

Any clues are welcome
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev