Reading Shapefile DBF attributes?

Norman Vine nhv at CAPE.COM
Fri Jan 14 08:46:01 EST 2005


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



More information about the mapserver-users mailing list