Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
Project description
example::
import cx_Oracle
import sdo
conn=cx_Oracle.connect("scott/tiger")
cur=conn.cursor()
cur.execute("select geometry from city")
print sdo.Geometry(cur.fetchone()[0]).wkt()
import cx_Oracle
import sdo
conn=cx_Oracle.connect("scott/tiger")
cur=conn.cursor()
cur.execute("select geometry from city")
print sdo.Geometry(cur.fetchone()[0]).wkt()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
sdo-0.5.0.zip
(6.4 kB
view hashes)
sdo-0.1.0-py2.5.egg
(10.8 kB
view hashes)
Built Distributions
sdo-0.5.0-py2.6.egg
(10.8 kB
view hashes)
sdo-0.5.0-py2.5.egg
(10.8 kB
view hashes)