Re: [josm-dev] self-intersecting ways

2010-03-26 Thread Klaus Dietrich
am 26.03.2010 01:41, schrieb Anthony:
 On Thu, Mar 25, 2010 at 5:50 PM, Paul Johnson ba...@ursamundi.org wrote:
 
 On Mon, 22 Mar 2010 01:50:23 -0400, Anthony wrote:
 In OSM, the way which is tagged
 highway represents the physical road, right?

 Centerlines, actually.

 What centerline?  The actual painted centerline (surely not, it's not always
 there, and it's not always in the center)?  The center of the physical road?
  The center of the lanes of travel?  The center of the right of way?
  Something else?
I'm not sure what the correct english term is, maybe axis, but in
germany the relevent line is called Straßenachse or Bauachse. See
http://de.wikipedia.org/wiki/Achse_%28Verkehrsweg%29

In my understanding, the way tagged highway represents the entire road
including the shoulder and is defined by the Bauachse.

In my opinion this also means that as long as we don't use areas to map
roads, the only correct approach for e.g. landuse next to the road is
using the same nodes for both road and landuse. Because if the way
tagged highway IS the road and the landuse extends UP TO the road there
is no gap between them.

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


Re: [josm-dev] self-intersecting ways

2010-03-26 Thread Anthony
On Fri, Mar 26, 2010 at 6:57 AM, Klaus Dietrich kl...@gmx.de wrote:

 am 26.03.2010 01:41, schrieb Anthony:
  On Thu, Mar 25, 2010 at 5:50 PM, Paul Johnson ba...@ursamundi.org
 wrote:
 
  On Mon, 22 Mar 2010 01:50:23 -0400, Anthony wrote:
  In OSM, the way which is tagged
  highway represents the physical road, right?
 
  Centerlines, actually.
 
  What centerline?  The actual painted centerline (surely not, it's not
 always
  there, and it's not always in the center)?  The center of the physical
 road?
   The center of the lanes of travel?  The center of the right of way?
   Something else?
 I'm not sure what the correct english term is, maybe axis, but in
 germany the relevent line is called Straßenachse or Bauachse. See
 http://de.wikipedia.org/wiki/Achse_%28Verkehrsweg%29

 In my understanding, the way tagged highway represents the entire road
 including the shoulder and is defined by the Bauachse.

 In my opinion this also means that as long as we don't use areas to map
 roads, the only correct approach for e.g. landuse next to the road is
 using the same nodes for both road and landuse. Because if the way
 tagged highway IS the road and the landuse extends UP TO the road there
 is no gap between them.


I understand what you're saying, and *if* the landuse extends up to the road
and there is no gap between them, I think you have a perfectly valid point:
to my mind, if that is the case neither situation is correct.  You can't get
the gap correct and the position correct simultaneously, without using an
area to map the road (what Frederik said).

Maybe for these situations we are best off using a landuse=highway area.
These areas could also be used in situations where the landuse for the
highway is greater than the road, but they would be required as an
alternative to connecting landuse areas to highway ways.

I had pretty much abandoned it (not because I think it's a bad idea, but
because I realized that the wiki isn't a very productive place), but see
http://wiki.openstreetmap.org/wiki/Proposed_features/highway
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] self-intersecting ways

2010-03-26 Thread Teemu Koskinen
On Fri, 26 Mar 2010 13:57:34 +0200, Frederik Ramm frede...@remote.org  
wrote:

 3. Draw roads as areas, either re-using the nodes of the adjoining
 landuse areas or using a multipolygon relation for landuse areas and
 road area (so they can share the border way which would remain
 untagged). Wrong because it defeats routing and puzzles newcomers.


If we had areas that had also a direction, the roads could be drawn as  
areas but routing would also work.
It would however require new datatype, like the lane -type in:  
http://elanor.mine.nu/daeron/types.png
Maybe it could be also done with relations, but then it would be prone to  
errors if there's even a single editor that doesn't handle them well, so  
having an explicit type for it would be better.

In any case, there are solutions that wouldn't result in wrong models of  
the world.


Teemu Koskinen

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


Re: [josm-dev] self-intersecting ways

2010-03-21 Thread Dirk Stöcker

On Sat, 20 Mar 2010, Paul Johnson wrote:


On Fri, 05 Mar 2010 12:23:54 +0100, Dirk Stöcker wrote:


Mapping also means generalizing. This means you do NOT map what is
EXACTLY on the ground, but you map what it means and is sensible.


Art generalizes.  Cartography is a science.


Well, than I'm an artist. But I learned to generalize. A lot of research 
in modern cartography is about the fact how you can do this generalizing 
automatically. But it is a major component of VERY map making process.


Ciao
--
http://www.dstoecker.eu/ (PGP key available)___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] self-intersecting ways

2010-03-21 Thread Paul Johnson
On Sun, 21 Mar 2010 20:09:43 -0400, Anthony wrote:

 When I lived in New Jersey it was the same way, and I'd imagine it's the
 same way in most of the United States.

I'd say more research is needed before we call that conclusive.  At least 
in Oregon and Washington, street boundaries often extend beyond the 
street for service access and future expansion reasons (plus the local 
governments don't deem it particularly fair to tax folks for property 
extending into the street, preferring to condemn the protruding portions).

I wonder if it's a western/eastern thing, with county surveyors being a 
tad on the overwhelmed side back east.


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


Re: [josm-dev] self-intersecting ways

2010-03-21 Thread Anthony
On Mon, Mar 22, 2010 at 12:35 AM, Paul Johnson ba...@ursamundi.org wrote:

 On Sun, 21 Mar 2010 20:09:43 -0400, Anthony wrote:

  When I lived in New Jersey it was the same way, and I'd imagine it's the
  same way in most of the United States.

 I'd say more research is needed before we call that conclusive.


I guess.  I'd love to hear of a statewide counterexample.  If the
right-of-way doesn't extend beyond the road, where are you supposed to
walk?  (I know of some local situations where there is no walking space on
the side of the road, but not of any entire states where this isn't the
norm.)


 At least
 in Oregon and Washington, street boundaries often extend beyond the
 street for service access and future expansion reasons (plus the local
 governments don't deem it particularly fair to tax folks for property
 extending into the street, preferring to condemn the protruding portions).


That's a different question, though.  In OSM, the way which is tagged
highway represents the physical road, right?  I assume this is the case
because we tag dual carriageways as two ways, as there are two physically
separate roadways, whereas there is generally only a single right of way.
Outside of dual carriageways I guess it's ambiguous, unless there's a width
tag, in which case, what is it that we're supposed to measure the width of?
I can think of at least three different possibilities - the paved surface,
the actual lanes used for traffic, and the entire right of way including the
unpaved shoulder and/or the sidewalks and/or the [
http://en.wikipedia.org/wiki/Tree_lawn].  Which would you say is correct?
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] self-intersecting ways

2010-03-20 Thread Paul Johnson
On Fri, 05 Mar 2010 12:23:54 +0100, Dirk Stöcker wrote:

 Mapping also means generalizing. This means you do NOT map what is
 EXACTLY on the ground, but you map what it means and is sensible.

Art generalizes.  Cartography is a science.



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


Re: [josm-dev] self-intersecting ways

2010-03-20 Thread Anthony
On Sat, Mar 6, 2010 at 7:43 AM, Pieren pier...@gmail.com wrote:

 On Sat, Mar 6, 2010 at 9:19 AM, Paul Johnson ba...@ursamundi.org wrote:

 
  If you go the absurdist route, maybe.  If you want to map the
  landuse of the right-of-way, how about landuse=highway?
 
 
 This has already been proposed. But until everyone is drawing a polygon for
 the road, we have to accept that the polyline is the road.


But the road is not the same as the right of way.  The right of way
generally (at least in places I'm aware of) extends beyond the road.


 So, gluing the
 adjacent landuse to the highway or leaving a space preparing the road
 polygone are both correct. The second is just more accurate than the first.

 Pieren

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


Re: [josm-dev] self-intersecting ways

2010-03-06 Thread Paul Johnson
Pieren wrote:

 On Fri, Mar 5, 2010 at 12:11 PM, Teemu Koskinen 
 teemu.koski...@mbnet.fiwrote:


 Definitely not, IMO the warning should be elevated to an error, when
 dealing with wide linear features (roads, rivers, etc.).


 If you go that way, drawing a road or a river with a polyline should be
 reported as an error. Or don't tag is as a highway but
 the_white_line_in_the_middle_of_the_road ;-)

If you go the absurdist route, maybe.  If you want to map the
landuse of the right-of-way, how about landuse=highway?



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


Re: [josm-dev] self-intersecting ways

2010-03-06 Thread Pieren
On Sat, Mar 6, 2010 at 9:19 AM, Paul Johnson ba...@ursamundi.org wrote:


 If you go the absurdist route, maybe.  If you want to map the
 landuse of the right-of-way, how about landuse=highway?


This has already been proposed. But until everyone is drawing a polygon for
the road, we have to accept that the polyline is the road. So, gluing the
adjacent landuse to the highway or leaving a space preparing the road
polygone are both correct. The second is just more accurate than the first.

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


Re: [josm-dev] self-intersecting ways

2010-03-05 Thread Teemu Koskinen
On Fri, 05 Mar 2010 09:29:20 +0200, Dirk Stöcker  
openstreet...@dstoecker.de wrote:

 On Thu, 4 Mar 2010, Marko Mäkelä wrote:

 +1. Some days ago, I came across a mkgmap warning for a dead-end oneway
 in a residential area that was riddled with landuse polygons that shared
 points with ways. It was very hard to see that the oneway was not  
 connected
 to the road it was supposed to. I spent several minutes detaching the
 landuses from the roads in the area.

 From my point of view landuses either cross streets or are glued to
 streets. Until we introduce area style streets there is no other sensible
 way.

 The method to leave a little space beside the road is broken by design
 and as geodesy is my profession I have the little advantage that map
 making is a part of my profession. Databases where one feature did not
 directly join with the next one cause and caused a lot trouble in GIS
 and will also cause in OSM (when we start to use the data for something
 else beside making a map).


But that is not mapping what's on the ground, on the ground the landuse  
does not extend to the center of the road. OSM is not GIS, and it  
shouldn't be.


 Regarding the duplicate nodes: Duplicate nodes are an validator ERROR
 whereas everything else you discussed here are warnings and informational
 state.

 When JOSM really warns in cases where areas in line features overlap at
 the borders, than that warning needs to be removed.


Definitely not, IMO the warning should be elevated to an error, when  
dealing with wide linear features (roads, rivers, etc.).


Teemu Koskinen

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


Re: [josm-dev] self-intersecting ways

2010-03-05 Thread Dirk Stöcker
On Fri, 5 Mar 2010, Teemu Koskinen wrote:

 The method to leave a little space beside the road is broken by design
 and as geodesy is my profession I have the little advantage that map
 making is a part of my profession. Databases where one feature did not
 directly join with the next one cause and caused a lot trouble in GIS
 and will also cause in OSM (when we start to use the data for something
 else beside making a map).

 But that is not mapping what's on the ground, on the ground the landuse
 does not extend to the center of the road. OSM is not GIS, and it
 shouldn't be.

Mapping also means generalizing. This means you do NOT map what is EXACTLY 
on the ground, but you map what it means and is sensible.

 Definitely not, IMO the warning should be elevated to an error, when
 dealing with wide linear features (roads, rivers, etc.).

It is no error in any case. Ways and lines can overlap. Why should that be 
an error?

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)


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


Re: [josm-dev] self-intersecting ways

2010-03-04 Thread Alan Mintz
At 2010-03-03 14:31, Richard Welty wrote:
 On 3/3/10 4:29 PM, Paul Johnson wrote:
  Alan Mintz wrote:
 
  A similar problem exists with some landuse=* ways that
  people have glued to roads.
 
  I'd call that a bit of an error:  Clearly that landuse doesn't
  continue all the way out to the street centerline.
 
 but for people using josm w/the validator who are not aware of the issue,
 they are told that the duplicate nodes are an error, and there's a
 convenient
 fix button right there.

Sounds like the validator should take into account the type of features in 
this case, right? I'm all for joining nodes of like feature types (like 
landuse to landuse), but it shouldn't tell you (let you?) join landuse to 
highway.

 From a technical standpoint, the land parcels do indeed usually extend out 
