0.0)
Lower Right ( 4800.0, 6000.0)
Center ( 2400.0, 3000.0)
Band 1 Block=4800x1 Type=Byte, ColorInterp=Gray
1. I want to know that when I should use '-ot Byte ' and when use ' -ot UInt16
'?
2. when I use -ot UInt16 ',Must I perform histogram equalization on it?
wei
I download a elevation data (SRTM,GTOPO30) from
http://glcfapp.glcf.umd.edu:8080/esdi/index.jsp
use
gdal_translate -b 1 -of PNG -ot Byte source.tif des.png
and
gdal_translate -b 1 -of PNG -ot UInt16 source.tif des.png
differently,
with parameter 'UInt16',I get a black picture,with Byte,get a
Hi,
I have 6 .tif files,and want to get a JPEG file or a tif file.
How to realize it with command gdal_translate?
Thk u in advance.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
I use the following code to read data from a geotiff file and do some
computing and write it into
a new one.the bands number is 6; ...
GDALDataset *poSrcDS,*poDstDS;//poSrcDs:the source file,poDstDS:the goal
source GDALRasterBand *poSrcBand,*poDstBand;//poSrcBand:the source
band,poDstBand:the
holeRaster(
>GDALDatasetH hSrcDS, GDALDatasetH hDstDS, char **papszOptions,
>GDALProgressFunc pfnProgress, void *pProgressData );
>
>Le Sunday 11 April 2010 08:32:51 weixj2003ld, vous avez écrit :
>> I use the following code to read data from a geotiff file and write it into
>&
I use the following code to read data from a geotiff file and write it into a
new one.the bands number is 6;
...
GDALDataset *poSrcDS,*poDstDS;//poSrcDs:the source file,poDstDS:the goal source
GDALRasterBand *poSrcBand,*poDstBand;//poSrcBand:the source band,poDstBand:the
goal band
GDALDriver *
I have two base question:
1.the satellte photo height map file is always dem file?and the number of it is
always 1?
2.Now I download 7 bands goetiff file,how to translate them into a RGB picture
with GDAL?___
gdal-dev mailing list
gdal-dev@lists.osgeo.o
Where could I download DEM data,please give me a web address..
Thanks for help in advance.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
I use the following code to read data from a geotiff file and write it into a
new one.the bands number is 6;
...
GDALDataset *poSrcDS,*poDstDS;
GDALRasterBand *poSrcBand,*poDstBand;
GDALDriver *poDstDriver;
double *m_AdGeoTransform=new double[6];
...
poDstDriver=GetGDALDriverManager()->GetDriver
Int16.Only eight bit' and sixteen bit
bands supported.Defaulting to Byte.
2.When I use 'gdal_translate -b 1 -of JPEG old.img new.jpg',the error 'JPEG
doesn't support data type Int16. Only eight and twelve bit bands supported'
happy every day.
>weixj2003ld wrote:
Thk u very much.
I have two questions.
1.If I want to use the following combination,
Red=Band3
Green=Band2*0.8+band4*0.2;
Blue=band1
2. what is the general combination for good look jpeg file?
>weixj2003ld wrote:
>> I read a geotiff file, and find that
>> poBand->GetColorTa
I read a geotiff file, and find that
poBand->GetColorTable()==NULL
But I use ERDAS IMAGINE9.2 (a software that deal with geotiff), I find that it
is not grey,but I use "gdal_translate -b 6 -of JPEG old.tif net.jpg", find that
is is grey.
why?
Thk u.___
1.I use GDAL to read a DEM file,and its extension is .img ,what other
extensions for DEM file?
2.When I reand a geotff file and a dem file,I find that the dfference between
them as follows:
CreateCopy(). is will
create a file that contains all the things.
Kind regards.
Please refer to http://www.gdal.org/gdal_tutorial.html
2010/4/6 weixj2003ld
I read data from a DEM file, and want to create a .png .Now I have read data,
but I do not know how to create a png file that contains
I read data from a DEM file, and want to create a .png .Now I have read data,
but I do not know how to create a png file that contains the height map value
of each point from the DEM file.
Thk u.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://
Now,I can read data from a DEM file into an array,but I do not know how to use
it to create a png file?
Thk u.
BTW,Some one tell me that freeimage can do it,but I do not know.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/ma
I read a .tif file ,and use the following code to get the MinX,MinY,MaxX and
MaxY of the coordation of the tif image.
...
double *m_AdGeoTransform=new double[6];
poDataset->GetGeoTransform(AdGeoTransform);
nX=poDataset->GetReasXsize();
nY=poDataset->GetReasYsize();
MinX=AdGeoTransform[0];
MinY=A
Hi,
Now I have a dem file (.img),I want to read it with gdal,how to do?I find that
gdal only read ascii dem,what is means?
Thk u in advance.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi,
I open two files,and they have the same bands number(that is ,6),one is .img
,the other is .tif.Now,I find that the .img file is almost red,and the .tif
file is grey.
I want to display it in colorful, for example,grass is green,water is
blue,etc.What should I do with GDAL?
Kind regards.
Hi
Could you tell me some open source softwares(base on windows) that can display
geotiff files in 3D mode not in 2D mode?
wei___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi,how to convert a geotiff file to a jpg file?
BTW,I read two .tif files.and to get the count of raster through
getRastercount().one is 3 and the other is 6,what is means of 3 and 6?
Thk u in advance.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
h
1. How could I get the x and y of world coordinate ,or the longitude and the
latitude of it by GDAL?
2. How could get the height of it with GDAL?
Thk u in advance.___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinf
Hi,
Now,I have a .tif file(it is a satallite photo),How to get the heightmap of it?
Kind regards.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi,
Now,I have a .tif file(it is a satallite photo),How to get the heightmap of it?
Kind regards. ___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi,
1.I get a satellite photo file,and its extention is .tif,and how get the
(x,y,z) and the value of each poiont?
2.Could you tell me the article which introduces the format of satellite photo
file in detail?
3.Is tif the only format of satellite photo file?
Best regards.
Wei
__
1.I am a newer to gdal,I want to know that can gdal and ogre3d be integrated?
2.How could I get the value of (x,y,z) of the Satellite photos file through
gdal?
Kind regards.
Wei___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/m
Hi,
I want to display satellite photos in my program(developmented by
Qt+VC2005),Must I use GDAL(Does it only read/write geotiff data?)+QSIS(does it
only display geotiff data?)?
Must I compile QGIS from scratch?
Kind regards?
___
gdal-dev mailing list
Hi,
1.I know that OpenEv can display satellite photos,what other opensource
software can display it?
2.what is the main format of satellite photos?such .tif,what other?
Kind regards.
Wei
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osg
Hi,
Thank you for your answer.
I want to know how to display the picture file which GDAL generates,that
is,Does GDAL only generate RASTER or VECTOR file and not display it?
Kind regards.
网易历六年耗亿资打造,3D国韵网游《天下贰》,免费领光盘___
gdal-dev mailing list
gdal-de
29 matches
Mail list logo