Changes between Version 22 and Version 23 of GdalOgrInCsharp


Ignore:
Timestamp:
Apr 7, 2021, 1:27:15 AM (22 months ago)
Author:
Even Rouault
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInCsharp

    v22 v23  
    22= GDAL/OGR In CSharp =
    33
    4 The GDAL project (primarily Tamas Szekeres) maintains SWIG generated CSharp bindings for GDAL and OGR.  Generally speaking the classes and methods mostly match those of the GDAL and OGR C++ classes, but there is currently no CSharp specific documentation beyond this site.  The CSharp bindings are also usable from other .NET languages, such as VB .Net.
    5 
    6 The CSharp interface has been build upon a common ground as the other SWIG generated wrappers (like Perl, Python, Java, PHP and Ruby). In this regard the class names and class member names along with the method signatures are driven by the GDAL+SWIG conventions, and might not follow the conventional .NET naming guidelines. However, one can easily identify the matching members in the GDAL/OGR API documentation.
    7 
    8 The GDAL/OGR CSharp classes use the .NET ''P/Invoke'' mechanism for the communication between the managed and unmanaged code. Every class implements the ''IDisposable'' interface to control the finalization of the underlying unmanaged memory referenced by every the wrapper class.
    9 
    10 == Supported platforms ==
    11 
    12 Currently the interface is compilable and supports the various Win32 and Win64 platforms targeting the Microsoft.NET and the MONO frameworks. The interface is also compilable under the GNU Linux/OSX systems for the MONO framework. The compilation steps for the various platforms have been added to the [http://buildbot.osgeo.org:8500 GDAL buildbot] and tested regularly.
    13 
    14 == Related Documents ==
    15 
    16  * [http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpVersions GDAL/OGR CSharp interface versions]
    17  * [http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpRaster GDAL/OGR CSharp Raster Operations]
    18  * [http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpCompile GDAL/OGR CSharp Compilation]
    19  * [http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpUsage Using the GDAL/OGR CSharp interface]
    20 
    21 == Useful Links ==
    22 
    23  * A variety of example programs in CSharp are available at the [http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/csharp/apps /swig/csharp/apps] folder of the GDAL project tree.
    24  * This project make images tiles (Superoverlay method) for Google Earth[http://www.codeplex.com/gdal2tilescsharp GdalToTiles C#]
    25 
    26 == FWTools ==
    27 
    28 One way to get the CSharp bindings is to use FWTools 1.2.0+ for windows.  To use these it should be sufficient to add the assemblies in FWTools\csharp to your project, and to ensure that FWTools\bin is in your path.  See [http://fwtools.maptools.org FWTools: Open Source GIS Binary Kit for Windows and Linux]
    29 
    30 == Windows Build SDKs ==
    31 
    32 Tamas Szekeres maintains [http://www.gisinternals.com/sdk build SDK packages] in order to compile GDAL from the sources on Windows. The build system provides daily build binary packages for the latest stable and development versions.
     4Content migrated to https://gdal.org/api/csharp.html