<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes it’s possible by first combining pbf files with osmosis. Osmosis supports polygons files with mutliple polygons, in case you want to start with a pbf file that covers all of north america and then filter that to just leave specific areas.<div class=""><br class=""></div><div class="">-Emil</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div class=""><br class=""></div><div class="">On 07 Jan 2015, at 18:37 , Alex Farioletti <<a href="mailto:alex@tcbcourier.com" class="">alex@tcbcourier.com</a>> wrote:<div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is there a way to combine several metro extracts to reduce the ram requirements to run OSRM?<div class=""><br class=""></div><div class="">my use case is to route within several cities in north america (SF, Toronto, Chicago, Minneapolis) but not really needing anything out side of those areas. I have built an osrm-backend that does north america but I'm needing like 14gb of ram to run it, and that's expensive.</div><div class=""><br class=""></div><div class="">Can i do this through OSMOSIS? I was looking at it but it seems to only take a single polygon (<a href="http://wiki.openstreetmap.org/wiki/Osmosis#Extracting_bounding_boxes" class="">http://wiki.openstreetmap.org/wiki/Osmosis#Extracting_bounding_boxes</a>).</div><div class=""><br class=""></div><div class="">I just want to make sure this is even possible before I go down the rabbit hole.<br class=""><div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature"><div dir="ltr" class=""><b class="">Alex Farioletti</b><br class=""><div class=""><b class=""><a value="+14153121674" class="">415.312.1674</a></b><div class=""><i style="font-weight:bold" class=""><a href="http://tcbcourier.com/" target="_blank" class="">tcbcourier.com</a> </i></div></div></div></div></div></div></div></div>
_______________________________________________<br class="">OSRM-talk mailing list<br class=""><a href="mailto:OSRM-talk@openstreetmap.org" class="">OSRM-talk@openstreetmap.org</a><br class="">https://lists.openstreetmap.org/listinfo/osrm-talk<br class=""></div></blockquote></div><br class=""></div></div></div></body></html>