Using multiple .dbf files with the same .shp/.shx files

Till Adams adams at TERRESTRIS.DE
Sun Oct 29 06:00:56 PST 2006


Matt,

I guess it is difficult to do what you want. A shapefile is handled as one
file, although there are always three files.

Maybe it's possible for you to workaround with that JOIN Object in the
mapfile.
http://mapserver.gis.umn.edu/docs/reference/mapfile/join/?searchterm=JOIN


Or you store the shapestuff in a database (or you create three shapes with
different namens and dbf-files). Then you may use the Variable
Substitution functionality from mapserver and pass the filename via the
url when requesting the map.

Till :-)

> Is there any way to use different .dbf files with the same .shp/.shx
> file in MapServer?  I'd like to make an online application that, based
> on some choices, would pull info from a different .dbf file, but use the
> same .shp/.shx file.  The different requests would have different .map
> files, but I don't see if there is any way to identify a different .dbf
> file to use other than the one of the same basename as the .shp/.shx
> files...
>
> Thanks,
> Matt
>


-- 

******************************************
*  released: AmeiN! ArcMap-Export-2-UMN  *
*        LiveLinux 'WebGIS on CD'        *
*        http://www.terrestris.de        *
******************************************

------------------------------------------

Dipl. Geogr. Till Adams
terrestris, H. Paulsen& T. Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 info at terrestris.de *
http://www.terrestris.de



More information about the MapServer-users mailing list