: 'kedardeshpande87'; gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Corrupted .shp error when reading shapefile from
multiple threads
Selon Martin Chapman :
> Kedar,
>
> Think about it...how does GetNextFeature() know what feature is next?
> It's because somewhere inside the
Selon Martin Chapman :
> Kedar,
>
> Think about it...how does GetNextFeature() know what feature is next?
> It's because somewhere inside the datasource handle there is probably a
> variable that is keeping track of what record is next. If multiple
> threads are all using the same datasource hand
bject: [gdal-dev] Corrupted .shp error when reading shapefile from
multiple threads
Hi,
I am writing an application in Java with gdal's java bindings that reads a
zipcode layer shapefile.
I set a spatial filter of a point on the layer and get the zipcode by
reading from the layer.
...
Dat
Hi,
I am writing an application in Java with gdal's java bindings that reads a
zipcode layer shapefile.
I set a spatial filter of a point on the layer and get the zipcode by
reading from the layer.
...
DataSource ds = ogr.Open("path/to/shapefile");
Layer layer = ds.GetLayer(0);
...
public void get