Re: C++ and Postgis

From: John R Pierce <pierce(at)hogranch(dot)com>
To: Pedro Doria Meunier <pdoria(at)netmadeira(dot)com>
Cc: PostGIS Users Discussion <postgis-users(at)postgis(dot)refractions(dot)net>, Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: C++ and Postgis
Date: 2009-11-23 21:51:16
Message-ID: 4B0B03D4.3080701@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pedro Doria Meunier wrote:
> Hi All,
>
> First off sorry for cross-posting. I'm hoping for a bigger audience... :]
>
> As for my question:
>
> How does one deal with Postgis geom fields in C++ ?
> Google hasn't offered much help so far.
>
> I know I can make a "SELECT astext(my_geom) FROM my_table" and after
> parsing the resulting text.
> This seems a bit awkward and time-consuming...
>
> Is there a better way to deal with it?

perhaps
http://postgis.refractions.net/documentation/manual-1.4/ST_AsBinary.html ?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2009-11-23 22:16:58 Re: C++ and Postgis
Previous Message Tom Lane 2009-11-23 21:26:48 Re: Strange performance degradation