Re: C++ and Postgis - Mailing list pgsql-general

From John R Pierce
Subject Re: C++ and Postgis
Date
Msg-id 4B0B03D4.3080701@hogranch.com
Whole thread Raw
In response to C++ and Postgis  (Pedro Doria Meunier <pdoria@netmadeira.com>)
List 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 ?



pgsql-general by date:

Previous
From: John Oyler
Date:
Subject: I need help creating a composite type with some sort of constraints.
Next
From: Martin Gainty
Date:
Subject: Re: C++ and Postgis