[Mapserver-users] DBFWriteStringAttribute problem/bug?

Nicolas Boretos nicolas at maich.gr
Wed Nov 12 05:06:47 PST 2003


Hi,

This is weird using tclmapscript (ms3.4 and 3.6.6)

Want to update a dbf record last_name "Poindexter" with "Doe"

mapscript::DBFWriteStringAttribute $hdbf 0 4 "Doe"

Reading the record,

mapscript::DBFReadStringAttribute $hdbf 0 4
returns
"Doendexter"

This is on win and linux...

Swigging the shapelib separately for tcl produces correct results, e.g 
the value gets replaced.

I wonder if DBFWrite works correctly on the other ms-interfaces, e.g 
perl, php, python etc..
or if this is a bug in the mapscript interface file?

Using shapelib1.29, and tcl 8.3, and 8.4....

regards,

nicolas boretos





More information about the MapServer-users mailing list