[mapserver-users] Listing mapfile dependencies

Newcomb, Doug doug_newcomb at fws.gov
Fri Jan 22 13:51:22 PST 2016


Planning on submitting a presentation to one of the upcoming FOSS4G
conferences?

Doug

On Fri, Jan 22, 2016 at 3:08 PM, James Klassen <klassen.js at gmail.com> wrote:

> 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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Doug Newcomb
USFWS
Raleigh, NC
919-856-4520 ext. 14 doug_newcomb at fws.gov
---------------------------------------------------------------------------------------------------------
The opinions I express are my own and are not representative of the
official policy of the U.S.Fish and Wildlife Service or Dept. of the
Interior.   Life is too short for undocumented, proprietary data formats.
As a federal employee, my email may be subject to FOIA request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160122/7df70da4/attachment.html>


More information about the mapserver-users mailing list