[Gdal-dev] GDAL bindings for C#
Howard Butler
hobu at iastate.edu
Mon Oct 10 12:29:46 EDT 2005
The C# bindings for GDAL that exist in the 1.3.1 distribution and CVS
do not have SWIG typemaps. This means that they are
incomplete. They do compile and are somewhat usable in their current
form for doing things like format translation, etc.
For the C# bindings to be complete, a highly motivated developer
willing to jump into .NET PINVOKE and SWIG typemaps will need to
write some typemaps to follow the other GDAL language bindings. This
is a challenging but not unpossible task.
Java bindings are in a similar boat, although there isn't really a
build system in place for those like there is for .NET. Again,
someone who is highly motivated to write some JNI and SWIG typemaps
is needed to bring these up to the level of the other languages.
Currently, GDAL/OGR next-gen bindings development has these language champions:
Ruby - Charlie Savage
Perl - Ari Jolma
Python - Frank, Kevin, and myself
PHP - Kevin (these are incomplete at this point but Kevin has made a
lot of headway)
For your pet (SWIG-supported) language to have complete bindings, it
needs to have a language champion who is willing to do the
language-specific mappings between GDAL and the native language using
SWIG typemaps and the framework that Kevin, Frank, and others have developed.
Howard
At 11:09 AM 10/10/2005, Ethan Alpert wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C5CDB4.F132A04A"
>
>
>I don't know about current efforts for C# specificallyl but GDAL
>1.3.1 comes with SWIG bindings for perl,ruby and python. You could
>use these as examples to generate a SWIG wrapper for C#.
>
>-e
>-----Original Message-----
>From: gdal-dev-bounces at lists.maptools.org
>[mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Luc Van Asch
>Sent: Monday, October 10, 2005 2:25 AM
>To: gdal-dev at lists.maptools.org
>Cc: Joeri Robbrecht; Bart Cosyn
>Subject: [Gdal-dev] GDAL bindings for C#
>
>Good morning list,
>
>I'm brandnew to this list, so forgive me if this question might be outdated.
>
>I'm working on a project for managing all kinds raster data in an
>ESRI ArcObject environment.
>
>Since ArcObjects has only a limited capacity for wrting raster
>formats (Erdas IMG, TIFF and
>some generic/ESRI formats), I'm very interested in the GDAL
>conversion capabilities.
>However, my project is written in .NET (C#), so I'm wondering how
>far the various efforts in
>porting GDAL to C# actually are.
>I've seen some code on this, but no real packages or builds.
>
>So, if anyone can point me to the most recent developments, I'll
>take a look at it and try to contribute...
>
>Best regards and thank you,
>
>Luc
>_______________________________________________
>Luc Van Asch
>Informaticus
>Lijn Geografische Data Infrastructuur - Faciliteiten
>
>VLM-Ondersteunend Centrum GIS Vlaanderen
>Gebroeders Van Eyckstraat 16
>9000 Gent
>Alg. tel: 09/261.52.00
>Direct tel: 09/261.52.15
>Mobile: 0499/258025
>fax: 09/261.52.99
><mailto:luc.vanasch at vlm.be>Mailto:luc.vanasch at vlm.be
>http://www.gisvlaanderen.be
>
>
>-------------------------------------------------------------
>VLM disclaimer :
><http://www.vlm.be/Help/disclaimer.htm>http://www.vlm.be/Help/disclaimer.htm
>
>_______________________________________________
>Gdal-dev mailing list
>Gdal-dev at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/gdal-dev
More information about the Gdal-dev
mailing list