Return to site

Free Wms Url

broken image


You can use URL parameters to communicate with a WMS service in a web browser.

WMS request and response

TIGERweb Web Map Service (WMS) The Open Geospatial Consortium, Inc. (OGC) Web Map Service interface standard (WMS) provides a simple HTTP interface for requesting geo-registered map images from our geospatial database. The response to the request is one or more geo-registered map images that can be displayed in a browser or WMS client application.

A Web Map Service (WMS) is a standard protocol developed by the Open Geospatial Consortium in 1999 for serving georeferenced map images over the Internet. These images are typically produced by a map server from data provided by a GIS database. Dataset Percentage of population of ethno-linguistic category Hmong. Enter the URL of the WMS service you wish to view (available from the WMS Services web page of the Geoscience Portal).  type in a name for the WMS service.  click the 'WMS' radio button.  if you know the WMS version number, choose it from the 'Version' drop down list. The GetMap request can be used to view a WMS in a web browser. Just cut and paste this URL into your browser to view the WMS image; changing the BBOX values alters the geographic extent of the area viewed. The GetCapabilities request provides information about the image layers contained in the WMS.

The online resource of each operation supported by a compliant WMS server is an HTTP uniform resource locator (URL), so a WMS service can be considered as a Representational State Transfer (REST) service. Unlike a standard web service, a SOAP client is not necessary for consuming a WMS service, and a web browser is the simplest client. You can get a WMS service's service-level metadata, a map image, or attribute values of a feature by sending a URL request to the server and viewing the corresponding responses in the browser as either an XML document or an image.

Wms

Below are some sample requests and responses for each operation supported by a WMS service.

Free Wms Urls

GetCapabilities

Request

XML response

GetMap

Request

Free Wms Url

Response map

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/MapServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&DIM_DEPTH=2000

For WMS services containing any time or elevation aware layers, the TIME or ELEVATION parameter can be added.

Time

TIME—Supports time queries by specifying a time instance or time range.

TIME=1999 (time at year 1999)

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1999

TIME=1980/2010 (time from year 1980 to 2010)

Free wms server url

Request

Web map server url

Below are some sample requests and responses for each operation supported by a WMS service.

Free Wms Urls

GetCapabilities

Request

XML response

GetMap

Request

Response map

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/MapServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&DIM_DEPTH=2000

For WMS services containing any time or elevation aware layers, the TIME or ELEVATION parameter can be added.

Time

TIME—Supports time queries by specifying a time instance or time range.

TIME=1999 (time at year 1999)

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1999

TIME=1980/2010 (time from year 1980 to 2010)

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1980/2010

TIME=1999-12-31T14:30:30/2000-01-01T14:30:30

Request

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=1999-12-31T14:30:30/2000-01-01T14:30:30

Elevation

You can also perform the getMap request to use ELEVATION (a keyword defined in the WMS specification) if the vertical dimension field has been specifically defined in the mosaic dataset or NetCDF layer, before publishing services. You can specify the vertical dimension field in the Vertical property of the Mosaic Dataset Properties Defaults for mosaic datasets or on the NetCDF tab on the Layer Property page for NetCDF layers.

http://gisserver.domain.com:6080/arcgis/services/folder/service/ImageServer/WMSServer?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=17.9995833333334,-161.000416666667,23.0004166666666,-153.999583333333&WIDTH=981&HEIGHT=826&TIME=2000-01-01T14:30:30&ELEVATION=-30

GetFeatureInfo

Free Wms Server Url

Request

XML response

GetStyles

Request

XML response

GetLegendGraphic

Request

Response legend graphic

Note:

In many cases, a web browser may not be a preferred WMS client, but it is always a good tool to track and debug the communication between a WMS server and client.

WMS request parameters

OGC Web Map Service specifications define a complete list of request parameters that can be used in each WMS operation. See the links below for different versions of the OGC WMS implementation specification:

The tables below list all the request parameters that are applicable to the WMS implementation, which is only a subset of those defined in the specification.

