Re: [gdal-dev] gdal_translate clip PostGIS raster

2021-05-11 Thread Andreas Oxenstierna
Tested with: 1 … table=rastertable WHERE=rid>0" dest.tif Returns: WHERE=rid>0 has no raster bands 2 … table=rastertable WHERE=rid=1" dest.tif Returns: a valid but empty tif file 3 … table=mailto:andreas.oxenstie...@t-kartor.com> www.t-kartor.com On 11 Ma

Re: [gdal-dev] Call for discussion on RFC 81 (was Re: Support for coordinate epoch of dynamic CRS)

2021-05-11 Thread Nyall Dawson
On Tue, 11 May 2021 at 00:00, Even Rouault wrote: > > I've formalized that work as a RFC : https://github.com/OSGeo/gdal/pull/3827 > > Le 10/05/2021 à 13:38, Even Rouault a écrit : > > Hi, > > > > for those not actively tracking github pull requests, I wanted to > > point at https://github.com/OSG

Re: [gdal-dev] Misaligned Geotiff/MrSid

2021-05-11 Thread Brandon Boldenow
This is a custom software build, so it's my own making. But you're right, I think I have my projections messed up. Thanks for pointing me in the right direction. Hopefully it'll help me sort it all out. On Tue, May 11, 2021 at 1:50 PM Even Rouault wrote: > ok, so the 2 layers are not in the same

Re: [gdal-dev] Misaligned Geotiff/MrSid

2021-05-11 Thread Even Rouault
ok, so the 2 layers are not in the same projection, nor in the same datum. You didn't mention which software does the overlay between the 2 layers, and what was the amount of shift you observed. Software based on recent PROJ versions will typically apply HPGN grids to do NAD83 to WGS 84 coord

Re: [gdal-dev] Misaligned Geotiff/MrSid

2021-05-11 Thread Brandon Boldenow
Sorry for not including this earlier, let me know if you need anything else: Info Geotiff: Driver: GTiff/GeoTIFF Size is 16855, 12232 PROJCS["Lambert Conformal Conic", GEOGCS["NAD83", DATUM["North_American_Datum_1983", SPHEROID["GRS 1980",6378137,298.257222101004, AUTHORITY["EPSG","7019"]], AUTHO

Re: [gdal-dev] Misaligned Geotiff/MrSid

2021-05-11 Thread Even Rouault
Brandon, The output of gdalinfo on 2 misaligned rasters would be more telling. Even Le 11/05/2021 à 20:22, Brandon Boldenow a écrit : Hi All, I've been having an issue where VFR Raster Sectionals (from faa.gov ) and MrSid imagery are misaligned when compared to my other rast

[gdal-dev] Misaligned Geotiff/MrSid

2021-05-11 Thread Brandon Boldenow
Hi All, I've been having an issue where VFR Raster Sectionals (from faa.gov) and MrSid imagery are misaligned when compared to my other raster layers.In other software these appear correctly, so I figure there must be something I'm doing wrong, but I haven't been able to figure it out. Do you kno

[gdal-dev] QGIS compiled agains GDAL 3.3.0 crash opening a project

2021-05-11 Thread Pedro Venâncio
Hi, Sorry for the cross posting, but after updating QGIS from OSGeo4W testing, for a version compiled against GDAL 3.3.0, I'm getting a crash opening a project that works fine in QGIS compiled against GDAL 3.2.2. Here is a sample project: https://cld.pt/dl/download/85e3df31-1f7d-4826-96f6-3533328

Re: [gdal-dev] Python Binding Searching for Legacy Libgdal Shared Object File

2021-05-11 Thread Even Rouault
Conor, It is likely that your GDAL python bindings need recompiling and/or your native GDAL library and/or you are using an older GDAL python bindings and/or native library than the one you think you are using. Even Le 11/05/2021 à 17:22, Conor McIndoe a écrit : Hi all, I’ve just tried to

[gdal-dev] Python Binding Searching for Legacy Libgdal Shared Object File

2021-05-11 Thread Conor McIndoe
Hi all, I’ve just tried to use the gdal python bindings for the first time in a couple of months and have been met with >> from osgeo import gdal ImportError: liberal.so.26: cannot open shared object file: No such file or directory Which, I believe, is a legacy .so file. I’m running this on Ar