[mapserver-users] JOIN problem

Ivan Paoluzzi tesimap at hotmail.com
Thu Oct 10 15:14:51 PDT 2002


Hi all,
I have a problem with JOIN.
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


I see values of all fields of "civici_sed.dbf" but i don't see values of 
"key".


This is my html files:

CIVICIJOIN.HTML:
<tr><td>[key]</td><td>[codvia]</td><td>[civico]</td><td>[subciv]</td></tr>

CIVICI.HTML:
<tr><td>[codvia]</td><td>[civico]</td><td>[subciv]</td></tr>

CIVICI_HEADER.HTML:
<table cellpadding=5 cellspacing=2 border=0>
<tr 
bgcolor=#CCCCCC><th>[KEY]</th><th>[CODVIA]</th><th>[CIVICO]</th><th>[SUBCIV]</th></tr>

CIVICI_FOOTER.HTML:
</table><p>

And I call my layer "civici_sed" in an other file, so:
<select multiple name="layer" size=5>
        <option value="assist" [assist_select]>
	  <option value="cens_01" [cens_01_select]>
	  <option value="confine" [confine_select]>
	  <option value="quadro" [quadro_select]>
	  <option value="civici_sed" [civici_sed_select]>   <----- this is my layer
</select>


I have any errors?
Any helps would be appreciated.
Ivan



_________________________________________________________________
MSN Hotmail è il provider email più grande al mondo
 cosa aspetti a farti un 
account? http://www.hotmail.it




More information about the MapServer-users mailing list