[Mapserver-users] How to use mapserver to cascade arcims wms services

Bart van den Eijnden bartvde at xs4all.nl
Sat Feb 7 11:54:39 EST 2004


Hi Larry,

first of all I think your wms_name is invalid, because it contains a 
space. The wms_name is used to perform the WMS request. Secondly, you 
should use 1 wms_format instead of 2 formats separated by commas (does 
your ArcIMS server have a GIF license, if not use image/png).

Here I have a working example (BTW I am using the ESRI WMS connector 0.0.6 
instead of the standard version delivered with ArcIMS 4):

LAYER
   CONNECTION 
"http://myserver/ogcwms/servlet/com.esri.ogc.wms.WMSServlet?servicename=top50vector&SERVICE=WMS&VERSION=1.1.0&LAYERS=t50_vlakken_region&QUERY_LAYERS=t50_vlakken_region&FORMAT=image/png&transparent=true"
   CONNECTIONTYPE WMS
     METADATA
       "wms_srs"	"EPSG:28992 EPSG:4326"
       "wms_onlineresource"	"http://myserver/ogcwms/servlet/com.esri.ogc.wms.WMSServlet?servicename=top50vector&"
       "wms_stylelist"	""
       "wms_name"	"top50vector_t50_vlakken_region"
       "wms_title"	"top 50 vector"
       "wms_style_default_title"	""
       "wms_style_default_legendurl"	"0 0  "
       "wms_server_version"	"1.1.0"
       "wms_formatlist"	"image/jpeg,image/png"
       "wms_format"	"image/png"
       "wms_boundingbox"	"EPSG:28992 0 288007.5 288009 624000"
       "wms_style"	"default"
       "wms_latlonboundingbox"	"2.68506 49.54247 7.75847 54.61588"
     END
   NAME "top50vector_t50_vlakken_region"
   PROJECTION
     "init=epsg:28992"
   END
   SIZEUNITS PIXELS
   STATUS ON
   DUMP TRUE
   MINSCALE 0
   MAXSCALE 50000
   TEMPLATE "blank.html"
   TOLERANCE 0
   TOLERANCEUNITS PIXELS
   TYPE RASTER
   UNITS METERS
END

Best regards,
Bart

On Fri, 06 Feb 2004 16:47:18 -0330, Larry Nolan <larrynolan at gov.nl.ca> 
wrote:

> I have a group of geological surveys which have arcims web mapping 
> servers with tons of geological information. I would like to use 
> mapserver to act as a one stop connection to each of those servers in a 
> client. I have mapserver 4.0 working fine serving ogc wms map services. 
> Does anyone have the syntax to connect to an esri arcims service which 
> has the wms connector turned on.
>
> I get a a general service exception when I try to connect to this layer.
>
>  LAYER
>   NAME "NAD27LandBase"
>   TYPE RASTER
>   STATUS ON
>   CONNECTION 
> "http://gis.geosurv.gov.nf.ca/servlet/com.esri.wms.Esrimap?servicename=NAD27_Basemap"
>   CONNECTIONTYPE WMS
>   METADATA
>      "wms_name"            "Base Map"
>      "wms_server_version"  "1.1.0"
>      "wms_formatlist"      "image/gif,image/png,image/jpeg,image/wbmp"
>      "wms_format"          "image/gif,image/png"
>   END
>   PROJECTION
>     "proj=tmerc"
>     "lat_0=0.0"
>     "lon_0=-59.5"
>     "k=0.998"
>     "x_0=0.0"
>     "y_0=1000000.0"
>     "ellps=clrk66"
>     "units=m"
>     "no_defs"
>   END
>  END
>
>
>
> thanks
> Larry Nolan
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>



-- 
  



More information about the mapserver-users mailing list