to the centerline of the roadway, but an easement is granted to the 
city/county/state for the road, utilities, etc., and the area within the 
easement may not be built upon by the landowner. IMO, that should exclude 
the area within the easement from the landuse boundary.
--
Alan Mintz alan_mintz+...@earthlink.net


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


Re: [josm-dev] self-intersecting ways

2010-03-04 Thread Richard Welty
On 3/4/10 11:54 AM, Alan Mintz wrote:
 At 2010-03-03 14:31, Richard Welty wrote:
   On 3/3/10 4:29 PM, Paul Johnson wrote:
 Alan Mintz wrote:
   
 A similar problem exists with some landuse=* ways that
 people have glued to roads.
   
 I'd call that a bit of an error:  Clearly that landuse doesn't
 continue all the way out to the street centerline.
   
   but for people using josm w/the validator who are not aware of the issue,
   they are told that the duplicate nodes are an error, and there's a
   convenient
   fix button right there.

 Sounds like the validator should take into account the type of features in
 this case, right? I'm all for joining nodes of like feature types (like
 landuse to landuse), but it shouldn't tell you (let you?) join landuse to
 highway.

i would agree with you. not being familiar with internals in this case, 
i don't know how
hard that would be to adjust. however, at a minimum, there probably 
ought to be some
sort of documentation/help option available for errors and warnings so a 
newish user
can get immediate feedback on whether a fix is advisable,  maybe right 
click/help-with-error
leading to a text help dialog?
From a technical standpoint, the land parcels do indeed usually extend out
 to the centerline of the roadway, but an easement is granted to the
 city/county/state for the road, utilities, etc., and the area within the
 easement may not be built upon by the landowner. IMO, that should exclude
 the area within the easement from the landuse boundary.


