[mapserver-users] confused about using zoomRectangle
Ahmet Temiz
temiz at deprem.gov.tr
Fri Mar 6 00:12:53 PST 2009
hello
I am using mapserver-java-mapscript.
I am very confused about using zoomRectangle.
I tried zoomRectangle in two ways. But I still have exception.
here is the java code I tried and related exception results:
1..
rectObj imgrect =new rectObj(10,10,100,100,0);
map0.zoomRectangle(imgrect, 500, 500, map0.getExtent(), null);
SEVERE: java.lang.UnknownError: mapscript::mapObj::zoomRectangle():
General error message. image rectangle maxy >= miny
javax.faces.el.EvaluationException: java.lang.UnknownError:
mapscript::mapObj::zoomRectangle():
General error message. image rectangle maxy >= miny
~~~~~~~~~~~~~~~~
2..
rectObj imgrect =new rectObj(10,100,100,10,0);
map0.zoomRectangle(imgrect, 500, 500, map0.getExtent(), null);
SEVERE: java.lang.UnknownError: rectObj():
Invalid rectangle. { 'minx': 10.000000 , 'miny': 100.000000 , 'maxx':
100.000000 , 'maxy': 10.000000 }
javax.faces.el.EvaluationException: java.lang.UnknownError: rectObj():
Invalid rectangle. { 'minx': 10.000000 , 'miny': 100.000000 , 'maxx':
100.000000 , 'maxy': 10.000000 }
~~~~~~~~~~~~~~~~
I will appreciate, if you give your sense.
regards
--
Open WebMail Project (http://openwebmail.org)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MapServer-users
mailing list