[mapserver-users] shp/dbf file's name

Clément MONIER Clement.MONIER at v-trafic.com
Fri Aug 20 09:22:58 EDT 2010


Hi,

I would like to know if it's possible to draw geometries from a shp file
according to attributes from a dbf
but with 2 files named differently.

For instance :

LAYER
  NAME layer1
  DATA shapefile1.shp
  CLASS
    EXPRESSION ([col1]=1)
    STYLE
    END
  END
END

Where col1 is a field inside a file storing attributes (dbf/csv/txt/...) but not named shapefile1.dbf

I already tried to use the JOIN option but I think it's inappropriate for my purpose
since "You cannot use joins to affect the look of a map" (http://mapserver.org/mapfile/join.html)

Thanks for your help !

Clément

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100820/19b2938d/attachment.html


More information about the mapserver-users mailing list