[Mapserver-users] DBFWriteStringAttribute problem/bug?
Lowell Filak
lfilak at medinaco.org
Wed Nov 12 07:52:29 PST 2003
I'm not sure if anyone will be able to confirm whether it works in other
interfaces. The suggestion has been to use the xbase module available
for the laguage as opposed to the DBFxxxxx functions as they exist in
mapscript mainly for tcl. So just in case you receive no feedback, your
not being ignored.
Lowell
The following message was sent by Nicolas Boretos <nicolas at maich.gr> on
Wed, 12 Nov 2003 15:06:47 +0200.
> 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
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list