On Wed, Aug 24, 2011 at 12:39 PM, Frederik Ramm <[email protected]> wrote: > Hi, > > Martijn van Exel wrote: >> >> I am trying to cut a large number (hundreds) of polygons out of a >> planet file, using the --tee option in osmosis to do it all in one go. >> It fails with a heap space error. My heap space is set to 2G. > > Maybe that's not enough then ;)
I don't have much more to spare I'm afraid! I tried doing it in batches of 10 polygons which seems to be going fine, although in the end it will be slower I guess. > >> What I'm trying to do is extract OSM data for each of the central >> cities of the US metro areas[1]. If there's a better way to do that, >> I'd love to hear about it. > > If you need polygons, use > > https://github.com/MaZderMind/osm-history-splitter Interesting. That works with a regular planet file as well, then? > if you can work with bounding boxes, then > > http://trac.openstreetmap.org/browser/applications/rendering/gosmore/bboxSplit.cpp > That won't do but thanks for the tip. Martijn -- martijn van exel schaaltreinen.nl _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

