[HOT] Splitting an OSM extract into multiple chunks (with Osmosis, other)?

Sébastien Pierrel sebastien.pierrel at gmail.com
Mon Jul 23 04:32:11 BST 2012


Hi Jaakko,

I guess osmosis should do the job pretty easily. Have you tried its front
end called membrane? It's got a nice GUI to design osmosis pipelines and
execute the jobs. It can also generate a bat script to run osmosis from the
command line.

I could probably help if you want Hispaniola to be sliced up periodically.

Cheers,
/Seb.
On 23 Jul 2012 05:14, "Jaakko Helleranta.com" <jaakko at helleranta.com> wrote:

> Hi,
>
> This is probably a stupid question - but what can you expect...
>
> Is there be some simple command or other way ("bat file" or something)
> that I could use to slice multiple pieces out of a given osm file (or pbf,
> what ever works)?
> Ideally I could just ask the system (Osmosis/whatever) to make all the
> slices I want out of the data file in one go -- in stead of needing to
> manually initiate each bbox, poly, or filter?
>
> My prime interest right now is to be able to get as large as possible and
> updated slices of OSM data of Hispanola to make analysis of the licence
> change bot and remapping of Haiti and DR as smooth as possible.
>
> I've attached a screenshot of BBOXes that I've sketched and tested to
> split the island's data extract into 8 pieces (4 for Haiti and 4 for DR)
> that my JOSM can handle.
>
>  As noted in my previous email I know (the basics of) how to use Osmosis
> and Osmconvert to slice a piece (bbox, .poly or filtered slice) of an OSM
> extract (thanks to Geofabrik for the extracts). And have learned the basics
> of running Python and Perl scripts recently. I have some basic skills of
> command line -- from 15 years ago. As is, I'm running Win7. Hoping to soon
> boot to Linux, too, but that's not now -- and I really don't know how to
> use it yet, anyways...
>
> All pointers, ideas, solutions are much appreciated,
> -Jaakko
>
> --
> jaakko at helleranta.com * Skype: jhelleranta * Mobile: +509-37-269154  *
> http://go.hel.cc/MyProfile
>
>
> _______________________________________________
> HOT mailing list
> HOT at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/hot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/hot/attachments/20120723/c61b264d/attachment.html>


More information about the HOT mailing list