Re: [OSM-dev] Autocorrectable data inconsistency

2008-08-19 Thread Marc Schütz
 I've only seen this thread partway through, so please tell me if I've
 completely misinterpreted the topic.
 

You have ;-)

There are some ways in the database that contain the same node multiple times 
in a row, not just different nodes on a completely linear piece of the way.
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

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


Re: [OSM-dev] Autocorrectable data inconsistency

2008-08-19 Thread Gregory Williams
In which case, my apologies for misinterpreting, and I completely agree that 
duplicated nodes serve no purpose whatsoever.

Gregory

 -Original Message-
 From: Jochen Topf [mailto:[EMAIL PROTECTED]
 Sent: 19 August 2008 09:59
 To: Gregory Williams
 Cc: dev@openstreetmap.org
 Subject: Re: [OSM-dev] Autocorrectable data inconsistency
 
 You have misinterpreted the topic. Its about having the exact same node
 several times one after each other in a way.
 
 Jochen
 
 On Tue, Aug 19, 2008 at 08:55:06AM +0100, Gregory Williams wrote:
  I've only seen this thread partway through, so please tell me if I've
 completely misinterpreted the topic.
 
  As I see it there is a case, at least on a practical level, for
 storing a series of nodes along a straight line in a way. Imagine a
 very long straight road that crosses multiple z12 tiles. If this were
 stored in its simplest geometric form then there wouldn't be nodes
 within (or potentially in the extra margin that [EMAIL PROTECTED] downloads) 
 a z12
 tile. Therefore the tile would be rendered as if that road doesn't
 exist.
 
  Similarly if somebody working in an editor doesn't download a
 sufficiently large area to encompass at least one of the way's nodes
 then they may get the impression that the road hasn't yet been entered
 into OSM's data. That might even lead to them drawing their own road
 along the same path!
 
  Gregory
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:dev-
   [EMAIL PROTECTED] On Behalf Of Jochen Topf
   Sent: 19 August 2008 08:24
   To: Joachim Zobel
   Cc: dev@openstreetmap.org
   Subject: Re: [OSM-dev] Autocorrectable data inconsistency
  
   On Mon, Aug 18, 2008 at 11:17:53PM +0200, Joachim Zobel wrote:
Am Montag, den 18.08.2008, 13:30 +0200 schrieb Marc Schütz:
 Is there actually a valid use case for having the same node
   multiple
 times in a row?
   
I don't see any.
   
I could write a script to korrect the existing ones. Do the
   sequence_ids
have to be in sequence (which means the ones above need to be
 shifted
down) or does a simple DELETE per dupe do it.
  
   All changes should be done through the API. Do changes on the
 database
   directly only leads to inconsistencies. The API does not expose the
   sequence number, so the order alone is fine.
  
   Jochen
   --
   Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-
 721-
   388298
  
  
   ___
   dev mailing list
   dev@openstreetmap.org
   http://lists.openstreetmap.org/listinfo/dev
 
 
  ___
  dev mailing list
  dev@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/dev
 
 
 --
 Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-721-
 388298
 


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


Re: [OSM-dev] Autocorrectable data inconsistency

2008-08-18 Thread Dave Stubbs
On Sat, Aug 16, 2008 at 10:21 PM, Joachim Zobel [EMAIL PROTECTED] wrote:
 Hi.

 I took a closer look at the data and found that several ways (1+) in
 europe) have identical nodes on subsequent sequence_ids.


I suspect this largely happens when someone removes a few nodes from a
loop and the editor doesn't notice the weirdness. There might have
been a few historical bugs on creating ways too.

Potlatch has a habit of resetting the created_by tag when it makes an
edit, whereas JOSM doesn't, so I think the relative created_by counts
are probably misleading.
It would be good to check each of the editors to see if they make an
effort to stop this from happening.

Dave

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


Re: [OSM-dev] Autocorrectable data inconsistency

2008-08-18 Thread Joachim Zobel
Am Montag, den 18.08.2008, 13:30 +0200 schrieb Marc Schütz:
 Is there actually a valid use case for having the same node multiple
 times in a row?

I don't see any. 

I could write a script to korrect the existing ones. Do the sequence_ids
have to be in sequence (which means the ones above need to be shifted
down) or does a simple DELETE per dupe do it.

Sincerely,
Joachim



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