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