Master
'
s Thesis 2006 
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui 
STUTTGART
TECHNIK
The implementation 
        STUTTGART UNIVERSITY OF APPLIED 
SCIENCES 
In this WMS server, the 
getmapcap.php
 is the main entrance process page. Anytime 
when the user sends the requests, this page will be called firstly and the parameters 
inside the URL will be analyzed. The corresponding page or function will be 
executed.   
The 
GetCapabilities
 request can be called by using the URL   
http://localhost/phpmywms/getmapcap.php?VERSION=1.1.1&SERVICE=WMS&REQUEST=Ge
tCapabilities 
Listing 5:
 The GetCapabilities request in a URL
The result XML file can be seen in Figure 8: 
Fig. 8: 
XML file fragment of GetCapabilites request from localhost WebMap server in GIS lab 
The GetMap request can be called by using URL 
http://localhost/phpmywms/getmapcap.php?VERSION=1.1.1&BBOX=3538000.0,5444000.0,359
2000.0,5556000.0&LAYERS=city&Bundeslaender&STYLES=%2C%2C&REQUEST=GetMap
&layer2=city&layer1=Bundeslaender&style=&SRS=EPSG:31467&WIDTH=800&HEIGHT=60
0&FORMAT=image/svg+xml&EXCEPTIONS=application/vnd.ogc.se_xml&transparent=TRUE
&button=GetMapRequest 
Listing 6: 
The GetMap request in a URL
28 




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.