On Dec 29, 2008 10:41am, Jochen Topf <jochen@remote.org> wrote:<br />> On Mon, Dec 29, 2008 at 03:08:36PM +0000, michcasa@gmail.com wrote:<br />> <br />> >> There just was a discussion on dev about a single way with 40.000 nodes.<br />> <br />> >><br />> <br />> >> That is far too long to be able to handle it with current software and<br />> <br />> >><br />> <br />> >> makes lots of problems. Are you maybe referring to that? Ways should not<br />> <br />> >><br />> <br />> >> have more than 1000 nodes or so.<br />> <br />> >><br />> <br />> ><br />> <br />> > Yes we are. The current ways we are talking about may have more than 40<br />> <br />> > 000 nodes. I would like to delete them and replace them by chopping the<br />> <br />> > ways.<br />> <br />> ><br />> <br />> > Do you known how I could delete the current ones at once. I thought about<br />> <br />> > something like: SELECT boundary FROM ways WHERE<br />> <br />> > (boundary='administrative' AND admin_level=4 AND source='geobase'). The<br />> <br />> > number we should get is 503 ways.<br />> <br />> <br />> <br />> When you uploaded those ways you should have gotten the new way_id. If<br />> <br />> you didn't record this but remember on which day you did the upload you<br />> <br />> can download the right daily or hourly diff (from<br />> <br />> http://planet.openstreetmap.org/) and find the IDs in there. (And record<br />> <br />> the IDs the next time you do a bulk upload for cases like this.)<br />> <br />> <br /><br />Ok. I found the IDs of the ways I would like to delete. What do I do next to retrieve them and remove them. Thanks.<br /><br />Michel<br />> <br />> Jochen<br />> <br />> --<br />> <br />> Jochen Topf  jochen@remote.org  http://www.remote.org/jochen/  +49-721-388298<br />> <br />> <br />>