[mapserver-users] python-mapscript

Michael Schulz mschulz at webgis.de
Tue Jul 16 08:05:06 EDT 2002


Hi,

once again a python-mapscript question. What is the correct way to get a
handle to an associated DBFInfoObj of a shapefileObj? The
PerlMapscriptExamples (
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex5
) show this using a method of the shapefileObj named "hDBF", which seems
to be not existing in the last releases (it is in 3.5, but not in 3.6).

But i can open a dbf file with "msDBFOpen", which returns exactly a
handle to a DBFInfoObj, but you have to provide the name of the dbf
instead of it being a method(?) of the shapefileObj. Are these
"msDBFxxxx" new methods, that are replacing old ones?

Thanks, Michael


--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de







More information about the mapserver-users mailing list