[Mapserver-users] PhpMapscript, zoompoint method
Massimo Mazzanti
massimo at iuav.it
Thu Apr 22 01:09:15 PDT 2004
Hi there,
I use MapServer 4.01 and PhpMapScript 4.01.
When I call the MapObj Class zoompoint method, using the standard
parameters only, i.e.:
$map->zoompoint($zoom_factor, $my_point, $map->width, $map->height,
$my_extent);
all is ok.
But when I add the MaxGeoref optional parameter, i.e.:
$map->zoompoint($zoom_factor, $my_point, $map->width, $map->height,
$my_extent, $max_extent);
where $max_extent is a RectObj class object, and
$max_extent->minx = 1544200.00;
$max_extent->miny = 5053400.00;
$max_extent->maxx = 1549300.00;
$max_extent->maxy = 5056700.00;
are the coordinates values of the $max_extent object, the following error
message is displayed:
Fatal error: zoomPoint failed : Max Georeferenced coordinates minx >= maxx
in "my_php_source_path"
As you can see, $max_extent->minx value is less then $max_extent->maxx ...
Any idea?
Many thanks.
---
Massimo Mazzanti
CIRCE - Università Iuav di Venezia
S.Croce 191 - 30135 Venezia
tel +39 0412571165
fax +39 0412571761
massimo at iuav.it
More information about the MapServer-users
mailing list