[Geomoose-users] Converting from ags to raster map file

James Klassen klassen.js at gmail.com
Tue Mar 12 13:36:50 PDT 2019


I'm going to guess here that CONNECTIONTYPE WMS in the mapfile isn't
correct for an ArcGIS REST endpoint.

On Tue, Mar 12, 2019, 13:57 Colas, Scott <Scott.Colas at ct.gov> wrote:

> Hello All,
>
> I am having trouble converting a ags map into a raster map file. I took
> the URL from the old map source and put it inside of a layer but it’s not
> loading.
>
> Old source: Working
>
>   <map-source name="agsimagery" type="ags" reference="false" opacity=".3">
>
>     <url>
> http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/export
> </url>
>
>     <layer name="Imagery" reference="false" />
>
>     <param name="FORMAT" value="png"/>
>
>   </map-source>
>
> New source and layer: Not working
>
>   <map-source name="uconnOrtho2012" type="mapserver" >
>
>     <file>./ct/wms/uconnOrtho2012.map</file>
>
>     <layer name="Imagery" />
>
>   </map-source>
>
>
>
> MAP
>
>        INCLUDE "../../geomoose_globals.map"
>
>        WEB
>
>               INCLUDE "../../temp_directory.map"
>
>               METADATA
>
>                      'ows_title' 'UCONN 2012 Ortho imagery'
>
>                      'ows_srs' 'EPSG:3857'
>
>                      'ows_enable_request' '*'
>
>               END
>
>
>
>        END
>
>
>
>        PROJECTION
>
>               "init=epsg:3857"
>
>        END
>
>
>
>
>
>        LAYER
>
>               STATUS ON
>
>               NAME "Imagery"
>
>               CONNECTION "
> http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/export
> "
>
>               CONNECTIONTYPE WMS
>
>               TYPE RASTER
>
>
>
>               METADATA
>
>                      "wms_srs" "EPSG:3857"
>
>                      "wms_enable_request" "*"
>
>                      "wms_name" "Imagery"
>
>                      "wms_server_version" "1.1.1"
>
>                      "wms_format" "image/png"
>
>               END
>
>        END
>
>
>
> END
>
>
>
> Thank you
>
> -Scott
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190312/10930f2d/attachment-0001.html>


More information about the Geomoose-users mailing list