and from a practical point of view, this is how they are in the database 
at the present time; nodes
for landuse/areas are at the same locations as nodes in highways.

richard


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


Re: [josm-dev] self-intersecting ways

2010-03-04 Thread colliar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



Richard Welty schrieb:
 On 3/4/10 11:54 AM, Alan Mintz wrote:
 At 2010-03-03 14:31, Richard Welty wrote:
From a technical standpoint, the land parcels do indeed usually extend out
 to the centerline of the roadway, but an easement is granted to the
 city/county/state for the road, utilities, etc., and the area within the
 easement may not be built upon by the landowner. IMO, that should exclude
 the area within the easement from the landuse boundary.


 and from a practical point of view, this is how they are in the database 
 at the present time; nodes
 for landuse/areas are at the same locations as nodes in highways.

I came accross this, too, and have to say it is quite a lot of work to get the
landuse of the road and often you get conflicts later on these areas again.

Maybe a tool for unglueing those objects and moving the area aubout 2 meters of
would be nice or even a automatical fix by josm itself.

Also validator warns about landuses glued together if there exists nothing else
and these landuses should be glued you get warnings about them.


cheers colliar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREIAAYFAkuP8FQACgkQalWTFLzqsCsBPQCguEasIjHG0peW+mRHXwLvwy9J
708An3kFqEcKz0VFX4U1vxuLj87pb8e8
=/e0l
-END PGP SIGNATURE-

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


