Worked perfectly.  Thanks!

Dan Little wrote:
> Add the "EXTENT" directive under the LAYER definition...
>
> LAYER
> ... stuff ...
> EXTENT MINX MINY MAXX MAXY
> ... stuff...
> END
>
>
> ----- Original Message ----
>   
>> From: Josh Hevenor <[email protected]>
>> To: mapserver-users <[email protected]>
>> 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
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>     
>
>
>
>       
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.425 / Virus Database: 270.14.72/2511 - Release Date: 11/18/09 
> 07:50:00
>
>   
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to