[mapserver-users] JOIN problem

Richard Greenwood rich at greenwoodmap.com
Thu Oct 10 21:40:40 EDT 2002


Join is not supported in mapserver 3.5 or 3.6, but it will be back in 3.7. 
If you really need join, then you should use 3.3, which is a very solid 
release, wait a bit for 3.7.

Rich

At 12:14 AM 10/11/2002 +0200, you wrote:

>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
>

Richard W. Greenwood, PLS
(307) 733-0203
Rich at GreenwoodMap.com
www.GreenwoodMap.com




More information about the mapserver-users mailing list