<DIV>Thanks for the clarification. I give it a try.</DIV>
<DIV> </DIV>
<DIV>Thomas<BR><BR><B><I>Siki Zoltan <siki@agt.bme.hu></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>> Zoltan,<BR>> <BR>> Thanks for the answer. <BR>> <BR>> 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>> <BR>> So my input is: center lat/lon; scale;
width/height pixels of map<BR>> Current output: 1) image<BR>> <BR>> Desired output: 1) image and 2) bottom-right/top-left coordinates<BR>> <BR>> Thomas<BR>> <BR>> Siki Zoltan <SIKI@AGT.BME.HU>wrote:<BR>> 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>> > 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>> > <BR>> > I have a cgi get string like this:<BR>> > &mapxy=-122.244+37.47502&scale=1&mapsize=600+400<BR>> > <BR>> > 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>> > <BR>> > Can I do it via the cgi interface (any ascii
response is good) or WFS or I have to use PHPmapscript?<BR>> > <BR>> > Thanks<BR>> > <BR>> > Thomas<BR>> > <BR>> > <BR>> > ---------------------------------<BR>> > Do you Yahoo!?<BR>> > The all-new My Yahoo! – What will yours do?<BR>> <BR>> <BR>> __________________________________________________<BR>> Do You Yahoo!?<BR>> Tired of spam? Yahoo! Mail has the best spam protection around <BR>> 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>