Lab 3: Create and test an URL request to an ArcGIS sample

In the following steps, you will get the capabilities of a WMS Server and test it using a web browser.

1. Open a web browser and go to the link http://sampleserver1.arcgisonline.com/ArcGIS/rest/services

2. Navigate to Specialty and then to ESRI_StatesCitiesRivers_USA

3. Navigate to Supported Interfaces: WMS

The XML file with the WMS capabilities should open in the web browser 

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/Ma pServer/WMSServer?request=GetCapabilities&service=WMS

In this file you will find the implemented parameters in the WMS service and the available values to use (For more information check the Implementation Specifications that can be found at the link http://portal.openGEOSpatial.org/files/?artifact_id=14416) 

Regarding GISIZE GEOSpatial, the most important parameters are: 

  • Format=image/png
  • CRS=CRS:84
  • BBOX=-178.217598,18.924782,-66.969271,71.406235
  • Layers: 0 for States, 1 for Rivers

The URL to test the WMS Service should be created with the following parts: 

  • http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_St atesCitiesRivers_USA/MapServer/WMSServer?version=1.3.0&request=Get Map&styles= 
  • &format=image/png&CRS=CRS:84 
  • &bbox=-178.217598,18.924782,-66.969271,71.406235 
  • &width=1920&height=1080
  • &layers=0 

4. Navigate to the below link to test the WMS Service 

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCiti esRivers_USA/MapServer/WMSServer?version=1.3.0&request=GetMap&styles= &format=image/png&CRS=CRS:84&bbox= - 178.217598,18.924782, 66.969271,71.4062 35&width=1920&height=1080&layers=0

5. Modify the URL to see the States and Rivers layers (layers=0,1) 

http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCiti esRivers_USA/MapServer/WMSServer?version=1.3.0&request=GetMap&styles=&f ormat=image/png&CRS=CRS:84&bbox= - 178.217598,18.924782, 66.969271,71.406235&width=1920&height=1080&layers=0 ,1

Last modified: Monday, 13 April 2020, 5:13 PM