Giter Site home page Giter Site logo

ocaml-gdal's Introduction

OCaml GDAL and OGR bindings

This library provides access to the GDAL library (http://www.gdal.org/). It provides both direct, low-level access to GDAL and OGR library functions as well as a higher level, more OCaml-like interface.

The API is viewable here.

Using the bindings

Linking to the underlying GDAL library is performed at runtime. To initialize:

Gdal.Lib.init_dynamic ();

The init_dynamic function takes an optional ~lib argument which may be used to specify the specific shared object to link against. It defaults to libgdal.so.

ocaml-gdal's People

Contributors

hcarty avatar igarnier avatar whitequark avatar yallop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ocaml-gdal's Issues

it would be nice to have a stdlib-like hashtbl interface

Hi Hezekiah,
It would be nice to have a module which can be used as a drop-in replacement
for the stdlib Hashtbl module.
So that users can trivially switch from a small in-memory Hashtbl to a huge
on disk one.
Regards,
F.

super simple key-value store example

Hello,
Is it possible to use your bindings to implement a key-value store?
With both keys and values being strings.
I am looking for a super simple code example.
Thanks!

Broken on 32-bit systems

... because of this int literal in src/geometry.ml:

let int_of_wkb = function
  (*...*)
  | Point25D -> 0x80000001

Gdal.Driver.get_* may return NULL

A NULL result is not currently handled properly by the bindings. The bindings should either return an option or raise an exception if the driver name/id is invalid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.