Re: [OSM-dev] How reconstrucing a way from the history?

2009-01-14 Thread Richard Fairhurst

Thomas Wood wrote:
 [updating way when node moved]
 However, I think potlatch does work in this way..

It does in 0.5 but won't in 0.6.

This does make it a bit more difficult in 0.6 for Potlatch's way revert tool
('H') to figure out what the revision dates were, which is what I'm working
on at the moment.

cheers
Richard
-- 
View this message in context: 
http://www.nabble.com/How-reconstrucing-a-way-from-the-history--tp21413719p21453282.html
Sent from the OpenStreetMap - Dev mailing list archive at Nabble.com.


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


Re: [OSM-dev] How reconstrucing a way from the history?

2009-01-13 Thread Robert Vollmert
On Jan 12, 2009, at 13:45, Nevel Gandish wrote:
 And can I be sure that when moving a node caused a new history entry
 for the node and the way that both have the exact timestamp or might
 they differ by a few seconds?

Just moving a node doesn't create a new history entry for the way, I  
think.

Cheers
Robert


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


Re: [OSM-dev] How reconstrucing a way from the history?

2009-01-13 Thread Nevel Gandish
2009/1/13 Robert Vollmert rvollmert-li...@gmx.net:
 On Jan 12, 2009, at 13:45, Nevel Gandish wrote:

 And can I be sure that when moving a node caused a new history entry
 for the node and the way that both have the exact timestamp or might
 they differ by a few seconds?

 Just moving a node doesn't create a new history entry for the way, I think.

Um, that seems true indeed. I just assumed it would.

Nevel

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


Re: [OSM-dev] How reconstrucing a way from the history?

2009-01-13 Thread Thomas Wood
2009/1/13 Nevel Gandish koanti...@googlemail.com:
 2009/1/13 Robert Vollmert rvollmert-li...@gmx.net:
 On Jan 12, 2009, at 13:45, Nevel Gandish wrote:

 And can I be sure that when moving a node caused a new history entry
 for the node and the way that both have the exact timestamp or might
 they differ by a few seconds?

 Just moving a node doesn't create a new history entry for the way, I think.

 Um, that seems true indeed. I just assumed it would.

 Nevel


However, I think potlatch does work in this way..

-- 
Regards,
Thomas Wood
(Edgemaster)

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


Re: [OSM-dev] How reconstrucing a way from the history?

2009-01-12 Thread Frederik Ramm
Hi,

Nevel Gandish wrote:
 I currently try to reconstruct ways from the history. Retrieving the
 ways is no problem. Retrieving nodes from the history isn't too.
 But how to put them together? Not every node has a entry for every
 entry in a ways history.
 Is figuring out by comparing the timestamps the right method or is
 there a better one?

I would suggest you download an old planet file that contained the 
right data and extract the data from there; this gives you a 
(relatively) consistent set of ways and matching nodes, and causes less 
strain on the API.

You cannot rely on ways and nodes having identical timestamps.

Bye
Frederik

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