[mapserver-users] What's wrong with this string?
Azimuth, Erwin Perik
perik at azimuth.nl
Wed Feb 20 00:47:23 PST 2002
Lyndon,
i do not know what your defaults are, but check to see if something like
following is used:
<input type="hidden" name="imgext" value="[mapext]">
Think you are missing the image x and y to use for the zoom.
Use something like this to also pass the zoom value:
<form method="GET" action="/cgi-bin/mapserv">
<input type="hidden" name="map" value="yourmapfile">
<input type="hidden" name="imgext" value=="[mapext]">
<input type="image" name="img" src="[img]" border="0">
<select name="zoom" size="1">
<option value="2" selected> Zoom in 2 times </option>
<option value="1" > Recenter Map (PAN) </option>
<option value="-2" > Zoom out 2 times </option>
</select>
</form>
(BTW, negative coords are not the problem)
Erwin
At 14:17 20-2-02 +1030, Lyndon Zimmermann wrote:
>I'm reworking an enquiry front end, and currently generate an initiate
>string:
>
>http://sg211.gisca.adelaide.edu.au/cgi-bin/mapserv/mapserv?map=..%2Fhtdocs%2Fau_afs_mapserver%2Fau_afs_nojava.map&mode=browse&layer=state_boundaries&zoomsize=2&imgext=855342.0+-4343315.0+1458169.0+-3768371.0&resources=infield&pop=999&roads=999&elec=999
>
>It appears to ignore the imgext, and just uses the defaults. Any
>clues? The values are an Albers projection, I obtained by zooming to my
>region of interest and copying the command string that produced it.
>
>Lyndon Zimmermann
>
>--
>Lyndon Zimmermann
>BE (Mech Adelaide) Grad Dip Bus Admin (UniSA)
>
>LOW RAINFALL AGROFORESTRY RESEARCH UNIT
>Affiliated with the CRC for Plant Based Management of Dryland Salinity
>
>University of Adelaide Department of Agronomy and Farming Systems
>Physical address: Hannaford Building (via Gate 3) Waite Campus, South
>Australia
>Postal: Adelaide University, PMB1 Glen Osmond, SA 5064, Australia
>Dir (Soil and Water) +61-8-8303 6571 Mob 0414 91 4577
>Fax +61-8-8303 6717 email lyndon.zimmermann at adelaide.edu.au
>
>Bionergy Atlas Website:
>http://www.gisca.adelaide.edu.au/~lzimmerm/bioenergy_atlas/atlas_index.html
>
>Unless otherwise stated, the content of this message and attachments may
>be forwarded or quoted, with due acknowledgement. No representation is
>made that this email is free of viruses. Virus scanning is recommended
>and is the responsibility of the recipient.
=================
Azimuth Geodetic
Koldingweg 8
9723 HK Groningen
tel. 050-5493454
fax. 050-5497217
=================
www.azimuth.nl
perik at azimuth.nl
=================
More information about the MapServer-users
mailing list