Hi, I have made a small Perl script that allows you to extract a bounding box from the history planet file. It's very basic (no "completeWays"/"completeRelations" mode, i.e. trouble at the edges of your bbox) and dreadfully slow (about 10 hours to process the whole file) but it's a start. It doesn't use a lot of memory so should be runnable by anybody.
If someone feels like (a) re-implementing this in C or (b) enhancing Osmosis to be able to deal with history files, that would of course be the "proper" way to do it. My solution is just a quick hack to extract an area of interest for further processing. I haven't tested it thoroughly but made some spot checks and it seems to work all right, including proper handling of object deletion (i.e. includes the last "visible=false" version if an object gets deleted). It's at applications/utils/osm-extract/history-excerpt.pl in our SVN. Bye Frederik _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

