[gdal-dev] gdal unresolved external symbol for"GDALFindAssociatedFile" and "GDALWriteRPBFile"

2020-11-27 Thread 张斌
Hi, I'm using GDAL 3.2.0 from http://www.gisinternals.com/. When I build my own program, it can not link successfully. Here is my code: " #include #include "gdal_priv.h" #include "gdal_mdreader.h" int main() { std::string pszFilename = R"(E:\datasets\MAR\18MAR10060250-P2AS-01278745102

[gdal-dev] Grep gdalinfo subdataset

2020-11-27 Thread 1520 gis
Hi all, I am trying to grep the SUBDATASET_X_NAME in gdalinfo. I only need the WCS:url If I grep the subdataset [1], the string slice "SUBDATASET_5_NAME" comes together. I would like to know if I can get only WCS:url by using any gdalinfo options. I tried running [2] , but no success. Is there a

[gdal-dev] Should a custom error handler (in Python) clear the last error?

2020-11-27 Thread Daniel Evans
Hello, In the Python bindings, after calling `gdal.UseExceptions()` trying something like an out-of-range raster read will raise an error like: [ ... traceback ... ] File "/home/jbanorthwest.co.uk/danielevans/venvs/farmcat3/lib64/python3.6/site-packages/osgeo/gdal_array.py", line 246, in _Ra