I checked this "zoom to raster layer" and to my surprise it does seem to
work correctly, using e.g. Geotiff or Jpeg with world file for the
raster layer data.
a simple test is
// => adapt map file and layer name <=
$mapFile = "/path/to/test-mapfile.map";
$rLayerName = "test";
$map = ms_newMapO
Hi Armin,
> But I have doubts the "zoom to layer" is a
> functionality frequently used.
on the contrary :)
I think that it is a very useful and often required feature.
cheers!
-- Giovanni --
--
Live Security Virtua
doesn't work with raster layers since the respective Mapscript function
does not return anything for them. For Postgis layers neither, but there
it's at least possible querying Postgis directly and get the layer extent.
It would be possible to implement something for raster layers without
too m