Support needed for geometry types
Bug #412002 reported by
Dan Halbert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pg8000 |
Fix Committed
|
Undecided
|
Mariano Reingart |
Bug Description
Geometry types (point, box, line, etc.) are not supported, and generated errors like "type oid 603 not mapped to py type".
If otherwise unsupported types like enums (see bug #412000) were supported as strings, that would be a workaround. The geometry values would go in and out as strings. Tuples would be better in the long run.
To post a comment you must log in.
I've made a maintenance fork:
http:// code.google. com/p/pg8000/
I've added a patch with register_geo() function to automatically convert geometry types into tuples
You can see the fix at:
http:// code.google. com/p/pg8000/ source/ detail? r=fdc4d3740778f 782a159c2bba108 b0b091d94ece
If you have new issues, if you can please report it in the googlecode project issues