Convert GeoJSON document to Sdo_Geometry objects

Andy Versal is a reader of this website. He recently modified my SDO2GEOJSON function. Andy supplied me with the fixes which now appear in the original article describing that function. In return he has provided me with a copy of his function that converts GeoJSON to Sdo_Geometry. Thanks to Andy Versal for this function.

Simple Implementation Of Travelling Salesman Problem

UPDATE: This function is now a part of the Oracle Object implementation. The Travelling Salesman is a well known problem in graph theory: The Travelling Salesman Problem describes a salesman who must travel between N cities. The order in which he does so is something he does not care about, as long as he visitsRead More

Create Polygons and Linestrings From Bearings And Distances (COGO)

UPDATE The original functions have been modified and deployed via my Oracle Object code. They original code is no longer available. My COordinate GeOmetry (COGO) package has been around for a long time. What I had not done was use the power of this package to construct polygons (2003) or linestrings (2002) from a startingRead More

Playing around with Centroids by using different seed values

The CENTROID package that I make available for free exposes a function for generating centroids of polygon (or area) objects. Here is the function: If you call the function with its defaults, the p_method parameter will be 1. For this value, the code determines the X ordinate extent of the polygon’s MBR, and selects theRead More

Extracting Inner Rings Changed Ordinate Ordering: A Trap For Players Who Don’t Read Documentation!

In Developing Some Ideas For The Compression/Decompression Of Sdo_Geometry Objects, I Had Cause To Create Two PL/SQL Functions called Geocompress and Geodecompress. I Have Not Done This For A While And Slapped Myself When I Ran Into something I Should Have Known Would Arise, as I have seen it before, and because it is documentedRead More

PLS-00306: wrong number or types of arguments in call to ‘SDO_GEOMETRY’

At the business I am currently contracted to to provide database modeling, data quality analysis, PLSQL development and spatial expertise, an application was having problems querying a WFS server (MapGuide, using FDO to access an Oracle 11gR2 database) with a WFS filter using a very large polygon. (All the issues seem to be with gettingRead More

New versions of LINEAR, CENTROID and GEOM etc packages

——————————————————————————————- NOTICE (2020): All packages have been moved to my new SPDBA website ——————————————————————————————- ——————————————————————————————- UPDATE (21 Mar 2018): ——————————————————————————————- I have just released a new version of my GEOM etc PLSQL Package objects. The changes include a re-write of the AFFINE package. Conditional compilation has been removed which means any XE installations have nowRead More