AW: [ms4w-users] request_to_localhost
Buchholz, Robert
Robert.Buchholz at LUA.Brandenburg.de
Mon Dec 3 09:15:30 EST 2007
Hey Andre,
I did find the right request for getmap to my localhost application!
http://localhost:8080/cgi-bin/mapserv.exe?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&LAYERS=NSG&map=C:/ms4w/apps/chameleon/samples/map/world_wms.map&SRS=EPSG:25833&BBOX=3240000,5670000,3484000,5950000&WIDTH=450&HEIGHT=300&STYLES=default
This brings back a map in the browser.
But thanks a lot...that was quite motivating.
Robert
-----Ursprüngliche Nachricht-----
Von: Andre van Atten [mailto:AvanAtten at reisinformatiegroep.nl]
Gesendet: Montag, 3. Dezember 2007 14:46
An: Buchholz, Robert
Betreff: RE: [ms4w-users] request_to_localhost
Robert,
Looks to me that you use a point to much. Use VERSION=1.1.1 instead of VERSION=1.1.1.
Andre
-----Oorspronkelijk bericht-----
Van: ms4w-users-bounces at lists.maptools.org [mailto:ms4w-users-bounces at lists.maptools.org] Namens Buchholz, Robert
Verzonden: maandag 3 december 2007 13:31
Aan: ms4w-users at lists.maptools.org
Onderwerp: [ms4w-users] request_to_localhost
Dear List,
i want to make a web-map-application (ms4w, chameleon) available for browser (and local client) requests (GetMap, GetCapabilities, GetFeatureInfo).
Using in Firefox the URL
http://localhost:8080/cgi-bin/mapserv.exe?VERSION=1.1.1.&SERVICE=WMS&Request=GetMap&LAYERS=NSG&FORMAT=image/png&map=C:/ms4w/apps/chameleon/samples/map/world_wms.map&FORMAT=image/png
response:
<?xml version="1.0" encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport (View Source for full doctype...)>
- <ServiceExceptionReport version="1.1.1">
<ServiceException>msOWSParseVersionString(): WMS server error. Invalid version (1.1.1.). OWS version must be in the format 'x.y' or 'x.y.z'</ServiceException>
</ServiceExceptionReport>
the access.log states:
0.0.0.0 - - [03/Dec/2007:12:53:32 +0100] "GET /cgi-bin/mapserv.exe?VERSION=1.1.1.&SERVICE=WMS&Request=GetMap&LAYERS=NSG&FORMAT=image/png&map=C:/ms4w/apps/chameleon/samples/map/world_wms.map&FORMAT=image/png HTTP/1.1" 200 405
error.log:
empty
Do I have to make some configuration at apache, mapserver?
The application works great but with cascading layers (http://localhost:8080/chameleon/samples/sample_ogc.phtml)!
Any ideas are welcome.
Thanks in advance,
Robert
-----------------------------------------
Robert Buchholz
Sachbearbeiter (Trainee)
Referat GIS-Zentrale
Seeburger Chaussee 2
Landesumweltamt Brandenburg
Postanschrift: 14476 Potsdam
Besucheranschrift: Seeburger Chaussee 2, 14476 Potsdam
Tel.: (033201)-442-127
Mail: Robert.Buchholz at LUA.Brandenburg.de
Internet: http://www.brandenburg.de/lua
Kein Zugang für elektronisch signierte sowie für verschlüsselte elektronische Daten.
-----------------------------------------
_______________________________________________
ms4w-users mailing list
ms4w-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users
More information about the ms4w-users
mailing list