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

Josh Hevenor jhevenor at rogers.com
Wed Nov 18 23:16:48 EST 2009


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 <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
>>     
>
>
>
>       
> ------------------------------------------------------------------------
>
>
> 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
>
>   


More information about the mapserver-users mailing list