[mapserver-users] DBF JOINS for Thematic Layers

John McCue jmccue at geovue.com
Mon Nov 25 13:41:02 PST 2002


I want to join a single dbf file to a shape file so I can make a thematic
layer.  My layer definition looks like:

LAYER
  NAME "SizeTheme"
  STATUS ON
  DATA "sizelyr"
  TYPE POLYGON

  CLASSITEM Size

  CLASS
    NAME "Size > 10"

    JOIN
        NAME bsize
        TABLE "SZ.DBF"
        FROM "data"
        TO "id"
        TYPE SINGLE
    END

    EXPRESSION ('[Size]' > 10)
    OUTLINECOLOR 0 0 0
    COLOR 255 240 240
  END
END


Is this the correct method?

John McCue
geoVue
200 Lincoln Street  5th Floor
Boston, Massachusetts  02111  USA
p  617.451.2520 x123
f  617.486.3066
www.geoVue.com
LOCATION INTELLIGENCE
jmccue at geovue.com






More information about the MapServer-users mailing list