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

2019-06-26 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 fil

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 t

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 associat

Re: [gdal-dev] Distinguish between no DTED data and actual DTED elevation of 0

2019-06-26 Thread Even Rouault
On mercredi 26 juin 2019 12:05:36 CEST LEGGE Melvin wrote: > Thanks Even > > So based on your response, a GDalDataSet normally should have valid data all > the way to its edges? This all depends on the content of the dataset you read. GDAL will just expose it as it is on file, without adding art

Re: [gdal-dev] Distinguish between no DTED data and actual DTED elevation of 0

2019-06-26 Thread LEGGE Melvin
Thanks Even So based on your response, a GDalDataSet normally should have valid data all the way to its edges? Mel -Original Message- From: Even Rouault [mailto:even.roua...@spatialys.com] Sent: Wednesday, June 26, 2019 7:39 AM To: gdal-dev@lists.osgeo.org Cc: LEGGE Melvin Subject: Re: [

Re: [gdal-dev] Distinguish between no DTED data and actual DTED elevation of 0

2019-06-26 Thread Even Rouault
On mardi 25 juin 2019 19:57:11 CEST LEGGE Melvin wrote: > Hi > > I am a relative newbie to GIS programming so forgive me if I use the wrong > terminology or don't state my problem in the most efficient GIS terms. > Anyway, I have inherited a project written by an actual GIS person who is > no long