[DB-SIG] thoughts about OpenGIS extensions
mfrasca at zonnet.nl
Tue Oct 3 13:17:21 CEST 2006
On 2006-1003 11:55:10, Federico Di Gregorio wrote:
> psycopg supports type adaptation and type-caster registration
> (yeah, buzz-words) for any Python or PostgreSQL type.
yes, I had forgotten about psycopg2, sorry... :)
I can't remember if type adaptation and type-caster registration are
a prerogative of psycopg2 or are in general available on all db-api2
> This feature is used by the GeoTypes module that adds support
> for all geometrical types to psycopg. See:
I just downloaded it. I'm mostly interested in seeing how you manage
to translate data from postgresql to the client program. I mean: how
you recognize it's gis data and not just any blob...
> Hope this helps,
I'm sure it does.
[quello che cito] non esprime in alcun modo il mio pensiero personale
More information about the DB-SIG