<p>Hi Jaakko,</p>
<p>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.</p>

<p>I could probably help if you want Hispaniola to be sliced up periodically.</p>
<p>Cheers,<br>
/Seb.</p>
<div class="gmail_quote">On 23 Jul 2012 05:14, "Jaakko Helleranta.com" <<a href="mailto:jaakko@helleranta.com">jaakko@helleranta.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>This is probably a stupid question - but what can you expect...</div><div><br></div><div>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)?</div>


<div>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?</div><div><br></div><div>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.</div>


<div><br></div><div>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.</div><div><br></div>

<div>
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...</div>


<div><br></div><div>All pointers, ideas, solutions are much appreciated,</div><div>-Jaakko</div><div><br></div><div><div>--</div><div><a href="mailto:jaakko@helleranta.com" target="_blank">jaakko@helleranta.com</a> * Skype: jhelleranta * Mobile: <a href="tel:%2B509-37-269154" value="+50937269154" target="_blank">+509-37-269154</a>  *  <a href="http://go.hel.cc/MyProfile" target="_blank">http://go.hel.cc/MyProfile</a></div>


<br>
</div>
<br>_______________________________________________<br>
HOT mailing list<br>
<a href="mailto:HOT@openstreetmap.org">HOT@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/hot" target="_blank">http://lists.openstreetmap.org/listinfo/hot</a><br>
<br></blockquote></div>