GDAL core is mostly C++
but it is exposed thru a 'C' interface for stability reasons

e.g. the 'C API' is stable thru major releases whereas the
underlying implementation may change

 
On Mar 1, 2014, at 11:07 AM, Aaron Boxer <[email protected]> wrote:

> Thanks, Norman!  That is very useful. 
> I haven't decided yet whether to use C or C++ for the library language.
> Is the gdal core C or C++?  I am tending to C over C++, just for portability.
> But I want to avoid the spaghetti code I see in OpenJPEG.
> 
> Any comments on this?
> 
> Thanks again,
> Aaron
> 
> 
> On Sat, Mar 1, 2014 at 10:37 AM, Norman Vine <[email protected]> wrote:
> These should help
> 
> http://gdal.org/gdal_drivertut.html
> http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/openjpeg/openjpegdataset.cpp
> 
> On Mar 1, 2014, at 10:27 AM, Aaron Boxer <[email protected]> wrote:
> 
>> Hello,
>> 
>> I recently started developing an open source jpeg2000 compression library 
>> using opencl.
>> I would like to base the library design on the very successful gdal library 
>> design.
>> Can anyone recomend any resources to help me to grok the high level design 
>> of gdal?
>> 
>> Thanks so much,
>> Aaron
>> _______________________________________________
>> gdal-dev mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to