[mapserver-users] layer->getExtent() on raster layer

Josh Hevenor jhevenor at rogers.com
Wed Nov 18 14:23:39 PST 2009


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



More information about the MapServer-users mailing list