<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Steve,
<br>I have a small problem and would like to discuss this here.
<p>1. When I specify a bbox (lat, lon), then the result map should&nbsp;
fit exactly within this BBox.
<br>2. When I specify a width and height, the result bitmap should have
this width and height.
<br>3. What is when I specify bbox and width and height? Then something
is over defined!
<br>&nbsp;&nbsp;&nbsp; - I assume, the result should exactly fit in the
bbox AND the bitmap should fit exactly in one
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dimension width or height and the other
dimension of the bitmap should be calculated
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on the fly!
<br>- I get something unexpected when the map server extracts the bbox,
especially when I
<br>like to integrate the bitmap into an other application and assume,
that the bitmap has the
<br>bbox, that I used to generate it.
<p>Is there any way to get what I assume in 3. !
<p>Sincerely
<p>Frank Lochter
<p>Stephen Lime wrote:
<blockquote TYPE=CITE>Yup, the extent is recaclulated based on the shape
of the extent and the window
<br>size/shape. You are gauranteed to see the whole extent plus a bit more.
The
<br>algorithm fits your requested extent in either x or y dimension (whichever
fits
<br>best) and then pads the other dimension as needed. This has to be done
in
<br>order to get the right map to image transformation. You wouldn't necessarily
<br>have to actually display data outside the actual requested extent but
that would
<br>result in a great deal of blank space in the resulting image, so the
computed extent
<br>is used to select/clip data.
<p>Steve
<p>Stephen Lime
<br>Internet Applications Analyst
<p>Minnesota DNR
<br>500 Lafayette Road
<br>St. Paul, MN 55155
<br>651-297-2937
<p>>>> Ralf Puchert &lt;puchert@gfz-potsdam.de> 03/16/00 10:33AM >>>
<br>Hello,
<p>When we use
<p><a href="http://130.11.52.178/cgi-bin/mapserv?mode=map&layer=elevation&mapext=">http://130.11.52.178/cgi-bin/mapserv?mode=map&amp;layer=elevation&amp;mapext=</a>
<br>-180+-10+180+90&amp;map=/var/mapserver/global/global.map&amp;mapsize=500+250
<p>the outputmap has the wrong southernmost latitude.
<br>It seems to be that something is overdefined.
<br>Will the produced map whithin geographic coordinates expanded
<br>to the width and height values of the bitmap or
<br>will the geographic bounding box be recalculated ?
<p>Sincerely
<p>Ralf Puchert</blockquote>

<p>--
<br>Dr. Frank Lochter
<br>Data Centre
<br>GFZ Potsdam
<br>Telegrafenberg A3
<br>14473 Potsdam
<br>fon. +49-331-288-1701
<br>fax. +49-331-288-1703
<br>url&nbsp;&nbsp; <A HREF="http://www.gfz-potsdam.de/~marco">http://www.gfz-potsdam.de/~marco</A>
<br>&nbsp;</html>