• Imprimeix

WMS Slopes above 20%

Connection URL

https://geoserveis.icgc.cat/icgc_mp20p5m/wms/service?

 

Technical aspects of this service

  • Supported OGC: WMS 1.0.0, 1.1.0, 1.1.1, 1.3.0
  • Origin EPSG: 25831
  • Supported EPSG: 23031, 32631, 4230, 4258, 4326, 3857
  • Supported GetMap formats: GIF, PNG, BMP, JPEG, TIFF, SVG+XML
  • Supported OGC methods: GetCapabilities, GetMap, GetFeatureInfo
Download sheets

Access the application to download a ZIP file with all the sheets included in the area you select

Available layers

Displays the slopes areas above 20% over all Catalonia in a solid texture and color. It is made from a 5 m grid of the elevation model.

Layer

Layer name

Range of scales

Soil Slopes above 20%

MP20P5M_PA

1:100.000

1:500

View the image, by getMap

Request example

https://geoserveis.icgc.cat/icgc_mp20p5m/wms/service?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=MP20P5M_PA&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:25831&BBOX=383068.735603696,4600796.22111341,393527.571968359,4609368.36542798&WIDTH=1020&HEIGHT=836


Check the slope of a point of the territory (if it is above 20% or not), by getFeatureInfo

The request is done for a 5x 5m area (on the BBOX parameter). If the point has a slope above 20%, the result of the request includes the attribute CLASSEPEN with the value "S20" and, if not, the result is empty.

Example of a request for a point that belongs to an area with slope above 20%:

https://geoserveis.icgc.cat/icgc_mp20p5m/wms/service?REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.1.1&QUERY_LAYERS=MP20P5M_PA&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=407340,4602639,407345,4602644&WIDTH=5&HEIGHT=5&X=2&Y=2

Result: <FeatureInfoResponse><FIELDS OBJECTID="167328" CLASSEPEN="S20"/></FeatureInfoResponse>


Example of requesting a point corresponding to an area with a slope of less than 20%:

https://geoserveis.icgc.cat/icgc_mp20p5m/wms/service?REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.1.1&QUERY_LAYERS=MP20P5M_PA&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=294236,4504953,294241,4504958&WIDTH=5&HEIGHT=5&X=2&Y=2

Result: -