Re: [gdal-dev] Cannot find proj.db

2023-03-30 Thread Chris Smemoe via gdal-dev
Elena, I have had this same problem. We have a few methods of setting the location of the proj.db file. When we call from C++ (or from python), there’s a function called OSRSetPROJSearchPaths that’s handy. If you’re calling from a command line, you could try setting your environment variable

Re: [gdal-dev] Command line /python syntax differences

2022-11-02 Thread Chris Smemoe via gdal-dev
Jonas, I think your formatting of the arguments is not correct. There are lots of ways to do what you need to do. You can just use your commandline options directly in the python gdal.Translate options or you can call gdal_translate directly using the python subprocess.call command. There

[gdal-dev] Issue defining compound projection with a local projection for GeoTIFF

2022-06-08 Thread Chris Smemoe via gdal-dev
I'm not sure whether this is a bug or some issue with how I'm doing things (like maybe my WKT is bogus), but when I try to define a compound projection for a GeoTIFF with a local projection, the vertical projection information does not get saved to the GeoTIFF and I get an error reported from PROJ.