Re: [gdal-dev] Filtering Null Coordinates and rounding coordinates Using ogr2ogr?

2019-10-16 Thread Brandon Biggs
Hello, This doesn't seem to work. Thank you for the SQL link. I am wondering if these warnings have anything to do with the null geometries? Warning 1: Block Bloc truss 16X16X8 does not exist Warning 1: Block Bloc TRUSS CUBE 16X16 does not exist Does anyone know what may cause these errors and if

Re: [gdal-dev] 3.1 release?

2019-10-16 Thread Simon Eves
Oh, OK. Not sure where I got the idea it was imminent. We'll go with 3.0.1. Thank you! On Wed, Oct 16, 2019 at 2:45 PM Even Rouault wrote: > On mercredi 16 octobre 2019 13:26:20 CEST Simon Eves wrote: > > Just wondering about the timescale of this, please? > > probably May next year > > -- > Spa

Re: [gdal-dev] Filtering Null Coordinates and rounding coordinates Using ogr2ogr?

2019-10-16 Thread Even Rouault
On mercredi 16 octobre 2019 21:29:41 CEST Brandon Biggs wrote: > Hello, > > I have two questions with ogr2ogr: > > How do I remove features that have a null geometry? > > I tried: > > -where "\"geometry\" != null" -where "OGR_GEOMETRY is not null" --> https://gdal.org/user/ogr_sql_dialect.htm

Re: [gdal-dev] 3.1 release?

2019-10-16 Thread Even Rouault
On mercredi 16 octobre 2019 13:26:20 CEST Simon Eves wrote: > Just wondering about the timescale of this, please? probably May next year -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists.o

[gdal-dev] Filtering Null Coordinates and rounding coordinates Using ogr2ogr?

2019-10-16 Thread Brandon Biggs
Hello, I have two questions with ogr2ogr: How do I remove features that have a null geometry? I tried: -where "\"geometry\" != null" But got the error: ERROR 1: "geometry" not recognised as an available field. ERROR 1: SetAttributeFilter("geometry" != null) on layer 'entities' failed. Her

[gdal-dev] 3.1 release?

2019-10-16 Thread Simon Eves
Just wondering about the timescale of this, please? We want to move to 3.x, but if 3.1 is imminent, we will wait for it. -- Simon Eves Senior Graphics Engineer, Rendering Group 100 Montgomery St (5th Floor), San Francisco, CA 94104, USA Email: simon.e...@omnisci.com |

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Brandon Biggs
Hello, When you say "built against the Open Design Alliance Teiga library", what does that mean? Do they have their own dll that needs to be included, or do they have their own set of tools that need to be used to build gdal from source? Is there a tutorial on how to build gdal from source? I fou

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Even Rouault
On mercredi 16 octobre 2019 15:43:26 CEST Brandon Biggs wrote: > Hello Even, > It makes sense that the driver is proprietary, but the documentation page: > https://gdal.org/drivers/vector/dwg.html > makes no mention of this fact. It does. This is the first sentence: "OGR supports reading most vers

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Brandon Biggs
Hello Even, It makes sense that the driver is proprietary, but the documentation page: https://gdal.org/drivers/vector/dwg.html AutoCAD DWG — GDAL documentation DWG_INLINE_BLOCKS¶. The default behavior is for block references to be expanded with the geomet

Re: [gdal-dev] 503 Errors when accessing Public Datasets on Google Cloud Storage with automatic auth

2019-10-16 Thread Christoph Paulik
Hi, The thing is that one request works fine in any case. But google seems to rate limit on the public bucket in the following cases: - no authentication (/vsicurl/ driver) - authentication with automatic detection by gdal that it is running on a GCE VM. but not when using the explicit authentic

Re: [gdal-dev] 503 Errors when accessing Public Datasets on Google Cloud Storage with automatic auth

2019-10-16 Thread Even Rouault
Hi, did you try with Google gsutil tool ? Anyway as it is a public resource that doesn't require any signing, you could just use /vsicurl/https://storage.googleapis.com/gcp-public-data-sentinel-2/tiles/29/T/ NE/S2B_MSIL1C_20170719T112119_N0205_R037_T29TNE_20170719T112511.SAFE/GRANULE/ L1C_T29TN

[gdal-dev] 503 Errors when accessing Public Datasets on Google Cloud Storage with automatic auth

2019-10-16 Thread Christoph Paulik
Hi, When doing a few requests to the Sentinel 2 bucket of Google ( https://cloud.google.com/storage/docs/public-datasets/sentinel-2) we have been getting 503 Responses when using the automatic authentication. See the end of this email for the full output. This behavior goes away when using e.g. t

Re: [gdal-dev] C# bindings for (fast) reproject, resample, and send to DB

2019-10-16 Thread mladen-g
Hello, Can you be more specific about what steps you are suggesting I take, and how that would improve performance? Are you saying that gdalwarp-ing to gpkg is more performant than writing to VRT? I looked at the geopackage docs and it seems that all results are encoded as ARGB, so in th

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Alan Snow
Ah, then that definitely won't work with conda-forge. Thanks for pointing that out. On Wed, Oct 16, 2019, 3:02 AM Even Rouault wrote: > On mardi 15 octobre 2019 19:06:15 CEST Alan Snow wrote: > > Hi Brandon. > > > > I would recommend opening up an issue on the conda-forge feedstock: > > https://

Re: [gdal-dev] Adding The DWG Driver to ogr2ogr?

2019-10-16 Thread Even Rouault
On mardi 15 octobre 2019 19:06:15 CEST Alan Snow wrote: > Hi Brandon. > > I would recommend opening up an issue on the conda-forge feedstock: > https://github.com/conda-forge/gdal-feedstock Do you realize that the DWG driver requires a proprietary (& non-gratis) SDK ? The alternative is the CAD