Re: [gdal-dev] adding features to a layer/dataset...

2019-06-27 Thread Andreas Oxenstierna
or use a transactional database which handles all of these aspects (and several more) for you Shayne, To solve your problem, given the constraints the Even explained, you probably need to do something like: * program that is writing to shapefile    - creates a socket or pipe    - open the

Re: [gdal-dev] adding features to a layer/dataset...

2019-06-26 Thread Stephen Woodbridge
Shayne, To solve your problem, given the constraints the Even explained, you probably need to do something like: * program that is writing to shapefile    - creates a socket or pipe    - open the file for exclusive access    - after it updates the shapefile    - close the file    - writes to

Re: [gdal-dev] adding features to a layer/dataset...

2019-06-26 Thread Even Rouault
Shayne, > > I have a vector GDALDataset that is shared between two applications running > on different machines. Both applications call GDALOpenEx(...) to open the > shapefile.shp with flags GDAL_OF_VECTOR and GDAL_OF_SHARED flags set to > open the dataset. The dataset only has one layer

[gdal-dev] adding features to a layer/dataset...

2019-06-25 Thread TUELLER, SHAYNE R CIV USAF AFMC 519 SMXS/MXDEC
Hello, I have a vector GDALDataset that is shared between two applications running on different machines. Both applications call GDALOpenEx(...) to open the shapefile.shp with flags GDAL_OF_VECTOR and GDAL_OF_SHARED flags set to open the dataset. The dataset only has one layer associated with