You guys are running Mapserver on a Pi?  I want to hear more about that!


From: mapserver-users [mailto:[email protected]] On 
Behalf Of James Klassen
Sent: Friday, January 22, 2016 2:08 PM
To: [email protected]
Subject: [mapserver-users] Listing mapfile dependencies

Is there a good way to list all of the dependencies (files, URLs, database 
connections, etc.) of a mapfile?

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

I can write something that deals with the subset of MapServer that we use, but 
was wondering if anyone had started something similar.
Jim Klassen
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to