[Fwd: Re: Attempt to open a RASTER layer, but this is only supported after a raster query]

Mathieu Parent mathieuparent at USERS.SOURCEFORGE.NET
Fri Jan 21 14:20:29 PST 2005


-------- Message original --------
Sujet:  Re: Attempt to open a RASTER layer, but this is only supported
after a raster query
Date:   Fri, 21 Jan 2005 16:14:53 -0600
De:     Howard Butler <hobu at iastate.edu>
Pour:   Mathieu Parent <mathieuparent at USERS.SOURCEFORGE.NET>
Références:     <smtpd.4b01.41f17b63.d0834.1 at mtaout-c.tc.umn.edu>



Mattieu,

You need to set a wms_extent in the METADATA to prevent MapServer from
trying to query for one.  See
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1118 for more detail.

Howard

> Hi all,
> when i try to show an ogr raster, i got this:
>
> msRASTERLayerOpen(): Attempt to open a RASTER layer, but this is only
> supported after a raster query.
>
> Best regards
> Mathieu
>
>
>
> My .map file:
>
> MAP
>   #...
>
>   LAYER
>     CONNECTION
> "http://gisdata.usgs.net:80/servlet/com.esri.wms.Esrimap?SERVICENAME=133urban&REASPECT=false&REQUEST=map"
>     CONNECTIONTYPE WMS
>     DATA ""
>     GROUP "raster"
>     MAXSCALE 0
>       METADATA
>         "wms_name"    "UA_ORTHO_302_01"
>         "wms_format"    "jpeg"
>         "wms_server_version"    "1.0.0"
>         "wms_group_title"    "Imagery"
>         "wms_title"    "USGS Urban Color Ortho 2002"
>       END
>     MINSCALE 0
>     NAME "wms_820"
>     PROJECTION
>       "init=epsg:32716"
>     END
>     SIZEUNITS PIXELS
>     STATUS ON
>     TOLERANCE 0
>     TOLERANCEUNITS PIXELS
>     TRANSPARENCY 100
>     TYPE RASTER
>     UNITS METERS
>   END
>
> END



More information about the MapServer-users mailing list