WMS Help please

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Nov 27 16:02:08 PST 2006


Any WMS experts online, I still haven't figured this one out.

Is it just me or has the list been pretty quite lately?

-Steve

Stephen Woodbridge wrote:
> Hi all,
> 
> Just downloaded and built mapserver 4.10 and I'm have a strange problem 
> with a WMS Layer.
> 
> The apache error log says:
> 
> libpng warning: Incomplete compressed datastream in iCCP chunk
> libpng warning: Profile size field missing from iCCP chunk
> [Sun Nov 26 18:29:29 2006].383652 HTTP: Starting to prepare HTTP requests.
> [Sun Nov 26 18:29:29 2006].383796 HTTP request: id=0, 
> http://wms.jpl.nasa.gov/wms.cgi?STYLES=&LAYERS=global%5Fmosaic&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&HEIGHT=200&VERSION=1.1.1&SRS=EPSG:4326&WIDTH=300&BBOX=35%2E2716150733968%2C33%2E7132053155979%2C35%2E7478323266032%2C34%2E0306834844021&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage 
> 
> [Sun Nov 26 18:29:29 2006].383989 HTTP: Before download loop
> [Sun Nov 26 18:29:29 2006].774669 msHTTPWriteFct(id=0, 595 bytes)
> [Sun Nov 26 18:29:29 2006].774730 msHTTPWriteFct(id=0, 73 bytes)
> [Sun Nov 26 18:29:29 2006].774748 msHTTPWriteFct(id=0, 9 bytes)
> [Sun Nov 26 18:29:29 2006].774765 msHTTPWriteFct(id=0, 115 bytes)
> [Sun Nov 26 18:29:29 2006].774780 msHTTPWriteFct(id=0, 166 bytes)
> [Sun Nov 26 18:29:29 2006].774800 msHTTPWriteFct(id=0, 1 bytes)
> [Sun Nov 26 18:29:29 2006].874799 HTTP: After download loop
> [Sun Nov 26 18:29:29 2006].874819 msHTTPExecuteRequests() timing summary 
> per layer (connect_time + time_to_first_packet + download_time = 
> total_time in seconds)
> [Sun Nov 26 18:29:29 2006].874886 HTTP: HTTP GET request failed with 
> status 403 () for 
> http://wms.jpl.nasa.gov/wms.cgi?STYLES=&LAYERS=global%5Fmosaic&REQUEST=GetMap&SERVICE=WMS&FORMAT=image%2Fpng&HEIGHT=200&VERSION=1.1.1&SRS=EPSG:4326&WIDTH=300&BBOX=35%2E2716150733968%2C33%2E7132053155979%2C35%2E7478323266032%2C34%2E0306834844021&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage 
> 
> [Sun Nov 26 18:29:29 2006].874920 Layer 0: 0.125 + 0.266 + 0.225 = 0.615s
> [Sun Nov 26 18:29:29 2006].875030 msDrawMap(): Layer 0 (JPL-WMS), 0.000s
> 
> If I load the URL directly into the browser is returns fine, but from 
> mapserver I get
> 
> HTTP: HTTP GET request failed with status 403 () ... from above.
> 
> The layer definition looks like:
> 
>   LAYER
>     NAME "JPL-WMS"
>     TYPE RASTER
>     DEBUG TRUE
>     STATUS DEFAULT
>     CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?STYLES="
>     CONNECTIONTYPE WMS
>     METADATA
>       "wms_srs"            "EPSG:4326"
>       "wms_name"           "global_mosaic"
>       "wms_server_version" "1.1.1"
>       "wms_format"         "image/png"
>     END
>   END
> 
> 
> MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER 
> SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS 
> INPUT=SHAPEFILE DEBUG=MSDEBUG
> 
> Anyone have a clue on what I'm doing wrong, or is this a bug?
> 
> Thanks,
>   -Steve W



More information about the MapServer-users mailing list