[mapserver-users] PHP ZoomPoint

ANDREW WOOLEY AWOOLEY at mountainland.org
Fri Aug 10 12:10:52 EDT 2001


Thanks to everyone who replied and offered their help.  This list rocks.

This is the correct answer:  For my rect extent, I changed the maxy and the miny and it worked as advertised.  Thanks very much for the assistance.

Daniel,  is this a bug or is it just my stupidity?  It seems more likely to be the latter.  Thanks again.

Andrew

Andrew Wooley
GIS Operations Manager
Mountainland Association of Governments
Orem, UT

phone:  801.229.3844
fax:       801.229.3801
email:   awooley at mountainland.org

>>> Daniel Morissette <morissette at dmsolutions.ca> 08/10 8:34 AM >>>
ANDREW WOOLEY wrote:
> 
> When I echo the extent minx, etc. it gives reasonable coordinates for the map extent (1800193, 825044, 2115496, 542882), however, after this code executes and I echo the new extent, I get good values for some of the coordinates but not others (1877442.235, -78702.92, 2035093.735, 78702.92).  Can someone explain to me what I am doing wrong and why the negative values show up?  Thanks.
> 

You wrote that your original extents were:
  (1800193, 825044, 2115496, 542882)

I notice that YMin > YMax ... maybe that confused the ZoomPoint()
function... try again with YMin < YMax ... and if it works this time
then please file a bug in the MapServer bugzilla about this and we'll
fix ZoomPoint() to deal with this properly.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca 
 DM Solutions Group              http://www.dmsolutions.ca/ 
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the mapserver-users mailing list