[gdal-dev] OGR error

Frank Warmerdam warmerdam at pobox.com
Fri Jan 16 09:41:05 EST 2009


nicholas.g.lawrence at mainroads.qld.gov.au wrote:
> I am using ogr2ogr to append several shapefiles into one shapefile.
> 
> The command
> 
> ogr2ogr -update -append C:\DATA\neville\fire.shp
> C:\DATA\neville\bundaberg.shp -nln fire
> 
> which is repeated many times in a batch file to append more and more
> shapefiles to
> the destination file.
> 
> After about a dozen successful appends, I get this error message
> 
> ERROR 1: Error in psSHP->sHooks.FSeek() or fwrite() writing object to .shp
> file.
> 
> which is repeated a 1000 times until ogr2ogr decides to stop giving
> warnings.

Nick,

It basically means that writes to the .shp file are failing.  The most
likely reason is that your disk is full or the .shp file grew to be
larger than 2GB/4GB.  Are either of those possible?  If not, we would
need to pursue normal bug reporting approaches.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list