[mapserver-users] Add points to shape

Lowell Filak lfilak at medinaco.org
Thu May 16 10:47:16 PDT 2002


Basically the records in the shp file and the dbf are in the same order and it is a 1:1 relationship.
The first record in the shp file is geometry for the first record in the dbf file that is attribute data.
Does that make it clear-as-mud?
Lowell F.

The following message was sent by Markus Spring <m.spring at gmx.de> on Thu, 16 May 2002 15:04:43 +0200.

> >I don't believe mapscript is intended to edit the associated dbf files.
> >For instance if you look at the DBFInfo object you will see that it ONLY reads 
> information rather than writes information.
> >At first this may seem strange but actually it makes sense for mapscript to not 
> reinvent the wheel when there are other modules available for editting dbf 
> files.
> >You will need to "use XBase;" in order to add records to the dbf file for the 
> points you add.
> 
> Lowell, could you please explain how the dbase record and the shape are 
> connected to each other? This is a point where I did not come beyond trial and a 
> lot of errors...
> 
> Markus
> 




More information about the MapServer-users mailing list