Parameters of a WMS GetCapabilities request URL

ParameterMandatory/OptionalDefault valueDescription

VERSION/WMTVER

Optional

1.3.0 (9.3 and later)

1.1.1 (9.2)

Request version. Only use WMTVER in WMS 1.0.0; otherwise, use VERSION.

SERVICE

Mandatory

N/A

Service type. It must be set to WMS. The parameter is not available in WMS 1.0.0.

REQUEST

Mandatory

N/A

Request name. It must be set to GetCapabilities. For WMS 1.0.0, it must be set to capabilities.

FORMAT

Optional

text/xml (9.3 and later)

Output format for service metadata. This is only available in WMS 1.3.0 (for example, application/vnd.ogc.wms_xml, text/plain, or text/html).

Parameters of a WMS GetMap request URL

ParameterMandatory/OptionalDefault valueDescription

VERSION/WMTVER

Mandatory

N/A

Request version. Only use WMTVER in WMS 1.0.0; otherwise, use VERSION.

REQUEST

Mandatory

N/A

Request name. It must be set to GetMap. For WMS 1.0.0, it must be set to map.

LAYERS

Mandatory

N/A

Comma-separated list of one or more map layers (for example, 0,1,2 or layer1,layer2).

STYLES

Mandatory

N/A

Comma-separated list of one or more styles, one style per requested layer (for example, 0,1,2 or style1,style2).

CRS/SRS

Mandatory

N/A

Coordinate reference system. CRS is only used in WMS 1.3.0; otherwise, use SRS (for example, EPSG:4326 or EPSG:4269).

BBOX

Mandatory

N/A

Bounding box corners (lower left and upper right) in CRS/SRS units (for example, -180,-90,180,90).

WIDTH

Mandatory

N/A

Width in pixels of map picture (for example, 1024).

HEIGHT

Mandatory

N/A

Height in pixels of map picture (for example, 768).

FORMAT

Mandatory

N/A

Output format of map (for example, image/png, image/jpeg, image/svg+xml, or image/bil).

If you're specifying the output format as image/bil, the WMS client will also need to generate a corresponding header (.hdr) to read the images properly.

TRANSPARENT

Optional

False

Determines whether background is transparent or not (True or False, respectively).

BGCOLOR

Optional

0xFFFFFF

Hexadecimal RGB color for the map background (for example, 0xFFFFFF or FFFFFF).

SLD

Optional

'

URL of Styled Layer Descriptor XML file.

SLD_BODY

Optional

'

XML body of Styled Layer Descriptor file.

TIME

Optional

'

Time value of requested layer.

ArcGIS client applications only support the TIME dimension if the layer is time enabled. If the layer is not time enabled, you'll need to use a web browser or custom client to submit a GetMap request using the DIM_ parameter (listed below).

ELEVATION

Optional

'

Elevation value of requested layer.

ArcGIS client applications only support the ELEVATION dimension if the layer is elevation aware. You can only set elevation in NetCDF and mosaic datasets.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 and WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

The format in which exceptions should be reported (for example, text/xml or text/html).

DIM_

Optional

'

Dimension value of the requested map layers; must be replaced with the name of a dimension, for example, DEPTH.

DIM_ is supported in WMS 1.1.0 and later.

Dimensions are not currently supported through ArcGIS client applications. To consume dimensions, you'll need to use a web browser or create your own custom OGC client application using ArcObjects or another language.

Parameters of a WMS GetFeatureInfo request URL

ParameterMandatory/OptionalDefault valueDescription

VERSION/WMTVER

Mandatory

N/A

Request version. Only use WMTVER in WMS 1.0.0; otherwise, use VERSION.

REQUEST

Mandatory

N/A

Request name. It must be set to GetFeatureInfo. For WMS 1.0.0, it must be set to feature_info.

Map request part

Mandatory

N/A

Partial copy of the GetMap request parameters that generated the map for which information is desired.

QUERY_LAYERS

Mandatory

N/A

