[mapserver-users] Sorry - config files

Robert Miller robert.miller at floodbroker.com
Fri Oct 5 13:16:43 PDT 2018


Sorry, I forgot to include my config!

floodbroker.map ............

MAP
     CONFIG "PROJ_LIB" "/usr/share/proj"
     CONFIG "MS_ERRORFILE" "log/mapserver.log"
     DEBUG 1

     NAME        "Floodbroker"
     SIZE    800 600

     WEB
         IMAGEPATH    "/home/rmiller/mapserver/images/"
         IMAGEURL    "http://moss.shimill.net/mapserver/images/"
         TEMPLATE "template.html"
     END

     EXTENT    -170.875000074836 -14.4375082555395 145.875000039002 
66.6250124339811

     PROJECTION
         "init=epsg:4269"
     END

     LAYER
         DEBUG 1
         NAME "s_firm_pan"
         STATUS ON
         TYPE POLYGON
         EXTENT    -124.913291931152 24.4082794189453 66.6804580688477 
49.247974395752
         CONNECTIONTYPE POSTGIS
         CONNECTION "host=localhost dbname=newco_dev user=rmiller port=5432"
         DATA "wkb_geometry FROM public.s_firm_pan"
         METADATA
             "wms_enable_request"    "*"
             "wms_srs"                "epsg:4269"
             "wms_title"                "DFIRM Panels"
             "title"                    "DFIRM Panels"
         END

         PROJECTION
             "init=epsg:4269"
         END

mapcache.xml ...

<?xml version="1.0" encoding="UTF-8"?>

<mapcache name="mapcache" type="disk">
     <metadata>
         <title>Floodbroker Caching WMS Service</title>
     </metadata>

     <service type="wms" enabled="true">
         <full_wms>assemble</full_wms>
     </service>

     <source name="floodbroker" type="wms">
         <http>
<url>http://moss.shimilla.net/mapserver/mapserv.fcgi</url>
<connection_timeout>20</connection_timeout>
         </http>

         <getmap>
             <params>
                 <format>image/png</format>
                 <layers>s_firm_pan</layers>
             </params>
         </getmap>
     </source>

     <cache name="floodbroker" type="disk">
         <base>/var/mapcache</base>
         <symlink_blank/>
     </cache>

     <format name="PNGQ_FAST" type="PNG">
         <compression>fast</compression>
         <colors>256</colors>
     </format>

     <grid name="NAD83">
         <metadata>
             <title>NAD83</title>
         </metadata>

         <units>dd</units>
         <extent>-180 -90 180 90</extent>
         <srs>EPSG:4269</srs>
         <units>dd</units>
         <size>256 256</size>

         <resolutions>
             0.703125000000000
             0.351562500000000
             0.175781250000000
             8.78906250000000e-2
             4.39453125000000e-2
             2.19726562500000e-2
             1.09863281250000e-2
             5.49316406250000e-3
             2.74658203125000e-3
             1.37329101562500e-3
             6.86645507812500e-4
             3.43322753906250e-4
             1.71661376953125e-4
             8.58306884765625e-5
             4.29153442382812e-5
             2.14576721191406e-5
             1.07288360595703e-5
             5.36441802978516e-6
         </resolutions>
     </grid>

     <tileset name="floodbroker">
         <source>floodbroker</source>
         <cache>floodbroker</cache>
         <grid>NAD83</grid>
         <metadata>
             <title>Floodbroker</title>
         </metadata>
         <format>PNGQ_FAST</format>
         <metatile>5 5</metatile>
         <metabuffer>10</metabuffer>
     </tileset>

</mapcache>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20181005/7f0caa74/attachment.htm>


More information about the MapServer-users mailing list