gdal2 ~master
Binding to GDAL library C interface.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Searching for a home
If you have the time and energy to maintain this repo, I'll give it to you. I'm not using D-lang very much anymore, and not at all with GDAL.
GDAL-2-Binding
D language binding to GDAL C interface
GDAL
The GDAL website is gdal.org and has a lot of documentation. When reading the documentation and tutorials, remember this binding was created for the C-API.
Update
Current binding is to GDAL 2.1.0.
Completeness
Currently the vast majority of the C-interface in gdal.h, ograpi.h, and ogrsrsapi.h, has bindings created. The virtual memory portion of the API has not had bindings created yet. If I had created bindings for these functions, it would have required a whole host of other header files be binded also, and the API was quickly growing larger than I want to maintain. gdalalg.h and gdal_utils.h still need bindings created.
The modules other than gdal and ogr were created to support the interface provided by gdal and ogr. As a result they may be incomplete, or they may be trimmed in future versions. The exception is the gdal.cpl.conv, which while it is incomplete provides bindings to CPLMalloc and CPLFree. CPLFree is necessary to free (usually) strings returned by some gdal functions.
Bugs
The most likely bugs will relate to the use of const
. The mapping from C to D is not so straightforward,
and so much of this was done by hand. The nothrow
and @nogc
function attributes have been added to all the
functions, but pure
has not been added in many places it could be. There are so many functions, this will be
addressed on an as needed basis.
Memory Management
Many of the GDAL functions require a supplied buffer. That buffer may be managed on the D garbage collected heap, via the standard malloc/free functions, or using CPLMalloc and CPLFree.
Operating Systems
When htod was run, it was done on a Windows system. Later, all the extern(Windows)
statements were
replaced with extern(System)
. GDAL is well written in terms of portability, but it has not been tested
as extensively on non-Windows operating systems.
- Registered by Ryan Leach
- ~master released 5 years ago
- rnleach/GDAL-2-Binding
- github.com/rnleach/GDAL-2-Binding
- MIT
- Copyright © 2016, Ryan Leach
- Authors:
- Dependencies:
- none
- Versions:
-
2.1.2 2017-Jan-14 2.1.1 2016-Dec-04 2.1.0 2016-Dec-02 1.0.1 2016-Nov-15 1.0.0 2016-Nov-15 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
57 downloads total
-
- Score:
- 0.0
- Short URL:
- gdal2.dub.pm