Re: [gdal-dev] Relation between PROJ8, GDAL, and national grids

2021-03-27 Thread Even Rouault
Juan Pedro, I'm at a loss trying to understand the relationship between PROJ8, GDAL, and how to use TIFF national grids. So far my findings are: - PROJ8 is installed and cs2cs uses the grid to transform, performing an extremely accurate shift; - GDAL, compile on the above PROJ8, when usi

[gdal-dev] Forget last message, I mess myself with shortcuts > PROJ8, GDAL, National grids

2021-03-27 Thread Juan Pedro Pérez Alcántara
Hi all, I'm at a loss trying to understand the relationship between PROJ8, GDAL, and how to use TIFF national grids PROJ8 data comes with. So far my findings are the following. PROJ8 is installed and cs2cs uses the grid to transform, performing an extremely accurate shift. GDAL, compiled on the

[gdal-dev] Relation between PROJ8, GDAL, and national grids

2021-03-27 Thread Juan Pedro Pérez Alcántara
Hi all, I'm at a loss trying to understand the relationship between PROJ8, GDAL, and how to use TIFF national grids. So far my findings are: - PROJ8 is installed and cs2cs uses the grid to transform, performing an extremely accurate shift; - GDAL, compile on the above PROJ8, when using gdaltrans

Re: [gdal-dev] gdalbuildvrt and band descriptions

2021-03-27 Thread Javier Jimenez Shaw
Thanks Even, very useful. I didn't check the parent class, GDALMajorObject, my fault. I use two sources (example for raster band): - https://gdal.org/doxygen/classGDALRasterBand.html where I have to click on the parent class(es), and study them recursively. Oh, now I realize that the small arrow

Re: [gdal-dev] gdalbuildvrt and band descriptions

2021-03-27 Thread Even Rouault
Javier, Le 27/03/2021 à 12:44, Javier Jimenez Shaw a écrit : Hi, Is there any way in C++ to set the band description? GDALMajorObject::Description() I know only SetColorInterpretation  that has a limited

Re: [gdal-dev] gdalbuildvrt and band descriptions

2021-03-27 Thread Javier Jimenez Shaw
Hi, Is there any way in C++ to set the band description? I know only SetColorInterpretation that has a limited number of options ( https://gdal.org/doxygen/gdal_8h.html#ace76452d94514561fffa8ea1d2a5968c) none of