Re: Re :[gdal-dev] How to use GDAL Library

2009-03-31 Thread Jürgen E . Fischer
Hi, [what's your firstname btw?] On Tue, 31. Mar 2009 at 06:01:51 -, Ajmeri Iqbal wrote: > shell i continue with C-api or build GDAL library with MinGW and use C++-api? http://trac.osgeo.org/gdal/wiki/FAQMiscellaneous#CAPIvsCAPI: > If you intend writing code using GDAL/OGR that will not requ

Re :[gdal-dev] How to use GDAL Library

2009-03-30 Thread Ajmeri Iqbal
Thanks Jürgen.i recoded with C-api and working fine.but now i have confusion about functionality of C-api and C++-api.shell i continue with C-api or build GDAL library with MinGW and use C++-api?On Mon, 30 Mar 2009 15:55:18 +0200 Jürgen E. Fischer wroteHi,On Mon, 30. Mar 2009 at 13:22:46 -,

Re :Re: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Ajmeri Iqbal
hi,following is my code.GDALDataset *poDataset;GDALAllRegister();poDataset = (GDALDataset *) GDALOpen( pszFilename, GA_ReadOnly );if( poDataset != NULL ){double adfGeoTransform[6];qDebug()<<"Driver: "<GetDriver()->GetDescription()<GetDriver()->GetMetadataItem   ( GDA

[gdal-dev] How to use GDAL Library

2009-03-30 Thread Jürgen E . Fischer
Hi, On Mon, 30. Mar 2009 at 13:22:46 -, Ajmeri Iqbal wrote: > D:/QT_Projects/ImageRW/main.cpp:34: undefined reference to > `GDALDataset::GetRasterCount()' Are you using the C++ API directly? That won't work from MinGW unless GDAL is also built with MinGW. The C-API will work. Jürgen --

Re: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Benoît Andrieu
: Monday, March 30, 2009 3:22 PM Subject: Re :Re: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library Hi, Thanks Benoît Andrieubea for your reply. you are right, there is no need any cpp file. but when i build the same code given in GDAL tutorial with QT Creator popups the following error

Re :Re: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Ajmeri Iqbal
Hi,Thanks Benoît Andrieubea for your reply.you are right, there is no need any cpp file. but when i build the same code given in GDAL tutorial with QT Creator popups the following error.g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -mt

Re: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Benoît Andrieu
ginal Message - From: Ajmeri Iqbal To: b...@ixsea.com Cc: gdal-dev@lists.osgeo.org Sent: Monday, March 30, 2009 11:06 AM Subject: Re :Re: Re :Re: [gdal-dev] How to use GDAL Library Hi, Actually i m working on Generic image reading/writing and display on viewer with all o

Re :Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Ajmeri Iqbal
Hi,Actually i m working on Generic image reading/writing and display on viewer with all of its information, so i think i need all listed library. but dont know how to use them in my code.i have downloded gdal_i.lib, gdal.dll and its include .h files..h files contains only the prototype function

Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-30 Thread Benoît Andrieu
...@ixsea.com benoit.andr...@gmail.com - Original Message - From: Ajmeri Iqbal To: b...@ixsea.com Cc: gdal-dev@lists.osgeo.org Sent: Friday, March 27, 2009 3:11 PM Subject: Re :Re: [gdal-dev] How to use GDAL Library Hi Benoît Andrieu, Thanks for reply. i already saw that

Re: Re :Re: [gdal-dev] How to use GDAL Library

2009-03-27 Thread Mateusz Loskot
Ajmeri Iqbal wrote: > Hi Benoît Andrieu, > Thanks for reply. > i already saw that tutorial, > but the problame is how to and which library to be linked using QT(most > probably same way of C/C++). > coz there is a three library named gdal16.dll, gdal_i.lib and gdal.lib. Sometimes it's a good idea

Re :Re: [gdal-dev] How to use GDAL Library

2009-03-27 Thread Ajmeri Iqbal
Hi Benoît Andrieu,Thanks for reply.i already saw that tutorial,but the problame is how to and which library to be linked using QT(most probably same way of C/C++).coz there is a three library named gdal16.dll, gdal_i.lib and gdal.lib.On Fri, 27 Mar 2009 11:33:42 +0100 Benoît Andrieu wroteHi, If

Re: [gdal-dev] How to use GDAL Library

2009-03-27 Thread Benoît Andrieu
- Original Message - From: Ajmeri Iqbal To: gdal-dev@lists.osgeo.org Sent: Friday, March 27, 2009 11:06 AM Subject: [gdal-dev] How to use GDAL Library Dear all, I want to use GDAL library in my project using QT. How could i use this library for Reading and writing the Raster images

[gdal-dev] How to use GDAL Library

2009-03-27 Thread Ajmeri Iqbal
Dear all,I want to use GDAL library in my project using QT.How could i use this library for Reading and writing the Raster images (i.e. JPEG,JPEG200,TIFF,GeoTiff,BMP,PNG,GIF, etc)please help me.Thanks in advance___ gdal-dev mailing list gdal-dev@lists.o