[Potlatch-dev] Ways with more than 2000 points

Craig Stanton c.stanton at niwa.co.nz
Thu Oct 7 23:21:07 BST 2010

Hey Richard,
	Thanks for the note about the OSM limit, I'll take the 2000 limit to the other list, I'd thought there was a benefit to it being one way so that you could select one end of it and see it selected all the way tot he other end, then do stuff like extract maps within 10 miles of the entire length or plot all times it intersected roads.
	I'm not likely to get bemused by development emails, software development is my day job, though I can't say I'm super familiar with Flash. Is there anyway to remove the 3 minute limit? Or work around it, maybe I can just grep out the time stamps on the trackpoint entries. I don't imagine Potlatch cares when the points were recorded. If that worked would it create one long way that I'd have cut up, or would it do the 2000 point splicing for me?


> Craig Stanton wrote:
> > The next problem is the 2000 point limit. The Pacific Crest Trail is
> > 2600 miles long, and though it does cross with, and occasionally merge
> > with other trails it is one long trail and there are plenty of times
> > where it will exceed the 2000 point limit. The first length I'm
> > uploading, which covers barely 120 miles has 3095 points and I really
> > don't want to split it out there in the middle of the forest. Is there a
> > method to produce a way large than 2000?
> The 2000-node limit is hardwired into OSM. It's there for a reason - the 
> longer that ways are, the more difficult it is for software to cope with 
> them, as you found when Safari started squawking about slow scripts. 
> There is no way around it and you shouldn't look for one!
> There's no special significance attached in OSM to something being one 
> way. It is absolutely expected that long routes will be split across 
> lots of ways. For example, you need to do that every time there's a 
> bridge, so that you can tag the relevant bit (and that bit only) with 
> bridge=yes.
> Similarly, if the Pacific Crest Trail does merge with other trails, you 
> will need a separate way for each merged section, so that you can add 
> each way to the appropriate route "relations". The relation is how you 
> indicate that all these separate footpaths are part of the same 
> waymarked trail.
> It might be helpful for you to ask a couple of questions at 
> http://help.osm.org/ , on the newbies at openstreetmap.org mailing list, or 
> on IRC (http://irc.openstreetmap.org/) to get familiar with some of 
> these basics. All are quite friendly (well, maybe not the mailing list 
> :( ). This list is really a development list and we don't mind answering 
> your Potlatch questions, but you might get a bit bemused by some of the 
> more developery e-mails flying past!
> > I've just double checked my GPX file and it it entirely one trk with
> > only one trkseg. So I can't see why Potlatch cut it into so many
> > ways, some of which were only a few dozen points, others had
> > hundreds.
> Potlatch automatically cuts a GPX track if there's a delay between 
> trackpoints of 3 minutes. This is because some GPX-producing software 
> concatenates different tracks within the same trkseg or trk.
> cheers
> Richard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/potlatch-dev/attachments/20101008/317c6d67/attachment.html>

More information about the Potlatch-dev mailing list