Re: [OSM-talk] To those who remove dupe nodes
--- On Sun, 1/9/11, Matt Amos wrote: From: Matt Amos Subject: Re: [OSM-talk] To those who remove dupe nodes To: "Nathan Edgars II" Cc: talk@openstreetmap.org Date: Sunday, January 9, 2011, 5:07 PM On Sun, Jan 9, 2011 at 4:25 PM, Nathan Edgars II wrote: > Frederik Ramm wrote: >> Your original complaint was about people removing *duplicate* nodes >> though, not people removing fresh, unused nodes. That's another >> situation; if your upload creates duplicate nodes then your upload is >> buggy and should be stopped. >> > Not always - an import of TIGER county lines will create dupes with TIGER > roads, and these should not be joined. in this case Oscar's import consists of landuse areas, which should be joined. otherwise, what's in the gap? ;-) with the admin boundaries and physical features it's more of a matter of opinion; there are good reasons to join them, and good reasons to have them separate. cheers, matt ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk hello, yes some of my polygons are a bit messy, nothing very relevant actually- I'll be fixing that in the next 24/48 hours. regards--oscar ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
On Sun, Jan 9, 2011 at 4:25 PM, Nathan Edgars II wrote: > Frederik Ramm wrote: >> Your original complaint was about people removing *duplicate* nodes >> though, not people removing fresh, unused nodes. That's another >> situation; if your upload creates duplicate nodes then your upload is >> buggy and should be stopped. >> > Not always - an import of TIGER county lines will create dupes with TIGER > roads, and these should not be joined. in this case Oscar's import consists of landuse areas, which should be joined. otherwise, what's in the gap? ;-) with the admin boundaries and physical features it's more of a matter of opinion; there are good reasons to join them, and good reasons to have them separate. cheers, matt ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
On 9-1-2011 17:17, andrzej zaborowski wrote: You can use the set python of scripts descibed in the wiki here: http://wiki.openstreetmap.org/wiki/Upload.py to do this to some degree. The "smarter-sort" script sorts your changes in such a way that they look as much as possible like a manual edit. This way objects and their chilren hopfully end up in an atomic diff. I've been using that set of scripts for months now, for import style uploads, and it works well. You *have* to know what you're doing, and know the API/data model reasonably well in case things go wrong. The scripts work on osmChange (.osc) files internally. I've extended the script included on that page to take an .osm file as input and return another .osm file at the end of the upload. That way, I can take the finished upload and postprocess with JOSM. smarter-sort.py is pretty good in limiting those situations where people are deleting 'unused' nodes during your upload. I also once requested the same sorting functionality in JOSM. Kind of fell on deaf ears, as the ticket hasn't been acted upon. https://josm.openstreetmap.de/ticket/4299 -- Lennard ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
Frederik Ramm wrote: > > Your original complaint was about people removing *duplicate* nodes > though, not people removing fresh, unused nodes. That's another > situation; if your upload creates duplicate nodes then your upload is > buggy and should be stopped. > Not always - an import of TIGER county lines will create dupes with TIGER roads, and these should not be joined. -- View this message in context: http://gis.638310.n2.nabble.com/To-those-who-remove-dupe-nodes-tp5904360p5904644.html Sent from the General Discussion mailing list archive at Nabble.com. ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
On 9 January 2011 14:54, Matt Amos wrote: > hi oscar. are you using diff uploads to create the polygons? if so, it > would be a good idea to group the uploaded ways and relations for the > polygon along with the nodes it needs. this would mean that such an > error wouldn't occur. i seem to remember that this was done for the > french corrine import and maybe it would be a good idea to talk to > them about good techniques for doing this before going any further? You can use the set python of scripts descibed in the wiki here: http://wiki.openstreetmap.org/wiki/Upload.py to do this to some degree. The "smarter-sort" script sorts your changes in such a way that they look as much as possible like a manual edit. This way objects and their chilren hopfully end up in an atomic diff. Cheers ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
Oscar, Oscar Orbe wrote: in any case, I dont think it's a good idea to remove unused nodes which are extremely recent. I don't think that someone dos it programatically - but if you edit an area and find a stray unused node you often delete that without checking when it was created! Your original complaint was about people removing *duplicate* nodes though, not people removing fresh, unused nodes. That's another situation; if your upload creates duplicate nodes then your upload is buggy and should be stopped. Bye Frederik -- Frederik Ramm ## eMail frede...@remote.org ## N49°00'09" E008°23'33" ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
hello:thanks for the hint.in any case, I dont think it's a good idea to remove unused nodes which are extremely recent. regards--oscar --- On Sun, 1/9/11, Matt Amos wrote: From: Matt Amos Subject: Re: [OSM-talk] To those who remove dupe nodes To: "Oscar Orbe" Cc: talk@openstreetmap.org Date: Sunday, January 9, 2011, 1:54 PM On Sun, Jan 9, 2011 at 1:29 PM, Oscar Orbe wrote: > > Dear list > I am uploading some landuse polygons and sometimes I get the error that says > something like "that node does not exist". > I think there are people removing unused nodes too fast. > Perhaps those people can change their algorithms so that they only remove > unused nodes whose age is at least 24 hours for example??? so they wont > interrupt uploading processes... hi oscar. are you using diff uploads to create the polygons? if so, it would be a good idea to group the uploaded ways and relations for the polygon along with the nodes it needs. this would mean that such an error wouldn't occur. i seem to remember that this was done for the french corrine import and maybe it would be a good idea to talk to them about good techniques for doing this before going any further? cheers, matt ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] To those who remove dupe nodes
On Sun, Jan 9, 2011 at 1:29 PM, Oscar Orbe wrote: > > Dear list > I am uploading some landuse polygons and sometimes I get the error that says > something like "that node does not exist". > I think there are people removing unused nodes too fast. > Perhaps those people can change their algorithms so that they only remove > unused nodes whose age is at least 24 hours for example??? so they wont > interrupt uploading processes... hi oscar. are you using diff uploads to create the polygons? if so, it would be a good idea to group the uploaded ways and relations for the polygon along with the nodes it needs. this would mean that such an error wouldn't occur. i seem to remember that this was done for the french corrine import and maybe it would be a good idea to talk to them about good techniques for doing this before going any further? cheers, matt ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
[OSM-talk] To those who remove dupe nodes
Dear listI am uploading some landuse polygons and sometimes I get the error that says something like "that node does not exist". I think there are people removing unused nodes too fast. Perhaps those people can change their algorithms so that they only remove unused nodes whose age is at least 24 hours for example??? so they wont interrupt uploading processes... thanks--oscar ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk