<div dir="ltr"><div><div><div><div>We are basically building a smaller version of our production server:<br><br>* Raspberry Pi 2 Model B running Raspbian Jessie with a fast SD card (a fast SD card is critical)<br></div>* MapServer 6.4 compiled from source (we apply a couple of minor patches), although I think mapserver is in the OS repository too.<br></div>* PostGIS<br></div>* GeoMoose<br></div>* A bunch of ruby services (in lieu of the standard PHP ones, again to match our production build, not because of any Pi specific problems with PHP)<br><div><br></div><div>It doesn't compete speed wise with the regular servers (somewhere between 2x and 30x slower depending on the task), but it is usably responsive for one or two users. The biggest limitation is having to be choosy about what data goes on it because SD cards are a lot smaller than the SAN.<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 2:47 PM, Fawcett, David (MNIT) <span dir="ltr"><<a href="mailto:David.Fawcett@state.mn.us" target="_blank">David.Fawcett@state.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You guys are running Mapserver on a Pi?  I want to hear more about that! 
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mapserver-users [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>James Klassen<br>
<b>Sent:</b> Friday, January 22, 2016 2:08 PM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] Listing mapfile dependencies<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Is there a good way to list all of the dependencies (files, URLs, database connections, etc.) of a mapfile?<br>
<br>
I am trying to automate synchronizing mapfiles from our main server to Raspberry Pis to be used as mini-servers in the field.  To save space, I'd like to automatically get a list of all the files a particular mapfile depends on and only copy those instead of
 copying full directory trees which have many (large) unnecessary files.<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It seems like a complete solution might be very complex undertaking given the number of places resources can be referenced from: TILEINDEX, GDAL/OGR connections (vrt), TEMPLATES, data generated URLs formed inside
 of TEMPLATES, database connections, files that are really multiple files (.shp, .wld), etc.<br>
<br>
I can write something that deals with the subset of MapServer that we use, but was wondering if anyone had started something similar.<u></u><u></u></p>
</div>
<p class="MsoNormal">Jim Klassen<u></u><u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>