Re: [josm-dev] self-intersecting ways

2010-03-04 Thread Marko Mäkelä
On Thu, Mar 04, 2010 at 06:39:34PM +0100, colliar wrote:
 Richard Welty schrieb:
  On 3/4/10 11:54 AM, Alan Mintz wrote:
  At 2010-03-03 14:31, Richard Welty wrote:
 From a technical standpoint, the land parcels do indeed usually extend 
  out
  to the centerline of the roadway, but an easement is granted to the
  city/county/state for the road, utilities, etc., and the area within the
  easement may not be built upon by the landowner. IMO, that should exclude
  the area within the easement from the landuse boundary.
 
 
  and from a practical point of view, this is how they are in the database 
  at the present time; nodes
  for landuse/areas are at the same locations as nodes in highways.
 
 I came accross this, too, and have to say it is quite a lot of work to get the
 landuse of the road and often you get conflicts later on these areas again.
 
 Maybe a tool for unglueing those objects and moving the area aubout 2 meters 
 of
 would be nice or even a automatical fix by josm itself.

+1. Some days ago, I came across a mkgmap warning for a dead-end oneway
in a residential area that was riddled with landuse polygons that shared
points with ways. It was very hard to see that the oneway was not connected
to the road it was supposed to. I spent several minutes detaching the
landuses from the roads in the area.

Marko

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


Re: [josm-dev] self-intersecting ways

2010-03-04 Thread Alan Mintz
At 2010-03-04 09:10, Richard Welty wrote:
On 3/4/10 11:54 AM, Alan Mintz wrote:

From a technical standpoint, the land parcels do indeed usually 
 extend out
to the centerline of the roadway, but an easement is granted to the
city/county/state for the road, utilities, etc., and the area within the
easement may not be built upon by the landowner. IMO, that should exclude
the area within the easement from the landuse boundary.


and from a practical point of view, this is how they are in the database 
at the present time; nodes
for landuse/areas are at the same locations as nodes in highways.

Some imported ones, yes. I doubt human-drawn ones are (I certainly don't do 
it).

It would be nice if someone would create a tool that lets you select two 
nodes, specify a direction and distance, and have it dup and move them, as 
well as the specified way that connects them. It should also be possible to 
have it do the same thing with an entire polygon and/or, in the case where 
it is rectangular, specify separate easement distances for all 4 sides 
(this would be the most common usage). This would greatly speed up fixing 
of these types of issues when they are encountered by the more experienced 
of us.


