Master
'
s Thesis 2006
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui
STUTTGART
TECHNIK
Background
STUTTGART UNIVERSITY OF APPLIED
SCIENCES
Mandatory
Request Parameter
Description
Optional
VERSION=1.3.0
M
Request version
REQUEST=GetMap
M
Request name
Comma separated list of one or more map
LAYERS=layer_list
M
layers
Comma separated list of one rendering style
STYLES=style_list
M
per requested layer
CRS=namespace:identifier
M
Coordinate reference system
Bounding box corners (lower left, upper
BBOX=minx,miny,maxx,maxy
M
right) in CRS units
WIDTH=output_width
M
Width in pixels of map picture
HEIGHT=output_height
M
Height in pixels of map picture
FORMAT=output_format
M
Output format of map
Background transparency of map
TRANSPARENT=TRUE|FALSE
O
(default=FALSE)
red green blue color value for the
BGCOLOR=color_value
O
background color (default=0xFFFFFF)
The format in which exceptions are to be
EXCEPTIONS=exception_format
O
reported by the WMS (default=XML)
TIME=time
O
Time value of layer desired
ELEVATION=elevation
O
Elevation of layer desired
Tab. 2
: The parameters are required by the GetMap request (OPEN GEOSPATIAL
CONSORTIUM, Web Map Service Specification, 2004)
The format to send GetMap request in URL is like this:
http://www.gis news.de/wms/getmapcap.php?VERSION=1.1.1&BBOX=18977
5.33,4816305.37,761662.27,5472414.18&LAYERS=airports,ctybdpy2,AUSSTA
TE1&STYLES=,,&REQUEST=GetMap&layer1=airports&layer2=ctybdpy2&layer3
=AUSSTATE1&style=&SRS=EPSG:26715&4340&minx=189775.33&miny=481
6305.37&maxx=190051.33&maxy=4816525.37&WIDTH=800&HEIGHT=600&
FORMAT=image/svg+xml&EXCEPTIONS=application/vnd.ogc.se_xml&transpar
ent=True
Listing 2:
The format of GetMap request in a URL
10
PHP MySql Web Hosting Design and Implement Client Applications PHP MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |