Hi Jukka,
from what I can see in
https://github.com/OSGeo/gdal/commit/b5128c1ff3ac6ad44b225284f5be1f728840e7b3,
this dates back to almost 20 years ago when SetGCPs() was initially
implemented. And at that time, PAM didn't exist yet in GDAL :-)
Please create a ticket about (and mention SetGeo
Hi,
I tried to add ground control points into a TIFF file with gdal_edit. I do not
want to touch the TIFF so I used the read-only option and supposed that gcp
would be written into .aux.xml file but that did not happen. Instead I got a
message
gdal_edit -ro -gcp 1 1 20 30 test.tif
ERROR 6: tes
-
Lähettäjä: Even Rouault
Lähetetty: 1. lokakuuta 2017 22:54
Vastaanottaja: gdal-dev@lists.osgeo.org
Kopio: Rahkonen Jukka (MML)
Aihe: Re: [gdal-dev] Gdal_edit and TIFFTAG_EXTRASAMPLES
Updates:
1) I've improved the GTiff driver to support updating
Updates:
1) I've improved the GTiff driver to support updating color interpretation in
udpate mode
2) I've improved gdal_edit to support a
-colorinterp_X red|green|blue|alpha|undefined option where X is the band
number.
3) I've fixed "tiffset -s ExtraSamples 1 val" to work (the issue was specif
On samedi 30 septembre 2017 21:01:57 CEST Rahkonen Jukka (MML) wrote:
> Hi,
>
> I have been searching an easy way to change the interpretion of 4-channel
> images between RGBA and RGB+undefined. Wouldn't if be useful to make
> gdal_edit to support also changing the TIFFTAG_EXTRASAMPLES metadata? O
Hi,
I have been searching an easy way to change the interpretion of 4-channel
images between RGBA and RGB+undefined. Wouldn't if be useful to make gdal_edit
to support also changing the TIFFTAG_EXTRASAMPLES metadata? Or do we have some
other easy way for performing that task?
-Jukka Rahkonen-
Yes, that looks good.
But also adapting the pages that use -co NAME=VALUE
- such as http://www.gdal.org/gdal_translate.html
-co "NAME=VALUE":
Passes a creation option to the output format driver. Multiple
-co options may be listed. See format specific documentation for
legal creation options for
Mark,
I've tried to incorporate your feedback in this changeset:
@@ -173,6 +173,16 @@
the PROJ, DATUM or UNITS with SetMetadataItem(), the later values will
override the values
built from the projection string.
+All those can for example be modified with the -a_ullr, -a_srs or -mo switches
+
While writing this, I figured put most of the problems, so this note will
be more about suggestion in making the documentation more usable.
I am going to receive an amount of ecw files that, for whatever reason, do
not contain the georeferenced information.
For the first image received, gdalinfo
Selon Jukka Rahkonen :
> Hi,
>
> I noticed that when I tried to add one TIFFTAG metadata item with
> gdal_edit.py by using the -mo option it wrote my new metadata and wiped away
> all the existing TIFFTAG metadata. For the desired result I had to give the
> whole list of metadata tags with repeate
Hi,
I noticed that when I tried to add one TIFFTAG metadata item with
gdal_edit.py by using the -mo option it wrote my new metadata and wiped away
all the existing TIFFTAG metadata. For the desired result I had to give the
whole list of metadata tags with repeated -mo options. Is this intentional
Hello,
This utility program is very useful to change georeferencing of a raster
without having to decompress and recompress it. It is a lot faster and
the quality is not changed.
I think it would deserve to be an official GDAL 1.10 command, not just a
Python sample.
Jean-Claude
__
12 matches
Mail list logo