[UMN_MAPSERVER-USERS] Reading Shapefile DBF attributes?

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Fri Jan 14 09:12:53 EST 2005


For a consultation purpose, QGIS is the best way...  To add dbf content to
your code, Perl or PHP are certainly the best.  On Win, you can use an ODBC
connection to your dbf or simply use Perl DBF or Xbase modules...

Skweda
 

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Norman Vine
Envoyé : 14 janvier 2005 08:46
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] Reading Shapefile DBF attributes?

Gerry Creager writes:
>
> I'm sure this is an easy one.
>
> I need to get the attributes of the shapefile from the dbf in a readable
> form.
>
> I'm going thru the archives and docs, so I may find it and render all
> the excess bandwidth for naught, but I thought I'd try to optimize the
> time usage, and ask the collective consciousness.

Probably easiest to use mapscript

See the Perl or Python examples directory for shpinfo.XX

or dbfinfo from the shapelib distribution   < contrib directory >

http://shapelib.maptools.org/

HTH

Norman

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 2005-01-12
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 2005-01-12
 



More information about the mapserver-users mailing list