atomising dbfadd shpadd operations

Grzegorz Myrda mapadm at polsl.gliwice.pl
Fri Aug 6 09:50:11 EDT 1999


Hi,
I made some experiments with "ShpAdd".
I compiled some code from MapServ and from Shapfile library 
utilities. The result is "ShpAdd.cgi" which is able to add point 
features (with database attrs) to the specified shapefile.
No undo (abort), no file locking, etc. It's only simple experimental 
program. 

Grzegorz


Date sent:      	Fri, 06 Aug 1999 22:15:26 +1000
To:             	mapserver-users at lists.gis.umn.edu
From:           	Cameron Shorter <camerons at cat.org.au>
Subject:        	atomising dbfadd shpadd operations

> Hi,
> 
> I'm now working toward a web based updating of mapserver shapefiles.
> 
> I notice that there are a few programs (dbfadd, shpadd, etc) in
> ms_3.2/shapelib which I will probably use.  I don't suppose there is some
> documentation for these programs floating around are there? :)
> 
> The one problem that I see is if an operator aborts an operation half way
> through the updating of the .dbf and .shp files, and only one of the files
> is updated, or it is partially updated.  Ie we need to ensure the updates
> are done fully or not at all, or if the update only partially completes
> then the database is corrected next time the database is accessed.
> 
> Has anyone addressed this problem before?
> 
> Cameron Shorter
> 61.2.9901-1596 work.
> 


-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  shpadd.c
     Date:  6 Aug 1999, 15:33
     Size:  10145 bytes.
     Type:  Program-source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shpadd.c
Type: application/octet-stream
Size: 10144 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/19990806/7b02a078/shpadd.obj
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  shpadd.h
     Date:  6 Aug 1999, 15:04
     Size:  1345 bytes.
     Type:  Program-source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shpadd.h
Type: application/octet-stream
Size: 1345 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/19990806/7b02a078/shpadd-0001.obj


More information about the mapserver-users mailing list