--
Alan Mintz alan_mintz+...@earthlink.net


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


Re: [josm-dev] self-intersecting ways

2010-03-03 Thread Richard Welty
On 3/3/10 4:29 PM, Paul Johnson wrote:
 Alan Mintz wrote:


 A similar problem exists with some landuse=* ways that
 people have glued to roads.
  
 I'd call that a bit of an error:  Clearly that landuse doesn't
 continue all the way out to the street centerline.

but for people using josm w/the validator who are not aware of the issue,
they are told that the duplicate nodes are an error, and there's a 
convenient
fix button right there.

richard


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


Re: [josm-dev] self-intersecting ways

2010-03-03 Thread Teemu Koskinen
On Thu, 04 Mar 2010 00:31:32 +0200, Richard Welty rwe...@averillpark.net  
wrote:

 On 3/3/10 4:29 PM, Paul Johnson wrote:
 Alan Mintz wrote:


 A similar problem exists with some landuse=* ways that
 people have glued to roads.

 I'd call that a bit of an error:  Clearly that landuse doesn't
 continue all the way out to the street centerline.

 but for people using josm w/the validator who are not aware of the issue,
 they are told that the duplicate nodes are an error, and there's a
 convenient
 fix button right there.


But then, if he runs the validator again (either manually or on upload),  
he gets a warning saying that a road is overlapping an area.

Teemu Koskinen

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


Re: [josm-dev] self-intersecting ways

2010-03-03 Thread Richard Welty
On 3/3/10 5:43 PM, Teemu Koskinen wrote:
 On Thu, 04 Mar 2010 00:31:32 +0200, Richard Welty 
 rwe...@averillpark.net wrote:


 but for people using josm w/the validator who are not aware of the 
 issue,
 they are told that the duplicate nodes are an error, and there's a
 convenient
 fix button right there.


 But then, if he runs the validator again (either manually or on 
 upload), he gets a warning saying that a road is overlapping an area.
and perhaps there's a lesson about the current state of the validator here?

newish josm users are told they should install the validator right in 
the splash screen, they install it and
use it implicitly when uploading, it tells them there are errors, they 
fix them, then they get told of
different errors after they've laboriously fixed 20 or 50 or 100 
duplicate nodes. they don't really get
a whole lot of help in understanding the rabbit hole they've just gone 
down. they know it's a rabbit
hole, but they have no real idea what just happened.

richard


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


[josm-dev] self-intersecting ways

2010-02-23 Thread Matthias Julius
The Join Node to Way command currently inserts the node into all way
segments within snap distance unless the node is already part of the
way segment or the way segments are consecutive.

This has the potential of producing self-intersecting ways by either
joining a node to a way it is already member of or when a node is
close to more than one non-consecutive way segments.  The validator
will put a warning on those ways.

I am wondering whether JOSM should actively support the creation of
self-intersecting ways or whether the Join Node to Way command should
only join a node to ways it is not already member of.

Also, I am wondering whether it should join a node only to the nearest
way instead of all ways withing snap distance.  If one wants to join
the node to another way one can just repeat the command.

Any opinions?

Matthias

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


Re: [josm-dev] self-intersecting ways

2010-02-23 Thread Matthias Julius
Alan Mintz alan_mintz+...@earthlink.net writes:

 At 2010-02-23 09:41, Matthias Julius wrote:
...
I am wondering whether JOSM should actively support the creation of
self-intersecting ways or whether the Join Node to Way command should
only join a node to ways it is not already member of.

 Based on my usage, the latter (do not join to existing parents of the node).

Also, I am wondering whether it should join a node only to the nearest
way instead of all ways withing snap distance.  If one wants to join
the node to another way one can just repeat the command.

 I like this. I'm often dealing with administrative boundaries that run down 
 the centerlines of streets, and have to move either the boundary or the 
 street to join a new cross-street.

 Of course, I'd really like to see the ability to ignore admin boundaries 
 completely (perhaps during download), as they almost always are simply in 
 the way, either because they have been glued to roads, or because they are 
 close to roads. A similar problem exists with some landuse=* ways that 
 people have glued to roads.

IMHO the right thing to do for boundaries that run down the middle of
roads, rivers, or other linear features to use those as members
instead of duplicating the way.

JOSM also has a hidden and undocumented filter feature with which it
should be possible to hide objects you don't want to see.  Of course
this is hidden and undocumented for a reason.

Matthias

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