Comma-separated list of one or more map layers to be queried (for example, 0,1,2 or layer1,layer2).

INFO_FORMAT

Mandatory (WMS 1.3.0)

Optional (WMS 1.1.1, 1.1.0, 1.0.0)

N/A (WMS 1.3.0)

text/xml (WMS 1.1.1, 1.1.0, 1.0.0)

Return format of feature information (for example, text/xml or text/html).

I/X

Mandatory

N/A

X-coordinate in pixels of feature in map coordinate system (for example, 100). Use I for WMS 1.3.0; otherwise, use X.

J/Y

Mandatory

N/A

Y-coordinate in pixels of feature in map coordinate system (for example, 100). Use J for WMS 1.3.0; otherwise, use Y.

TIME

Optional

'

Time value of requested layer.

ArcGIS client applications only support the TIME dimension if the layer is time enabled. If the layer is not time enabled, you'll need to use a web browser or custom client to submit a GetMap request using the DIM_ parameter (listed below).

ELEVATION

Optional Year 8geography.

'

Elevation value of requested layer.

ArcGIS client applications only support the ELEVATION dimension if the layer is elevation aware. You can only set elevation in NetCDF and mosaic datasets.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 and WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

The format in which exceptions should be reported (for example, text/xml or text/html).

DIM_

Optional

'

Dimension value of the requested map layers; must be replaced with the name of a dimension, for example, DEPTH.

DIM_ is supported in WMS 1.1.0 and above.

Dimensions are not currently supported through ArcGIS client applications. To consume dimensions, you'll need to use a web browser or create your own custom OGC client application using ArcObjects or another language.

Parameters of a WMS GetStyles request

ParameterMandatory/OptionalDefault valueDescription

VERSION

Mandatory

1.3.0(9.3 and later)

1.1.1 (9.2)

Version as required by OGC interfaces.

REQUEST

Mandatory

N/A

Request name. It must be set to GetStyles.

LAYERS

Mandatory

N/A

Comma-separated list of named layers for which to retrieve style descriptions.

SLDVER

Optional

1.0.0 (10.0)

The SLD version requested for the SLD document. Only version 1.0.0 is supported.

Parameters of a WMS GetLegendGraphic request

ParameterMandatory/OptionalDefault valueDescription

VERSION

Mandatory

1.3.0(9.3 and later)

1.1.1 (9.2)

Version as required by OGC interfaces.

REQUEST

Mandatory

N/A

Request name. It must be set to GetLegendGraphic.

LAYER

Mandatory

N/A

Layer for which to produce the legend graphic.

STYLE

Optional

default

Style of layer for which to produce the legend graphic. If not present, the default style is selected. The style may be any valid style available for a layer, including non-SLD internally defined styles.

RULE

Optional

'

Style rule for which to produce the legend graphic, if applicable. When a style has multiple rules but no specific rule is selected, the map service is obligated to produce a graphic that is representative of all the rules of the style.

SLD

Optional

Xbox game preorders. '

Specifies a reference to an SLD document. It works in the same way as the SLD= parameter of the WMS GetMap operation.

SLD_BODY

Optional

'

Allows an SLD document to be included directly in an HTTP GET request. It works in the same way as the SLD_BODY parameter of the WMS GetMap operation.

FORMAT

Optional

image/png (png24)

The MIME type of the file format in which to return the legend graphic. Allowed values are the same as for the FORMAT= parameter of the WMS GetMap request.

WIDTH

Optional

Depends on the specific legend image

Gives a hint for the width of the returned graphic in pixels.

HEIGHT

Optional

Depends on the specific legend image

Gives a hint for the height of the returned graphic in pixels.

EXCEPTIONS

Optional

text/xml (WMS 1.3.0)

application/vnd.ogc.se_xml (WMS 1.1.1 and WMS 1.1.0)

application/vnd.ogc.inimage (WMS 1.0.0)

The MIME type of the format in which to return exceptions. Allowed values are the same as for the EXCEPTIONS= parameter of the WMS GetMap request.





broken image