Thanks for both of your replies. They have been very helpful. With the
extents for North America (excluding Alaska), everything works fine. I'm
assuming that I should find another wms server if I want to use the original
extents which include Alaska and Hawaii. Is this correct?
From: "Arnd Wippermann" <[EMAIL PROTECTED]>
To: "'M.L. Jackson'" <[EMAIL PROTECTED]>
Subject: AW: [UMN_MAPSERVER-USERS] Map Requests from WMS
Date: Thu, 29 Jun 2006 23:53:35 +0200
Hello,
It's not hex, but escaped. Use this as Url and you see the text unescaped:
javascript:unescape("http://terraservice.net/OgcMap.ashx?LAYERS=DOQ&REQUEST=
GetMap&SERVICE=WMS&FORMAT=image%2Fpng&STYLES=&HEIGHT=600&VERSION=1.1.1&SRS=E
PSG:4326&WIDTH=800&BBOX=%2D178%2E217598362366%2C3%2E44738582890752%2C%2D66%2
E9692710360024%2C86%2E8836313236801&TRANSPARENT=TRUE&EXCEPTIONS=application/
vnd.ogc.se_inimage")
It's ok. But the extents are not correct. Therefor the server sends an
error
message
(Service Exception Report
Found 3 errors
Invalid Lon-Lat coordinates, must specify at least one (lon,lat) pair
correctly; Longitude must be between -170 and -60 Latitude must be between
15 and 75
DOQ Target Resolution '0' cannot be less than 1 meters per pixel
Did not find a layer to process)
, which Mapserver can't understand and this leads to the Mapserver error
message.
I think, the WMS http://terraservice.net/OgcMap.ashx is not up to date.
Arnd Wippermann
http://gis.ibbeck.de/pinguinale/
mailto:[EMAIL PROTECTED]
-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Im
Auftrag von M.L. Jackson
Gesendet: Donnerstag, 29. Juni 2006 21:01
An: [email protected]
Betreff: [UMN_MAPSERVER-USERS] Map Requests from WMS
I am attempting to set up a wms client. Does anyone know how http map
requests are actually made through the remote map servers? I have reason
to
believe that the bounding box in my wms request is being translated into
hexadecimal. The following was output generated by my Tomcat server after
I
stopped it:
HTTP: Starting to prepare HTTP requests.
HTTP request: id=2,
http://terraservice.net/OgcMap.ashx?LAYERS=DOQ&REQUEST=GetMap&SERVICE=WMS&FO
RMAT=image%2Fpng&STYLES=&HEIGHT=600&VERSION=1.1.1&SRS=EPSG:4326&WIDTH=800&BB
OX=%2D178%2E217598362366%2C3%2E44738582890752%2C%2D66%2E9692710360024%2C86%2
E8836313236801&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
HTTP: Before download loop
msHTTPWriteFct(id=2, 396 bytes)
HTTP: After download loop
msHTTPExecuteRequests() timing summary per layer (connect_time +
time_to_first_packet + download_time = total_time in seconds) Layer 2:
0.062
+ 0.703 + 0.062 = 0.827s
msDrawRasterLayerLow(photo): entering.
I've only seen the above message on a few occasions in Tomcat's output
screen. If you need any info about my map file, then let me know. Thanks.
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/