MAKE YOUR OWN WMS REQUESTS
USING A FORM:



Web Map Services (WMS) by simple URL request:

WMS GetCapabilities (in some browsers, the resulting XML file has to be saved locally, then opened and viewed):
/cgi-bin/mapserv?map=/web/public/kartoweb/mapserver/config.map&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

WMS GetMap, using MapServer CLASSes for styling, PNG as output:
/cgi-bin/mapserv?map=/web/public/kartoweb/mapserver/config.map&SERVICE=WMS&VERSION=1.3.0&REQUEST =GetMap&LAYERS=forest,railroad,airports&CRS=EPSG:4326&BBOX=5.61,97.35,20.47,105.64&WIDTH=400&HEIGHT=600&FORMAT=image/png&STYLES=

Web Feature Services (WFS) by simple URL request:
WFS GetCapabilities:
/cgi-bin/mapserv?map=/web/public/kartoweb/mapserver/wfs_config.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities

WFS DescribeFeatureType (more info about the airportsWFS data):
/cgi-bin/mapserv?map=/web/public/kartoweb/mapserver/wfs_config.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=airportsWFS

WFS GetFeature (airports, returned as GML2):
/cgi-bin/mapserv?map=/web/public/kartoweb/mapserver/wfs_config.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=airportsWFS&MAXFEATURES=25&OUTPUTFORMAT=GML2


Web Map Services (WMS) in an AJAX client (using the OpenLayers Javascript library):
WMS GetMap request: simple zooming, panning and layers on/off using Thailand LatLon data
openLayers.html
WMS GetMap & GetFeatureInfo requests: map viewing + retrieving attributes from underlying data
openLayersQuery.html

last change: November 2021 B. Köbben, University Twente – ITC