MapTools.org

[maplab-users] About the join object

¦¿©v®i heihachi.cv90g@nctu.edu.tw
Mon, 24 Feb 2003 12:06:47 +0800
This is a multi-part message in MIME format.

------=_NextPart_000_0051_01C2DBFD.347CACF0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi~
Dear All

Is there any one so kind give me the ideas about how to use the join =
object.
I've explore the mapfile reference. I still can't understand what it =
exactlly.
I've add one under one of my Class object. I saw the name variable in =
join object.
The reference said "Unique name for this join, and it's required". And =
how does "From" and=20
"To" mean? Besides, I need a template html file to show the queries =
result, would u please=20
show me some examples?Thanx!
Here is part of my mapfile about join object.=20
     JOIN
        NAME "Buildings"------is this user defined?
        TYPE MULTIPLE
        TABLE "c:/msapps/nctu/data/buildingauth.dbf"
        FROM "AREA"-----is this one attribute of my table?
        TO "NAME"------is this one attribute of my table too?
      END

In spite of the cofig up, is there anything else needed to set for me to =
query my own map?

Any ideas?

Best regards!!!!

Kent


-------------------------------------------------------------------------=
-------
=20

------=_NextPart_000_0051_01C2DBFD.347CACF0
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dbig5"><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY=20
style=3D"BACKGROUND-POSITION: center top; FONT-WEIGHT: normal; =
FONT-SIZE: 10pt; BACKGROUND-IMAGE: =
url(http://skins.hotbar.com/skins/mailskins/st/030302/030302www.abms-prod=
.com8_1.jpg); MARGIN: 100px 0px 0px 5px; COLOR: #181c29; =
BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial; BACKGROUND-COLOR: =
#ffffff"=20
bgColor=3D#ffffff stationery_tag_mark hbtype=3D"st" =
hmark=3D"hotbar_element">
<DIV>Hi~</DIV>
<DIV><!--mail_content--><SPAN id=3Dhotbar_element_used =
stationery_tag_mark>Dear=20
All</SPAN></DIV>
<DIV><SPAN stationery_tag_mark></SPAN>&nbsp;</DIV>
<DIV><SPAN stationery_tag_mark>Is there any one so kind&nbsp;give me the =
ideas=20
about how to use the join object.</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>I've explore the mapfile reference. I =
still can't=20
understand what it exactlly.</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>I've add one under one of my Class =
object. I saw=20
the name variable in join object.</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>The reference said "Unique name for this =
join,=20
and it's required". And how does "From" and </SPAN></DIV>
<DIV><SPAN stationery_tag_mark>"To" mean? Besides, I need a template =
html file=20
to show the&nbsp;queries result,&nbsp;would u please&nbsp;</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>show me some examples?Thanx!</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>Here is part of my&nbsp;mapfile about =
join=20
object.&nbsp;</SPAN></DIV>
<DIV><SPAN stationery_tag_mark>&nbsp;&nbsp;&nbsp;&nbsp;=20
JOIN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME =
"Buildings"------is this=20
user defined?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE=20
MULTIPLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TABLE=20
"c:/msapps/nctu/data/buildingauth.dbf"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
FROM "AREA"-----is this one attribute of my=20
table?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TO "NAME"------is =
this one=20
attribute of my table too?<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
END</SPAN></DIV>
<DIV><SPAN stationery_tag_mark></SPAN>&nbsp;</DIV>
<DIV><SPAN stationery_tag_mark>In spite of the cofig up, is there =
anything else=20
needed to set for me to query my own map?</SPAN></DIV>
<DIV><SPAN stationery_tag_mark></SPAN>&nbsp;</DIV>
<DIV><SPAN stationery_tag_mark>Any ideas?</SPAN></DIV>
<DIV><SPAN stationery_tag_mark></SPAN>&nbsp;</DIV>
<DIV><SPAN stationery_tag_mark>Best regards!!!!</SPAN></DIV>
<DIV><SPAN stationery_tag_mark></SPAN>&nbsp;</DIV>
<DIV><SPAN stationery_tag_mark>Kent</SPAN></DIV>
<DIV id=3Dhotbar_promo><BR>
<HR align=3Dleft width=3D"100%" color=3Dgray noShade SIZE=3D1>
<A=20
href=3D"http://promos.hotbar.com/promos/promodll.dll?RunPromo&amp;El=3Dho=
tbar%5felement%3bst%3b&amp;SG=3D&amp;RAND=3D37632"><IMG=20
title=3D"" alt=3D"Upgrade Your Email - Click here!"=20
src=3D'http://promos.hotbar.com/promos/promodll.dll?GetPromo&amp;El=3Dhot=
bar%5felement%3bst%3b&amp;SG=3D&amp;RAND=3D37632"'=20
border=3D0></A> </DIV></BODY></HTML>

------=_NextPart_000_0051_01C2DBFD.347CACF0--



This archive was generated by Pipermail.