[OSM-talk] "Download all incomplete ways" (was: Argh! Just deleted lots from OSM by mistake)

David Sheldon dave at earth.li
Tue Aug 1 14:07:07 BST 2006


On Tue, Aug 01, 2006 at 01:45:11PM +0100, Richard Fairhurst wrote:
> Imi wrote:
> 
> >So I'll pass the ball along to either Nick or Steve: If I write an ruby
> >script delivering a way together with all dependencies for the way, will
> >you upload it into current API? ;-)
> 
> I'd really appreciate such a script, too.

Now that is the sort of query that our database is structured to return. 

It should be very easy to get all of the segments and nodes for a given
way and should be fast as long as you don't use REXML to serialise it.

David

-- 
As the saying goes, if you give a man a fish, he eats for a day. If you
teach him to grep for fish, he'll leave you alone all weekend. If you
encourage him to beg for fish, pretty soon c.l.p.misc will smell like a
three-week-dead trout. -- Tom Phoenix, c.l.p.misc.




More information about the talk mailing list