On 10/3/06, Mario Frasca <[EMAIL PROTECTED]> wrote: > On 2006-1003 10:01:00, Andy Dustman wrote: > > if you have a > > function that does the necessary conversion into a Python type. > > ... do we need here to know the internal data format used by mysql? > on their web site I could not find it. the only reference I say is > at http://dev.mysql.com/doc/refman/5.1/en/fetching-spatial-data.html, > stating that «Fetching geometry values using internal format can be > useful in table-to-table transfers».
http://dev.mysql.com/doc/refman/5.0/en/supported-spatial-data-formats.html I think these are OpenGIS formats. > > > (If > > you know a good standard Python library that does this, I'll add > > support. I looked into this once and didn't find a clear answer.) > > did you check Federico's link > http://initd.org/tracker/psycopg/wiki/GeoTypes > the page contains links to the downloadable tarballs. > > it looks quite nice, I'd say. Indeed, might have to experiment with it. -- This message has been scanned for memes and dangerous content by MindScanner, and is believed to be unclean. _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig