This PL/SQL package converts a query with a sdo_geometry into an ESRI shape file and a shape file into a Oracle table. It can also convert a Oracle table into a dBase file and vice versa.
Sample 1 - create a shape file (alk.shp, alk.shx, alk.dbf) of type 5 (=Polygon) from table MYTABLE with sdo-column="geo" and SDO_GTYPE=3003:
select zvk_shape.write_shp('DATA_PUMP_DIR','alk',
'select t.C01 "NAME",
t.C20 "FLST",
t.GEO
from MYTABLE t
where t.C02 = ''ALK''
order by t.C01','GEO',5) "alk" FROM dual;
Features
- Convert sdo_geometry from 2D to 3D and vice versa
- Convert sdo_geometry from line to area and vice versa
- Create shape file from oracle query
- Read shape file into sdo_geometry
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)Follow PL/SQL ESRI Shape & dBase Converter
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PL/SQL ESRI Shape & dBase Converter!