Converts oracle SDO_GEOMETRY objects to WKT and GeoJSON.
Project description
example of usage::
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 Distribution
sdo-0.6.5.zip
(7.2 kB
view hashes)
Built Distributions
sdo-0.6.5-py2.6.egg
(11.1 kB
view hashes)
sdo-0.6.5-py2.5.egg
(11.1 kB
view hashes)