Ah, awesome - thanks as ever for such great detail.
I've been trying with PYTHONPATH and sys.path, and I think I was doing it
wrong ... but the simplicity of the /usr prefix had not occurred to me,
I'll be doing that.
If I come back around with further insights I'll share them, but this is
work
Michael,
My experience is that understanding how and where to install Python
stuff is utterly difficult. And this is even more complicated on
Debian/Ubuntu that have many patches regarding sys.path and distutils,
plus the fact that distutils is deprecated and going to be removed in
Python 3.1
Hello, apologies as this is not so much a GDAL but a python question, but
I'm interested in what others do, hopefully I'm missing a key step that's
not hacky :)
I made a gist to record the details:
https://gist.github.com/mdsumner/526af876cfddaa5ff245ab376b3cec84
The crux is, GDAL has placed th
On Wednesday, 8 March 2023 6:53:17 AM AEDT Raivo Rebane wrote:
> I studied and asked from https://chat.openai.com/chat how to read
> multiband raster image, but I did'nt find anywhere how to rread from
> tiff file next frame or ortofo bands
>
> Please ask me if it's possible
It is possible. See h
On 07/03/2023 17:11, Even Rouault wrote:
Le 07/03/2023 à 17:08, Edzer Pebesma a écrit :
Thanks, Even!
I was after the units of the horizontal coordinates; GetLinearUnits()
returns "unknown" for EPSG:4326 and, according to the docs returns the
units of the vertical coordinate in 3D CRS (did
Hi
I am novice in using of GDAL.
I studied and asked from https://chat.openai.com/chat how to read
multiband raster image, but I did'nt find anywhere how to rread from
tiff file next frame or ortofo bands
Please ask me if it's possible
Regards
Raivo
___
Hi,
I have prepared a GDAL/OGR 3.6.3 release candidate.
Pick up an archive among the following ones (by ascending size):
https://download.osgeo.org/gdal/3.6.3/gdal-3.6.3rc1.tar.xz
https://download.osgeo.org/gdal/3.6.3/gdal-3.6.3rc1.tar.gz
https://download.osgeo.org/gdal/3.6.3/gdal363rc1.z
Hi
There was problem in libraries.
VIsual Studio seeks firstly PostGIS libraries what is older ones
Now I set Firstly seek from separately installed GDAL libraries.
But conflict in twice installed PROJ packages exist.
So, I cant use PROJ package functions.
Can anybody helps me ?
Regards
Ra
Le 07/03/2023 à 17:08, Edzer Pebesma a écrit :
Thanks, Even!
I was after the units of the horizontal coordinates; GetLinearUnits()
returns "unknown" for EPSG:4326 and, according to the docs returns the
units of the vertical coordinate in 3D CRS (didn't check). So what I
now use is GetAttrVal
Thanks, Even!
I was after the units of the horizontal coordinates; GetLinearUnits()
returns "unknown" for EPSG:4326 and, according to the docs returns the
units of the vertical coordinate in 3D CRS (didn't check). So what I now
use is GetAttrValue("UNIT", 0) (which returns "degree" for EPSG:43
Edzer,
if you change your code to use GetLinearUnits() it will work:
#include
#include
#include
int main()
{
OGRSpatialReference *srs = new OGRSpatialReference;
int epsg = 3031;
srs->importFromEPSG(epsg);
const char* unit = "";
srs->GetLinearUnits(&unit);
std::cout <<
I switched getting coordinate units from the expanded proj4string
representation to GetAttrValue("UNIT", 0), but failed; try
#include
#include
#include
int main()
{
OGRSpatialReference *srs = new OGRSpatialReference;
int epsg = 3031;
srs->importFromEPSG(epsg);
On Tue, 7 Mar 2023 at 09:32, Raivo Rebane wrote:
>
> I minimized the program :
>
> #include
> #include
> #include
> #include
>
> int main()
> {
> GDALAllRegister();
> GDALDataset* dataset =
> static_cast(GDALOpen("634632_2012_tava.tiff", GA_ReadOnly));
> GDALClose(dataset);
>
>
Hi again
I minimized the program :
#include
#include
#include
#include
int main()
{
GDALAllRegister();
GDALDataset* dataset =
static_cast(GDALOpen("634632_2012_tava.tiff", GA_ReadOnly));
GDALClose(dataset);
return 0;
}
but it gives the same errors ?
If I remove
#includ
14 matches
Mail list logo