tag:blogger.com,1999:blog-7044416767097884399.post6006119363182568753..comments2024-01-14T04:21:00.229-06:00Comments on Toby's Blog of open/mappy things: Too Much of a Good ThingToby Murrayhttp://www.blogger.com/profile/02477220676773608190noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-7044416767097884399.post-54600430211812070272013-02-19T08:37:26.318-06:002013-02-19T08:37:26.318-06:00Nevermind about the simplification algorithm. I ju...Nevermind about the simplification algorithm. I just realized that if you set the max-error setting to very small, it does the jobJameshttps://www.blogger.com/profile/09504246951333160141noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-52784176328149533062013-02-19T08:12:51.106-06:002013-02-19T08:12:51.106-06:00That round object is a large sewer pipe on the U. ...That round object is a large sewer pipe on the U. of North Carolina campus. I am the one responsible for that bad import. <br /><br />I have noticed unwanted result with the simplification algorithm that may reflect user error. Many of the buildings that I imported will have say 5-10 nodes per straight side (rather than 2). When I simplify, the building is no longer right angled and orthogonalize does not help. Is there a simplify that just gets rid of extra nodes on straight parts of ways? <br /><br />Also, it looks as though your first example is just Xeno's paradox of dichotomy (always getting halfway to your destination).Jameshttps://www.blogger.com/profile/09504246951333160141noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-87095298564209835362013-01-23T22:21:46.436-06:002013-01-23T22:21:46.436-06:00Yes, JOSM has a Douglas-Peucker simplification fea...Yes, JOSM has a Douglas-Peucker simplification feature. You can even set how aggressive it is via the simplify-way.max-error setting in advanced preferences. Ideally it would be better to prevent this over-noding from getting into the database in the first place though :)Toby Murrayhttps://www.blogger.com/profile/02477220676773608190noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-29328813717834292412013-01-23T17:46:24.381-06:002013-01-23T17:46:24.381-06:00I was just editing around Kilimanjaro and spotted ...I was just editing around Kilimanjaro and spotted this (a way about 3km and over 1000 points, mostly just heading south)<br /><br />http://www.openstreetmap.org/browse/way/115909459<br /><br />I've come across these before, where I suspect the original uploader has taken their GPS log and turned every GPS trackpoint into an OSM node.<br /><br />Running the JOSM Tool->Simplify Way reduces this to just 87 nodes.<br />[And is this way is now comparable to the other paths in this area and no loss of detail]<br /><br />I assume the Simplify Way uses the Algorithm mentioned above.RobbieOnSeahttps://www.blogger.com/profile/03988947151284304433noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-20439614220307318502013-01-23T11:16:36.217-06:002013-01-23T11:16:36.217-06:00How about adding a Douglas-Peucker or similar line...How about adding a Douglas-Peucker or similar line generalization routine for Potlatch and other tools?Dave Smithhttps://www.blogger.com/profile/12289664763849295219noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-82076947908222998112013-01-23T09:19:55.177-06:002013-01-23T09:19:55.177-06:00Yeah, I saw that. I was wondering if that was actu...Yeah, I saw that. I was wondering if that was actually approaching the accuracy limit of the API. I'm not quite sure. I think it is somewhere around 1cm at the equator, getting smaller towards the poles.Toby Murrayhttps://www.blogger.com/profile/02477220676773608190noreply@blogger.comtag:blogger.com,1999:blog-7044416767097884399.post-64307798302987578232013-01-23T06:14:42.385-06:002013-01-23T06:14:42.385-06:00I like that smallest house. You also notice that t...I like that smallest house. You also notice that the nodes are aligned to a grid, far less precise than JOSM's precision.<br /><br />http://tinypic.com/r/qrizy1/6<br />http://tinypic.com/r/r9hmop/6<br /><br />(also note the scale, I'm working on cm scales here)Sanderhttps://www.blogger.com/profile/05186133043258283009noreply@blogger.com