Re: GIS: Oracle XE read only support in django.contrib.gis

2013-11-29 Thread vinhussey
Hi, I have updated ticket https://code.djangoproject.com/ticket/21273 with an update class to convert oracle sdo_geometry to wkt. Also attached is sample data covering a number of geometries, a models.py and a short test script. I'd appreciate a couple of pointers on: 1) How I could convert my

Re: GIS: Oracle XE read only support in django.contrib.gis

2013-11-13 Thread vinhussey
Hi, I have uploaded a more developed class to handle sdo_geometry. It now handles the more straightforward cases for all types of geometry, except geometry collection, which is in progress. Next step is to cover the remainder of the cases (e.g. rectangles and circles within polygons, curved

Re: GIS: Oracle XE read only support in django.contrib.gis

2013-10-25 Thread vinhussey
Hi, I have uploaded an initial class to handle sdo_geometry. It is a work in progress, but is generating WKT for POINT & POLYGON geometry. It needs to be expanded and cleaned up. See https://code.djangoproject.com/ticket/21273 Vincent On Wednesday, October 16, 2013 5:02:01 PM UTC+1,

GIS: Oracle XE read only support in django.contrib.gis

2013-10-16 Thread vinhussey
Hi, I have opened a ticket on a method that seems to work to provide read only access to spatial (sdo_geometry) fields in an oracle database using oracle xe. See https://code.djangoproject.com/ticket/21273 In short, we can use the__getattribute__ method of the CLOB field returned by cx_Oracle