[mapserver-users] Two questions
Palmer, Steve
Steve_Palmer@lpsg.com
Thu, 24 Oct 2002 12:11:04 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C27B80.560F7880
Content-Type: text/plain;
charset="iso-8859-1"
Re: two scale bars
The following works for me in my map template
<IMG
src="[program]?map=[map]&mapext=[minx]+[miny]+[maxx]+[maxy]&map_scalebar_uni
ts=miles&mode=scalebar">
<p>
<IMG src="[scalebar]">
-----Original Message-----
From: Ivan Paoluzzi [mailto:tesimap@hotmail.com]
Sent: Thursday, October 24, 2002 10:34 AM
To: mapserver-users@lists.gis.umn.edu
Subject: [mapserver-users] Two questions
Hi all,
I have 2 questions:
I) I want to have two scalebar in my mapserver project, first in meters and
second in feet.
But I succeed to draw it only one. How do I do to have both?
This in my scalebar (in meters) declaration:
SCALEBAR
SIZE 150 5
STATUS ON
STYLE 1
IMAGECOLOR 255 255 255
COLOR 0 0 0
BACKGROUNDCOLOR 0 0 0
OUTLINECOLOR 0 0 0
UNITS METERS
INTERVALS 3
LABEL
COLOR 0 0 0
SIZE TINY
END
END #scalebar
II) They have told me, in mailing list, that isn't possible to do a JOIN
with Mapserver 3.5; is it real?
In effects my JOIN doesn't give no result.
They heve also told me that i have to 3.3 version to do a JOIN.
Is there another method to do it?
This is my layer:
LAYER
NAME civici_sed
TYPE POINT
STATUS ON
DATA civici_sed
CLASSITEM civico
CLASS
NAME "Numeri Civici"
COLOR 255 255 0
TEMPLATE "civici.html"
JOIN
NAME civicijoin
TABLE pop.dbf
FROM civico #field of civici_sed.dbf
TO key #field of pop.dbf
TYPE MULTIPLE
TEMPLATE "civicijoin.html"
END
END
HEADER "civici_header.html"
FOOTER "civici_footer.html"
END
It shows fields of "civici_sed.dbf" but doesn't show the field "key" (a
field of "pop.dbf").
Ivan
_________________________________________________________________
MSN Extra Storage! Hotmail all'ennesima potenza. Provalo!
http://www.msn.it/msnservizi/es/
------_=_NextPart_001_01C27B80.560F7880
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [mapserver-users] Two questions</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Re: two scale bars</FONT>
</P>
<P><FONT SIZE=3D2>The following works for me in my map template</FONT>
</P>
<P><FONT SIZE=3D2><IMG =
src=3D"[program]?map=3D[map]&mapext=3D[minx]+[miny]+[maxx]+[max=
y]&map_scalebar_units=3Dmiles&mode=3Dscalebar"></FONT>
<BR><FONT SIZE=3D2><p></FONT>
<BR><FONT SIZE=3D2><IMG src=3D"[scalebar]"></FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Ivan Paoluzzi [<A =
HREF=3D"mailto:tesimap@hotmail.com">mailto:tesimap@hotmail.com</A>]</FON=
T>
<BR><FONT SIZE=3D2>Sent: Thursday, October 24, 2002 10:34 AM</FONT>
<BR><FONT SIZE=3D2>To: mapserver-users@lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2>Subject: [mapserver-users] Two questions</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hi all,</FONT>
<BR><FONT SIZE=3D2>I have 2 questions:</FONT>
</P>
<P><FONT SIZE=3D2>I) I want to have two scalebar in my mapserver =
project, first in meters and </FONT>
<BR><FONT SIZE=3D2>second in feet.</FONT>
<BR><FONT SIZE=3D2>But I succeed to draw it only one. How do I do to =
have both?</FONT>
</P>
<P><FONT SIZE=3D2>This in my scalebar (in meters) declaration:</FONT>
<BR><FONT SIZE=3D2>SCALEBAR</FONT>
<BR><FONT SIZE=3D2> SIZE 150 5</FONT>
<BR><FONT SIZE=3D2> STATUS ON</FONT>
<BR><FONT SIZE=3D2> STYLE 1</FONT>
<BR><FONT SIZE=3D2> IMAGECOLOR 255 255 255</FONT>
<BR><FONT SIZE=3D2> COLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2> BACKGROUNDCOLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2> OUTLINECOLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2> UNITS METERS</FONT>
<BR><FONT SIZE=3D2> INTERVALS 3</FONT>
<BR><FONT SIZE=3D2> LABEL</FONT>
<BR><FONT SIZE=3D2> COLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2> SIZE TINY</FONT>
<BR><FONT SIZE=3D2> END</FONT>
<BR><FONT SIZE=3D2>END #scalebar</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>II) They have told me, in mailing list, that isn't =
possible to do a JOIN </FONT>
<BR><FONT SIZE=3D2>with Mapserver 3.5; is it real?</FONT>
<BR><FONT SIZE=3D2>In effects my JOIN doesn't give no result.</FONT>
<BR><FONT SIZE=3D2>They heve also told me that i have to 3.3 version to =
do a JOIN.</FONT>
<BR><FONT SIZE=3D2>Is there another method to do it?</FONT>
</P>
<P><FONT SIZE=3D2>This is my layer:</FONT>
<BR><FONT SIZE=3D2>LAYER</FONT>
<BR><FONT SIZE=3D2> NAME civici_sed</FONT>
<BR><FONT SIZE=3D2> TYPE POINT</FONT>
<BR><FONT SIZE=3D2> STATUS ON</FONT>
<BR><FONT SIZE=3D2> DATA civici_sed</FONT>
<BR><FONT SIZE=3D2> CLASSITEM civico</FONT>
<BR><FONT SIZE=3D2> CLASS</FONT>
<BR><FONT SIZE=3D2> NAME =
"Numeri Civici"</FONT>
<BR><FONT SIZE=3D2> COLOR 255 =
255 0</FONT>
<BR><FONT SIZE=3D2> TEMPLATE =
"civici.html"</FONT>
<BR> <FONT =
SIZE=3D2>JOIN</FONT>
<BR> <FONT SIZE=3D2> =
NAME civicijoin</FONT>
<BR> <FONT SIZE=3D2> =
TABLE pop.dbf</FONT>
<BR> <FONT SIZE=3D2> =
FROM civico #field of civici_sed.dbf</FONT>
<BR> <FONT SIZE=3D2> TO =
key #field of pop.dbf</FONT>
<BR> <FONT SIZE=3D2> =
TYPE MULTIPLE</FONT>
<BR><FONT =
SIZE=3D2> =
TEMPLATE "civicijoin.html"</FONT>
<BR> <FONT =
SIZE=3D2>END</FONT>
<BR><FONT SIZE=3D2> END</FONT>
<BR><FONT SIZE=3D2> HEADER =
"civici_header.html"</FONT>
<BR><FONT SIZE=3D2> FOOTER =
"civici_footer.html"</FONT>
<BR><FONT SIZE=3D2>END</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>It shows fields of "civici_sed.dbf" but =
doesn't show the field "key" (a </FONT>
<BR><FONT SIZE=3D2>field of "pop.dbf").</FONT>
</P>
<P><FONT SIZE=3D2>Ivan</FONT>
</P>
<BR>
<BR>
<P><FONT =
SIZE=3D2>_______________________________________________________________=
__</FONT>
<BR><FONT SIZE=3D2>MSN Extra Storage! Hotmail all'ennesima potenza. =
Provalo! </FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://www.msn.it/msnservizi/es/" =
TARGET=3D"_blank">http://www.msn.it/msnservizi/es/</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C27B80.560F7880--