Web Services Help
Web map services: Web Map Service is one of the OGC (Open Geospatial Consortium, Inc) standards. WMS is a web-based tool that produces and serves digital maps. In the past, analyzing and creating maps was a slow and labor-intensive process. Now with Global Positioning Systems and other digital methods of gathering geographical data, digital mapping has become an important component in several fields. The WMS specification is a web-based protocol that allows communication of map-style data between a server and a client.
WMS Implementation Specification provides three operations (GetCapabilities, GetMap, and GetFeatureInfo) in support of the creation and display of registered and superimposed map-like views of information that come simultaneously from multiple remote and heterogeneous sources.
Users of ESRI products such as ArcExplorer or ArcMap or ArcCatalog can view base layers via the Internet without having to download the mapping files. The general routine to use ArcGIS ArcCatalog to set up a WMS (and WFS) serve. The steps are the followings (using www.mapwv.gov as example).
- Open ArcCatalog
- Click on GIS Servers in the Catalog tree
- If you just want the image services, you will use Add ArcIMS Server..
- Double Click on Add ArcIMS Server
- In the URL of server text box, type in: http://www.mapwv.gov
- Keep all defaults
- Click OK button at bottom of window
- You will see that www.mapwv.gov with icon
shown in the Catalog tree under GIS Servers - The image services are in icon
.
- If you want WMS services, you will use Add WMS Server
- Double Click on Add WMS Server
- In the URL of server text box, type in: http://www.mapwv.gov/wmsconnector/com.esri.wms.Esrimap?ServiceName=servicename.
- Keep all defaults
- Click OK button at bottom of window
- You will see that Web Map Services servicename on www.mapwv.gov with icon
shown in the Catalog tree under GIS Servers - WMS services are in icon
.
In ArcMap, the service can be added using the menu sequence “Add Data>GIS Servers”, double click on www.mapwv.gov. A list of services will be available under www.mapwv.gov tree. Select one service to view the data. In general, WMS services are with icon
.
For example, selecting the Map Service name “WV_SAMB_Orthophotos_2003_UTM83” from the www.mapwv.gov Map Server will add the statewide, 2-foot color aerial photos flown in spring 2003 into ArcMap. The following is the screen shot of WV_Elevation_30m_UTM83 in ArcMap.
The WMS image service can be viewed in ArcCatalog as well. After you add a WMS server, you can view the service image by using preview tab in Arccatalog. See the right image for reference. The image service is from WV DEP.
For developers to access WMS services with Internet application, the LAYER ID will be used. The syntax of calling a WMS service is like this:
&VERSION=1.1.1&REQUEST=GetMap&LAYERS=LayerID&STYLES=&SRS=EPSG:26917&BBOX=BBOX
&WIDTH=1024&HEIGHT=768&FORMAT=image/jpeg&SERVICENAME=ServiceName
Key Notes:
LayerID: the layer ID in the Layers used in WMS, such as WV_SAMB_orthophotos_2003_utm83_2ft
BBOX: minx,miny,maxx,maxy. For WV, it is 319398,4105801,837087,4514090 in UTM.
ServiceName: the name of the service listed in Service Name column, such as WV_SAMB_Orthophotos_2003_UTM83.
Detailed help about ESRI Web Map Service can be obtained from here.
List of available Web Map Services @ www.mapwv.gov with sample calling:
| Map Server | Service Name ( Name of Map Service) |
Layers (also known as "Layer Id") used in the service |
Metadata |
| http://www.mapwv.gov | WV_FEMA_Flood_Hazard_Layer | WV_FEMA_Flood_Hazard_Layer | link |
| WV_Elevation_30m_UTM83 | WV_Elevation_30m_utm83 | link | |
| WV_Elevation_3m_UTM83 | WV_Elevation_3m_utm83 | link | |
| WV_Hillshade_30m_UTM83 | WV_Hillshade_30m_utm83 | link | |
| WV_Hillshade_3m_UTM83 | WV_Hillshade_3m_utm83 | link | |
| WV_SAMB_Orthophotos_2003_UTM83 | WV_SAMB_orthophotos_2003_utm83_2ft | link | |
| WV_NAIP_Orthophotos_2007_UTM83_1Meter | WV_NAIP_Orthophotos_2007_UTM83_1Meter | link | |
| WV_DOQQ_CIR_1M_UTM83 | WV_DOQQ_Color_Infrared_1M | link | |
| WV_SPOT_Imagery_2000_UTM83 | WV_SPOT_imagery_2000_utm83 | link | |
| WV_Topomap_DRG_24K_UTM83 | WV_topomap_DRG_24k_utma83 | link | |
| WV_Base_Images_UTM83 | (all timage layers, except FEMA layer) | link | |
| http://ims.cr.usgs.gov | USGS_EDC_Ortho_Urban | Apr_2006_0.3m_Color_CharlestonWV | link |
| http://gis.wvdep.org | WVDEP WMS | layer list (topo, mining, aml, tri,open_dump) |
