[DB-SIG] thoughts about OpenGIS extensions
Mario Frasca
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
modules.
> This feature is used by the GeoTypes module that adds support
> for all geometrical types to psycopg. See:
> http://initd.org/tracker/psycopg/wiki/GeoTypes
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.
grazie,
ciao,
Mario
--
[quello che cito] non esprime in alcun modo il mio pensiero personale
Papa Ratzinger
More information about the DB-SIG
mailing list