[Mapserver-users] Using CGI to adjust REFERENCE image size

David Martin david at itbeyond.com.au
Fri Jan 16 04:44:46 EST 2004


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3DC15.60109210
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi all,
=20
I have been reading the CGI reference and the docs indicate that you can
change most paramters of the map file from the command line. My question
can you change the SIZE & IMAGE of the reference map from the command
line.
=20
I have an app and I want to build a thumbnail of the reference at a
smaller size - I do not really want to build a new map file if I can
avoid it. So I need to pass the SIZE and the IMAGE to the CGI - I have
tried various options but cannot seem to get it sorted I tried this:
=20
&reference_size=3D100+100&reference_image=3Dd:\image\ref100.png
=20
However it did not change. Can this be done? What are the variables?
=20
Regards
David Martin
DIRECTOR
I.T. Beyond Pty Ltd
Postal:	 PO BOX 967
HILLARYS WA 6923=09
Ph:	 (08) 9403 3737 =09
Mobile:	 0417 677 275 =09
Fax:	 (08) 9403 3738=09
=20
  _____ =20


Check out our websites: www.ExplorOz.com <http://www.exploroz.com/>  and
www.itbeyond.com.au <http://www.itbeyond.com.au/>=20

=20

------_=_NextPart_001_01C3DC15.60109210
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial size=3D2>Hi=20
all,</FONT></SPAN></DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial size=3D2>I have =
been reading=20
the CGI reference and the docs indicate that you can change most =
paramters of=20
the map file from the command line.&nbsp;My question can you change the =
SIZE=20
&amp; IMAGE of the reference map from the command =
line.</FONT></SPAN></DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial size=3D2>I have =
an app and I=20
want to build a thumbnail of the reference at a smaller size - I do not =
really=20
want to build a new map file if I can avoid it. So I need to pass the =
SIZE and=20
the IMAGE to the CGI - I have tried various options but cannot seem to =
get it=20
sorted I tried this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial=20
size=3D2>&amp;reference_size=3D100+100&amp;reference_image=3Dd:\image\ref=
100.png</FONT></SPAN></DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D375093909-16012004><FONT face=3DArial =
size=3D2>However it did not=20
change. Can this be done? What are the variables?</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Regards</FONT></DIV>
<DIV align=3Dleft><FONT face=3D"Lucida Handwriting" size=3D2>David =
Martin</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>DIRECTOR</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>I.T. Beyond Pty =
Ltd</FONT></DIV>
<DIV align=3Dleft>
<DIV align=3Dleft>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D155 border=3D0>
  <TBODY>
  <TR>
    <TD vAlign=3Dtop align=3Dleft width=3D34><FONT face=3DArial=20
    size=3D1>Postal:</FONT></TD>
    <TD align=3Dright width=3D103><FONT face=3DArial size=3D1>PO BOX =
967<BR>HILLARYS=20
      WA 6923</FONT></TD></TR>
  <TR>
    <TD width=3D34><FONT face=3DArial size=3D1>Ph:</FONT></TD>
    <TD align=3Dright width=3D103><FONT face=3DArial size=3D1>(08) 9403 =
3737=20
  </FONT></TD></TR>
  <TR>
    <TD width=3D34><FONT face=3DArial size=3D1>Mobile:</FONT></TD>
    <TD align=3Dright width=3D103><FONT face=3DArial size=3D1>0417 677 =
275=20
  </FONT></TD></TR>
  <TR>
    <TD width=3D34><FONT face=3DArial size=3D1>Fax:</FONT></TD>
    <TD align=3Dright width=3D103><FONT face=3DArial size=3D1>(08) 9403=20
  3738</FONT></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV align=3Dleft>
<DIV align=3Dleft>&nbsp;</DIV></DIV>
<HR width=3D"80%">

<DIV align=3Dleft>
<P align=3Dcenter><FONT face=3DTahoma size=3D2>Check out our websites: =
<A=20
href=3D"http://www.exploroz.com/">www.ExplorOz.com</A> and <A=20
href=3D"http://www.itbeyond.com.au/">www.itbeyond.com.au</A></FONT></P></=
DIV></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
=00
------_=_NextPart_001_01C3DC15.60109210--



More information about the mapserver-users mailing list