[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    RE: [postgis-users] C++ App to POSTGIS
From:       Nick Ton <nton () photon ! com>
Date:       2003-05-29 16:27:55
Message-ID: C567A5E72D82184AA30532376D28160A02210B () hal2 ! photon ! com
[Download RAW message or body]


Hi Paul,

Thanks for the reply. I guess I should post this for 
anyone else who is interested. Apparently, GBorg
has revamped their C++ postgres API to the new
libpqxx. Apparently, there were "fundamental"
problems with the libpq++ API so they started from
scratch.

I just tried it out. I had a really hard time
linking to their shared object library, so I
resorted to linking to the static version of the
API.

Although, libpqxx seems to do what I want, I think I will
try the OGR postgis connector, it seems to offer more data
structures that are inline with how PostGIS and the OpenGIS
community works.

Thanks Again,
Nick



-----Original Message-----
From: Paul Ramsey [mailto:pramsey@refractions.net]
Sent: Wednesday, May 28, 2003 11:00 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] C++ App to POSTGIS


Use the PostgreSQL C++ libraries. They are documented in the PostgreSQL 
documentation at the postgresql.org site.

On Wednesday, May 28, 2003, at 06:11 PM, Nick Ton wrote:

> I was wondering if I were to create a C++ application to
> connect to PostGIS, do I use libpqxx (a C++ API to connect to Postgres)
> or do I use the postgis C libraries to do such thing? If so where
> can I find documentation about the functions available to call?

      Paul Ramsey
      Refractions Research
      Email: pramsey@refractions.net
      Phone: (250) 885-0632


_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic