New PL/SQL Packages – Rotate oriented point

I was asked if I would enhance my pl/sql Rotate function so that it handles oriented points. (Note: Oracle’s sdo_util.getVertices() does not support the oriented point.) After a bit of coding and modification of GeoRaptor so that I can visualise the result, I have finally finished the code and uploading it to my website. TheRead More

Fast Refreshing Materialized View Containing SDO_GEOMETRY and SDO_GEOM.SDO_AREA function

The following series of blog articles by Rob van Wijk are an excellent resource and should be read by those reading this article. Sven commented on my article about Materialized Views containing SDO_GEOMETRY data. He still had some issues so he pointed me to a posting he had made on the Oracle Spatial OTN forum.Read More

Performance of PL/SQL Functions using SQL vs Pure Code

I received a comment the other day from a user of my PL/SQL packages about how he had extracted the GEOM.isCompound() function from the GEOM package, and re-written it in pure PL/SQL getting rid of the SQL pivot that that I use. That’s the sort of behaviour I encourage. The user’s comment was this: ThisRead More

Implementing the BEST VicGrid Projection in Oracle 10gR2

There is a Lambert Conformal Conic projection used by Computer Aided Dispatch (CAD) in Victoria, Australia that is called BEST VicGrid. It is not available as part of the standard Oracle install (most Australian projections in are provided to Oracle by Michael Stoke’s Navigate company in Sydney), and so has to be created. Here isRead More

ORA-13011 errors when using SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT()

I was sent a request for help the other day from some I know overseas: Do you know the true meaning and impact of ‘ORA-13011 value is out of range’? I have a dataset with a lot of very (almost impossible) precise data coming from Bentley microstation. And we have a ‘businessrule’ that the defaultRead More