[mapserver-users] layer->getExtent() on raster layer
Dan Little
danlittle at yahoo.com
Wed Nov 18 19:51:15 PST 2009
Add the "EXTENT" directive under the LAYER definition...
LAYER
... stuff ...
EXTENT MINX MINY MAXX MAXY
... stuff...
END
----- Original Message ----
> From: Josh Hevenor <jhevenor at rogers.com>
> To: mapserver-users <mapserver-users at lists.osgeo.org>
> Sent: Wed, November 18, 2009 4:23:39 PM
> Subject: [mapserver-users] layer->getExtent() on raster layer
>
> I have a couple raster layers (ECW) and I'm trying to get the extent
> using php mapscripts' layer->getExtent method. I don't get an error on
> the call but when I try to use the resulting rectObj (eg.
> $rectRasterExtent->minx) I get an error trying to access a non-object.
>
> Does this function work on raster layers? What might I need in the map
> file layer definition to facilitate this?
>
> Thanks,
>
> Josh
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list