<html>
MapServer v4.2 Issues and Problems:<br>
<br>
I am a new user and for the most part my application is working.&nbsp; I
can display my map, turn on/off layers, display labels, as well as
see/display my reference image and legend.&nbsp; <br>
However, I still have some issues, some minor, but others critical.<br>
<br>
1.&nbsp; <b>Refresh results in a blank/offset image</b> - I have defined
a &quot;Refresh/Update <br>
&nbsp;&nbsp;&nbsp; View&quot; button, as in the tutorial.&nbsp; If I
toggle layers on or off and then select <br>
&nbsp;&nbsp;&nbsp; a point on my image/map the image/map view is updated
correctly.&nbsp; However, if I <br>
&nbsp;&nbsp;&nbsp; select the &quot;Refresh&quot; button my view is
blanked out.&nbsp; If I look in my log file I <br>
&nbsp;&nbsp;&nbsp; see that my extent has changed from my
&quot;real&quot; coordinates to negative/positive <br>
&nbsp;&nbsp;&nbsp; coordinates centered about 0,0 - as if my imgxy value
has been reset to 0,0.<br>
<br>
&nbsp;&nbsp;&nbsp; log file entries:<br>
<br>
before:<br>
&nbsp;&nbsp;&nbsp; Fri Oct 29 14:35:20
2004,3096,10.53.0.55,CoEZoning,0,<b>5953500.000000 2174650.000000
5968500.000000 2187150.000000,5961000.000000 2180900.000000</b>,zoning
citylimits&nbsp;&nbsp; ,normal execution<br>
<br>
after:<br>
&nbsp;&nbsp;&nbsp; Fri Oct 29 14:35:30
2004,3280,10.53.0.55,CoEZoning,0,<b>-7501.000000 -6251.000000 7499.000000
6249.000000,-1.000000 -1.000000</b>,citylimits&nbsp;&nbsp; ,normal
execution<br>
<br>
&nbsp;&nbsp;&nbsp; However, if I look at my url/command submitted to
mapServer the imgxy value <br>
&nbsp;&nbsp;&nbsp; is still set as the center of my existing image
(299.5,249.5) and my image/map <br>
&nbsp;&nbsp;&nbsp; extent shows the same correct values as before and not
the negative values that<br>
&nbsp;&nbsp;&nbsp; appear to be returned by mapServer.<br>
<br>
&nbsp;&nbsp;&nbsp; Update using point on image/map:<br>
<br>
<a href="http://10.53.0.16/scripts/mapserv.exe?mode=zoomin&zoomsize=2" eudora="autourl">http://10.53.0.16/scripts/mapserv.exe?mode=zoomin&amp;zoomsize=2</a><br>
&amp;layer=zoning&amp;layer=zoningLabels&amp;layer=citylimits&amp;layer=+&amp;scale=85975.040000<br>
&amp;imgxy=299.5+249.5&amp;imgext=5953500.000000+2174650.000000+5968500.000000+2187150.000000&amp;map=D%3A%2FInetpub%2Fwwwroot%2FGISMS%2FCOEZI.map&amp;savequery=true&amp;img.x=308&amp;img.y=331<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; Update based on selection of Refresh button:<br>
<br>
http://10.53.0.16/scripts/mapserv.exe?mode=zoomin&amp;zoomsize=2<br>
&amp;layer=zoning&amp;layer=zoningLabels&amp;layer=citylimits&amp;layer=+&amp;scale=85975.040000<br>
&amp;imgxy=299.5+249.5&amp;imgext=5953500.000000+2174650.000000+5968500.000000+2187150.000000&amp;map=D%3A%2FInetpub%2Fwwwroot%2FGISMS%2FCOEZI.map&amp;savequery=true<br>
<br>
&nbsp;&nbsp;&nbsp; Any ideas on why the refresh is not working?<br>
<br>
<br>
2.&nbsp; <b>Radio button selection/choice is not persistent</b> - I have
defined radio buttons to <br>
&nbsp;&nbsp;&nbsp; specify view/query mode for pan, zoom in, zoom out,
query, and nquery.&nbsp; By <br>
&nbsp;&nbsp;&nbsp; default, the pan option is checked when I start the
form.&nbsp; When I select zoom in <br>
&nbsp;&nbsp;&nbsp; and select a point of my view/image, the view changes
to represent the zoomed in <br>
&nbsp;&nbsp;&nbsp; view, but the radio button is no longer
selected.&nbsp; How do I make my radio button <br>
&nbsp;&nbsp;&nbsp; selection persistent so the choice carries over to the
next screen - I have used <br>
<br>
&nbsp;&nbsp;&nbsp; definitions like:<br>
<br>
&nbsp;&nbsp; &lt;INPUT name=&quot;mode&quot; type=&quot;radio&quot;
value=&quot;zoomin&quot; [mode_zoomin_check]&gt; Zoom In&lt;BR&gt;<br>
<br>
&nbsp;&nbsp; What is wrong with this ?<br>
<br>
<br>
3.&nbsp; <b>Placing point in Reference Map does not zoom in/out</b> - All
view/query functions <br>
&nbsp;&nbsp;&nbsp; work when selecting a point in my map/image.&nbsp;
Pan/window center works when<br>
&nbsp;&nbsp;&nbsp; I select a point in my reference view, but zoom in/out
functions DO NOT work.<br>
&nbsp;&nbsp;&nbsp; Why do the zoom functions NOT work in the reference
map, while the window center<br>
&nbsp;&nbsp;&nbsp; and pan functions work ?<br>
<br>
&nbsp;&nbsp;&nbsp; The mapSever command for zoom in submitted using the
point in the reference map <br>
&nbsp;&nbsp;&nbsp; (this doesn't work) looks like this:<br>
<br>
http://10.53.0.16/scripts/mapserv.exe?mode=zoomin&amp;zoomsize=2<br>
&amp;layer=zoning&amp;layer=zoningLabels&amp;layer=citylimits&amp;layer=+&amp;scale=85975.040000<br>
&amp;imgxy=299.5+249.5&amp;imgext=5953500.000000+2174650.000000+5968500.000000+2187150.000000&amp;map=D%3A%2FInetpub%2Fwwwroot%2FGISMS%2FCOEZI.map&amp;savequery=true&amp;ref.x=13&amp;ref.y=82<br>
<br>
The mapServer command for zoom in from the map/image (this works)
is:<br>
<br>
http://10.53.0.16/scripts/mapserv.exe?mode=zoomin&amp;zoomsize=2<br>
&amp;layer=zoning&amp;layer=zoningLabels&amp;layer=citylimits&amp;layer=+&amp;scale=85975.040000<br>
&amp;imgxy=299.5+249.5&amp;imgext=5953500.000000+2174650.000000+5968500.000000+2187150.000000&amp;map=D%3A%2FInetpub%2Fwwwroot%2FGISMS%2FCOEZI.map&amp;savequery=true&amp;img.x=308&amp;img.y=331<br>
<br>
The view is updated, but there isn't any zooming in or out - it is as
though I gave a <br>
window center command rather than a zoom command.&nbsp; Any ideas on what
is wrong ?<br>
<br>
<br>
I have attached my map file and html template for review.<br>
<br>
Thanks in advance,<br>
<br>
Ken Stumpf</html>