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

Gerry Creager gerry.creager at TAMU.EDU
Sun Oct 29 13:49:12 EST 2006


or, export the shapefile and its native dbf to postGIS, supplement the 
postGIS database, and then request what you need from the database...

gerry

Till Adams wrote:
> 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
>>
> 
> 

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020  FAX 979.862.3983
MAIL:  AATLT, 3139 TAMU
Physical: 1700 Research Parkway, Suite 160,
College Station, TX 77843-3139



More information about the mapserver-users mailing list