[mapserver-users] WMS Client

Paul Ramsey pramsey at refractions.net
Thu Jun 6 16:18:10 EDT 2002


In answer to my own question: it appears that the WMS Client does not
like image/jpeg as a format at all. When using image/png, things work,
although the mapping from 24-8bit color is atrocious. Using image/gif
gives a perfectly reasonable result. I assume if the png was 8 bit the
results would be equally satisfactory.

Paul Ramsey wrote:
> 
> Any idea why the following request is not working? I can see the request
> being made in the logs of the WMS server referenced here, and if I type
> that request into a browser window, I can actually see the WMS image is
> getting correctly generated, but the final output from mapserver never
> contains the WMS client data.
> 
> #-------------------------------------------------------------
> # DYNAMIC HILLSHADING
> #
> 
>   LAYER
>     NAME "hillshd"
>     TYPE RASTER
>     CONNECTIONTYPE WMS
>     CONNECTION
> "http://tserver/pramsey/tserver/php/hillshd/hillshd.php?serviceId=6&VERSION=1.1.0&LAYERS=hshd315&FORMAT=image/jpg"
>     PROJECTION
>       "init=epsg:26909"
>     END
>     METADATA
>       "wms_title" "Hillshading"
>       "wms_opaque" "1"
>       "wms_srs" "EPSG:26909 EPSG:26910"
>     END
>   END
> 
> --
>       __
>      /
>      | Paul Ramsey
>      | Refractions Research
>      | Email: pramsey at refractions.net
>      | Phone: (250) 885-0632
>      \_

-- 
      __
     /
     | Paul Ramsey
     | Refractions Research
     | Email: pramsey at refractions.net
     | Phone: (250) 885-0632
     \_



More information about the mapserver-users mailing list