On Thu, Aug 14, 2008 at 9:31 AM, Jochen Topf <[EMAIL PROTECTED]> wrote: > On Thu, Aug 14, 2008 at 09:46:45AM +0200, Marcus Wolschon wrote: >> >> I propose to not modify ways by default and to remove the way-id of >> ways that are modified during extraction. >> What should a tool care if the way references node-ids that it has >> no nodes for because they are outside the bounding-box? It has to ignore >> them. >> >> The removal of the ID is because this is no longer the way with >> that ID but a new and artificially created way that contains a part >> of the original one. > > If you remove the ID the way can't be referenced any more from > relations which you might also have in the OSM file. But I agree that > the way is somehow different, not the same anymore so it might not have > "a right" to this ID. > > In a more general case, if you remove some tag from a node and leave of > the ID because of that, you can't reference it any more from ways, which > might make the node useless. There are good reasons for removing, say > all "created_by" tags, because they take a huge amount of space and most > people will not need them.
Then just flip the sign of the ID to make it a negative number, (unless negative IDs already have some meaning of which I'm not aware). NIck. _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

