TOOLS

This package mainly contains utility programs that can do things like: Create SDO_GEOM_METADATA records from scratch; Discover SRID; Discover Dimensions in sdo_geometry column; Discover Geometry/Spatial Type (for use in spatial indexing); Discover minimum tolerance of an sdo_geometry column; Analyse vertices; Run a battery of sdo_geometry tests to check sdo_geometry data integrity (including fixing); This canRead More

KML

I have a package that will allow you to convert a single geometry into KML or create a whole KML document from a recordset containing many geometries. It doesn’t do a whole lot, but it has been of interest to some users out there who have improved the original work. Here is an example ofRead More

GEOM

The GEOM package contains a generic collection of algorithms that work on SDO_GEOMETRY objects. This package needs many TYPES to exist and also depends on other packages such as GF, CONSTANTS etc. If you are interested in this package it is best to download the complete collection of packages and have a good look atRead More

LINEAR (LRS)

UPDATED: This package of functions underwent a revamp in early July 2012. In that revamp: ST_Locate_Point was overhauled to correctly handle both distance based segmentation of 2D lines as well as Measured geometries (p_value_Type parameter now fully handled). ST prefixes added to public functions._ T_Vector Type enhanced ST_GetVector renamed to ST_Vectorize Bugs fixed in ST_SplitRead More

SDO_ERROR

I have written a PL/SQL package called SDO_ERROR that could be used to visualise geometry errors (specifically validate_geometry_with_context) and elements Additionally it focuses mainly on projected (not long/lat) data, so if you use with geodetic data do so at your own risk. Required Data Types Packaged Header The source code, which is still under activeRead More

EXPORTER

For many years now, I have had an in-database based solution to the exportation of shapefiles. It was this code that provided a base for the work I did on exporting shapefiles from the recently released GeoRaptor 3.0. This exporter package uses GeoTools and JTS, with custom code to enable the exportation of any SQLRead More