GDAL raster GIS libraries

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
Post Reply
wergosum
Posts: 6
Joined: Jan 03, 2011 15:41

GDAL raster GIS libraries

Post by wergosum »

Hello the experts

I searched the whole forum to see if anyone uses GDAL libraries... but couldn't find anyone. I got good help to use one of the programmes from the library to extract values for specific coordinates from a geotiff or other GIS format "images" through a console pipe to execute

gdallocationinfo -valonly -wgs84 weatherrasterfile 127.23 39.42

This works, but is terribly slow. When doing this operation inside a GIS (I use QGIS), it is lighting fast...

The GDAL website has a lot of downloadable stuff for Debian and Ubuntu (I use Mint)

https://packages.debian.org/cgi-bin/sea ... elease=all

and QGIS has installed a number of "gdal libraries" that come by the names gdal-bin, libgdal1, libgdal20. I assume it should be possible to use those rather than downloading other ones.

Questions... if someone knows or has some time

(1) how can one know what's "inside" a library
(2) how do I tell my FB programme?
(3) how do I call the functions inside the library

Many thanks if someone can help...

Wergosum
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: GDAL raster GIS libraries

Post by D.J.Peters »

You have to translate the C-API headers *.h to FreeBASIC include files *.bi

http://www.gdal.org
http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries

Joshy
Post Reply