HI,
I am new to this and was asked if I could insert a custom tag into the
geotiff header. I have no clue on how to do this is this even possible?
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Insert-non-standard-tag-into-geotiff-header-tp6436732p6436732.html
Sent f
Thanks, GDALCopyWords was what I was looking for
Thanks
Chris
On Fri, Jun 3, 2011 at 12:39 PM, Even Rouault
wrote:
> Le vendredi 03 juin 2011 12:32:16, Goo Creations a écrit :
> > Ah, thanks. This solved the problem.
> > I however face the problem that I don't know which data type the image
> h
Le vendredi 03 juin 2011 12:32:16, Goo Creations a écrit :
> Ah, thanks. This solved the problem.
> I however face the problem that I don't know which data type the image has.
> So I can't hardcode the array to unsigned short, since it might sometimes
> be a int32 or even a float. So is there a way
Ah, thanks. This solved the problem.
I however face the problem that I don't know which data type the image has.
So I can't hardcode the array to unsigned short, since it might sometimes be
a int32 or even a float. So is there a way to do this in a generic way?
Chris
On Fri, Jun 3, 2011 at 12:21
Le vendredi 03 juin 2011 12:13:41, Goo Creations a écrit :
> Hi all
>
> I have a strange problem when writing to a GDAL dataset. I'm currently
> doing the following:
>
> *GDALDataset *mInputDataset = (GDALDataset*) GDALOpen("in.tif",
> GA_ReadOnly);
> GDALDataType type = mInputDataset->GetRasterB
Hi all
I have a strange problem when writing to a GDAL dataset. I'm currently doing
the following:
*GDALDataset *mInputDataset = (GDALDataset*) GDALOpen("in.tif",
GA_ReadOnly);
GDALDataType type = mInputDataset->GetRasterBand(1)->GetRasterDataType();
int mWidth = mInputDataset->GetRasterXSize();