<DIV>Zoltan,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for the answer. </DIV>
<DIV>&nbsp;</DIV>
<DIV>imgext is an input parameter as far as I know. If I know it, then I use&nbsp;imgext to request the map with that particular extent. But in my case I only know the center point (geocoded address), the scale and the image width/height. These are my inputs. Mapserver calculates the extent when drawing the map. How can I ask Mapserver to return this extent (coordinates of bottom-right and top-left of the map) besides returning the rendered image?</DIV>
<DIV>&nbsp;</DIV>
<DIV>So my input is: center lat/lon; scale; width/height pixels of map</DIV>
<DIV>Current output: 1) image</DIV>
<DIV>&nbsp;</DIV>
<DIV>Desired output: 1) image and 2) bottom-right/top-left coordinates</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thomas<BR><BR><B><I>Siki Zoltan &lt;siki@agt.bme.hu&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi,<BR><BR>Check imgext cgi variable. It holds the minx miny maxx maxy of the actual <BR>map image.<BR><BR>Bye<BR>Zoltan<BR><BR>On Sat, 4 Dec 2004, Thomas Chesky wrote:<BR><BR>&gt; How can I request the map extent (bounding rectangle's coordinates) of the mapreturned by MapServer via the cgi interface when using mapxy and scale params .<BR>&gt; <BR>&gt; I have a cgi get string like this:<BR>&gt; &amp;mapxy=-122.244+37.47502&amp;scale=1&amp;mapsize=600+400<BR>&gt; <BR>&gt; Mapserver returns the image (map) correctly. I would like to know what are the bottom,left and top,right coordinates of the returned map.<BR>&gt; <BR>&gt; Can I do it via the cgi interface (any ascii response is good) or WFS or I have to use PHPmapscript?<BR>&gt; <BR>&gt; Thanks<BR>&gt; <BR>&gt; Thomas<BR>&gt; <BR>&gt; <BR>&gt; ---------------------------------<BR>&gt; Do you Yahoo!?<BR>&gt; The all-new My Yahoo! –
 What will yours do?<BR><BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com