<DIV>Thanks for the clarification. I give it a try.</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 Thomas,<BR><BR>As far as I know imgext an output parameter, mapserver fills it with <BR>extents of actual image, mapext is the input parameter for the next<BR>map generated. Insert [imgext] into your html template and you can see<BR>the values.<BR><BR>Bye<BR>Zoltan<BR><BR><BR>On Sun, 5 Dec 2004, Thomas Chesky wrote:<BR><BR>&gt; Zoltan,<BR>&gt; <BR>&gt; Thanks for the answer. <BR>&gt; <BR>&gt; imgext is an input parameter as far as I know. If I know it, then I use 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?<BR>&gt; <BR>&gt; So my input is: center lat/lon; scale;
 width/height pixels of map<BR>&gt; Current output: 1) image<BR>&gt; <BR>&gt; Desired output: 1) image and 2) bottom-right/top-left coordinates<BR>&gt; <BR>&gt; Thomas<BR>&gt; <BR>&gt; Siki Zoltan <SIKI@AGT.BME.HU>wrote:<BR>&gt; Hi,<BR>&gt; <BR>&gt; Check imgext cgi variable. It holds the minx miny maxx maxy of the actual <BR>&gt; map image.<BR>&gt; <BR>&gt; Bye<BR>&gt; Zoltan<BR>&gt; <BR>&gt; On Sat, 4 Dec 2004, Thomas Chesky wrote:<BR>&gt; <BR>&gt; &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; &gt; <BR>&gt; &gt; I have a cgi get string like this:<BR>&gt; &gt; &amp;mapxy=-122.244+37.47502&amp;scale=1&amp;mapsize=600+400<BR>&gt; &gt; <BR>&gt; &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; &gt; <BR>&gt; &gt; Can I do it via the cgi interface (any ascii
 response is good) or WFS or I have to use PHPmapscript?<BR>&gt; &gt; <BR>&gt; &gt; Thanks<BR>&gt; &gt; <BR>&gt; &gt; Thomas<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ---------------------------------<BR>&gt; &gt; Do you Yahoo!?<BR>&gt; &gt; The all-new My Yahoo! – What will yours do?<BR>&gt; <BR>&gt; <BR>&gt; __________________________________________________<BR>&gt; Do You Yahoo!?<BR>&gt; Tired of spam? Yahoo! Mail has the best spam protection around <BR>&gt; http://mail.yahoo.com <BR><BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
All your favorites on one personal page – <a href="http://my.yahoo.com">Try My Yahoo!</a>