Raster EXTENT on the fly
Luca Casagrande
luca.casagrande at GMAIL.COM
Thu Jan 18 01:18:08 PST 2007
Thanks for your answer!
The matter is that i am trying to found have to set $minx.$miny,$maxx,$maxy reading the
raster. I think that the only solution is to use gdalinfo and parse the output, but i don't
know if this it's ok inside a php script.
What do you think about?
Thanks
Luca
On Thu, 18 Jan 2007 10:08:50 +0100
"Bart van den Eijnden (OSGIS)" <bartvde at osgis.nl> wrote:
> Ofcourse there is :-) :
>
> $oMap->setExtent($minx, $miny, $maxx, $maxy);
>
> Best regards,
> Bart
> --------- Oorspronkelijk bericht --------
> Van: Luca Casagrande <luca.casagrande at GMAIL.COM>
> Naar: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
> Onderwerp: [UMN_MAPSERVER-USERS] Raster EXTENT on the fly
> Datum: 18/01/07 07:08
>
> > Hi to all!
> >
> > I have a php app that display a list with some rasters; the user select on
> of them and then submit the form to show it.
> > Using mapscript, I can add the layer section to the mapfile used as
> template, but i can't found a way to set the EXTENT.
> >
> > Is there any way for doing this?
> >
> > Thanks
> > Luca
--
Join the world's largest wifi conunity! http://en.fon.com/
LINUX User #411601
GENTOO-GIS Development Team
jabber: casagrande at jabber.linux.it
More information about the MapServer-users
mailing list