On Sep 17, 5:03 am, [EMAIL PROTECTED] wrote:
Has anyone added support for the POLYGON data type in PostgreSQL? If
so, is there any code that can be shared?
I haven't seen POLYGON but the beginnings of such support is over at
bycycle.org[1]. I'm interested in something similar for MySQL's
On Sep 17, 3:03 pm, [EMAIL PROTECTED] wrote:
Has anyone added support for the POLYGON data type in PostgreSQL? If
so, is there any code that can be shared?
Here's a patch implementing PGPolygon. The conversion from/to python
types should be done in dbapi IMHO (i.e. psycopg2) but this will work
sc0ttbeardsley wrote:
On Sep 17, 5:03 am, [EMAIL PROTECTED] wrote:
Has anyone added support for the POLYGON data type in PostgreSQL? If
so, is there any code that can be shared?
I haven't seen POLYGON but the beginnings of such support is over at
bycycle.org[1]. I'm interested in something
i don't have recent py-gis experience, but from past, its been
tuple-likes and numpy arrays. Best option will be to have some
default data-representation constructor for each SA-GIS type, and
allow overriding that.
e.g. Point holds data by default in a tuple (Point.DataHoler=tuple),
but i can