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), theres a
function called OSRSetPROJSearchPaths thats handy. If youre calling from
a command line, you could try setting your environment variable
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
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.
Sergey,
As far as I know, there are no functions like that in GDAL. Perhaps those
functions could be added to the API. I'd recommend posting the question to
gis.stackexchange.com and try to get an answer there. I have some rather
complicated code I use to determine if I'm in state plane coordin
Nick,
That's lots of info and questions. Just from a quick overview, it looks
like you need to set your ground control points to the correct lat/lon
coordinates (or whatever coordinate system you want to use) and you also
need to set your image's projection. You can do both of these with the
Arno,
I suspect the black lines has something to do with using the -projwin
argument to gdal_translate along with the DataWindow tag information in the
XML file. The following XML works fine for me with the following command
line: "gdal_translate wms.xml test.tif"
1.1.1
https://gis.a
Paulo,
Are you trying to convert a file with multiple bands (RGB or RGBA) to a file
with a single band and a color palette? One possible solution showing how
to do this using GDAL is shown on Stack Exchange at the following location:
https://gis.stackexchange.com/questions/246045/export-geotiff-