Opened 20 years ago

Closed 20 years ago

#874 closed enhancement (wontfix)

Implement pure dbf functions (dbf without shp file)

Reported by: mathieuparent@… Owned by: mapserverbugs
Priority: high Milestone:
Component: MapScript-PHP Version: unspecified
Severity: minor Keywords:
Cc:

Description

Make some ms functions accessible to MapScript (PHP especially).
  from mapxbase.c:
    msDBFOpen( const char * pszFilename, const char * pszAccess )
    msDBFClose(DBFHandle psDBF)
    msDBFGetItems(DBFHandle dbffile)
    msDBFGetValues(DBFHandle dbffile, int record)

===OR====

create a new layer type 'MS_LAYER_DBF'

===== Why ? =====

to access to values of a .dbf
to allow Joins from a shp/dbf to a .dbf

Change History (1)

comment:1 by dmorissette, 20 years ago

Resolution: wontfix
Status: newclosed
PHP already has a "dbase" module that provides functions to read/write .DBF files:

http://ca.php.net/manual/en/ref.dbase.php

It would be a bad idea for MapScript to duplicate that functionality, so I'll
close this bug as WONTFIX. 

See mapscript/php3/examples/test_writeshape.phtml in the MapServer source
package for an example of use of this dbase module.
Note: See TracTickets for help on using tickets.