[Gdal-dev] GDAL and C

André Vinícius dos Santos andrevi at atlas.ucpel.tche.br
Fri Sep 19 08:21:24 EDT 2003


Very Thanks Frank !

I´ll look with more attention to tutorial.
Great tips!
I apologize because my English errors, but I am studing this language!

André Vinícius dos Santos
Pelotas,  RS, Brasil


----- Original Message ----- 
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: <gdal-dev at remotesensing.org>
Sent: Friday, September 19, 2003 12:44 AM
Subject: Re: [Gdal-dev] GDAL and C


> André Vinícius dos Santos wrote:
> > Thanks Frank!
> > But, do you know how I can to open a geotiff image on C ?
> >
> > André Vinícus
>
> Andre,
>
> Yes:
>
> #include "gdal.h"
>
> int main()
>
> {
> GDALDatasetH hDS;
>
> GDALAllRegister();
>
> hDS = GDALOpen( "abc.tif", GA_ReadOnly );
> }
>
> I really think you need to look at the tutorial material for GDAL
> programming, the C API reference docs, gdal_translate.cpp, and gdal.h
> before asking more general questions.
>
> Best regards,
>
> -- 
> ---------------------------------------+----------------------------------
----
> I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev





More information about the Gdal-dev mailing list