[postgis-users] How to access my postGis database by C/C++ script

Sandro Santilli strk at keybit.net
Wed Oct 19 04:09:24 PDT 2011


On Wed, Oct 19, 2011 at 08:59:40AM +0100, Eduardo Pascoal wrote:
> i'm newbie in this matter of postGis.
> 
> My primary goal is create an aplication to transform my database into CAD
> using wkb_geometry column.
> So, my first step is to know how to read an postgis database using C code.
> Using OGR Simple Feature Library is the correct way?

That's probably the most stable way.

Alternatively, if you feel hackish, you may want to try playing with
the new liblwgeom shipped with PostGIS 2.0 (in SVN).

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list