MapTools.org

[maplab-users] About the join object

Radim Machu Radim Machu <radim.machu@ecn.cz>
Tue, 2 Dec 2003 14:44:55 +0100
Dear list-users,


I watched user-list archive for threads dealing with JOIN object (I
copy this message also also to those who discussed this topic),
because I tested to use JOIN with Mapserver4, MapLab4 with NO success.

My results are following:
map file:
     JOIN
        NAME "dbSites"
        TYPE SINGLE
        TABLE "c:/ms4w/apps/maplab20/tutorial/wwf_data/dbsites.dbf"
        FROM "LINK"
        TO "LINK"
      END
--------
 error message in MapServer 4

loadClass(): Unknown identifier. (JOIN):(156)
--------
 error message in MapLab 4:
 
Warning: [MapServer Error]: loadClass(): Parsing error near
(JOIN):(line 205) in
C:\ms4w\apps\maplab20\htdocs\common\wrapper\map_session.php on line
208

Warning: Failed to open map file c:/ms4w/tmp/ms_tmp//3fcc6bd2aec50.map
in C:\ms4w\apps\maplab20\htdocs\common\wrapper\map_session.php on line
208

Fatal error: Call to a member function on a non-object in
C:\ms4w\apps\maplab20\htdocs\common\wrapper\map_session.php on line
231
--------

Could anybody inform me about current status of JOIN object
implementation or what I did wrong?

Thanks,

Radim Machu



¦> 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 
¦> "To" mean? Besides, I need a template html file to show the queries result, would u please 
¦> show me some examples?Thanx!
¦> Here is part of my mapfile about join object. 
¦>      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


¦> --------------------------------------------------------------------------------
 



____________________________
Tradice Bílých Karpat
Hostětín 4
687 71 p. Bojkovice
mailto:tbk@ecn.cz
www.tradicebk.cz
tel.: 572 641040, fax:  572 641854



This archive was generated by Pipermail.