Top 5 Recent Articles
ARTICLES CATEGORIES
- Algorithms (22)
- All (399)
- Biography (1)
- Blog (44)
- Business Requirements (1)
- Commentary (1)
- Conversion (2)
- Customers (2)
- Data Models (1)
- Education (2)
- GeoRaptor (13)
- GPS (1)
- Image Processing (2)
- Import Export (8)
- Licensing (2)
- LiDAR (1)
- Linear Referencing (4)
- Manifold GIS (3)
- Mapping (1)
- MySQL Spatial (7)
- Networking and Routing (including Optimization) (5)
- Open Source (18)
- Oracle Spatial and Locator (194)
- Partitioning (1)
- PostGIS (36)
- Projections (1)
- Published Articles (1)
- qGIS (1)
- Recommendations (1)
- Services (1)
- Software Change Log (1)
- Source Code (37)
- Space Curves (9)
- Spatial Database Functions (109)
- Spatial DB comparison (1)
- Spatial XML Processing (11)
- SQL Server Spatial (92)
- Standards (3)
- Stored Procedure (17)
- Tessellation or Gridding (10)
- Tools (2)
- Topological Relationships (1)
- Training (2)
- Triangulation (2)
VB6 Oracle Spatial or Locator OO4O code
I have just uploaded a radically revised and improved VB6 code for accessing Oracle Spatial or Locator.
In revising the code I came to appreciated something the Catholic priest who married my wife and I once said to me: “True scholarship requires leisure”. I have had the lesiure to revise the code and am horrified by what was in the previous code. Though well intentioned, I simply did not have the time to address, in a systematic fashion, all aspects of squeezing the maximum performance out of a set of code to access Sdo_Geometry data in VB6. (I will convert the code to VB.NET but not yet!).
From the history notes of the library here are some highlights:
- Modified code to bring back in some improvements from PL/SQL port.
- Added Tolerance Property and ObjectTolerances() function to set its values.
- included support for min_resolution parameter in Sdo_Filter/FindFirst
- Overhauled asPoint, asMultiPoint, asPolyline and asPolygon routines to improve readibility and speed
- Upped default lFetchArrayBufferSize to 524288 bytes
- Added ObjectTolerances routine to extract sdo_tolerance from XXX_SDO_GEOM_METADATA views
- Some type and object name changes
- Modified implementation of mobjGF.isNull()
- Fixed bug with converting circle/circulararc to vertex-connected segments when ArcToChord value is large
- Fixed handling of 3D data
- Added ability to output shape data as ADFText/EWKT via FindFirst/MoveNext and mobjGF.AsString
- Cleaned up object memory handling in some routines
- Removed setting mutLayerProperties.layerMBR in ObjectExtent()
- Simplified setting of all SQL properties and moved all checking of rules and combinations in the BuildSQL function.
- Removed support for group by, order by and having clauses to reduce complexity (can be used via the directly setting a complete SQL statement.
- Recreated separate CGeometryFactory class from the GF_ inline code. Involved splitting out of SQL SELECT field indexes from actual sdo_geometry data in mutGeomUDTFields
- Implemented use of ErrorHandler resource strings in error/warnings.
- Replaced ORADYN_READONLY with ORADYN_NOCACHE to improve read performance and reduce memory use.
- Improved dynaset processing efficiency by implementing performance tip”Avoiding Multiple Object Reference” in OO4O documentation
- Simplified handling of optional extent in FindFirst
- Added Parameter support to FindFirst in order to improve cursor sharing on database server
- Made actual FindFirst modified query a returnable property to aid client debugging
- Load error messages on layer startup
Also, added lots more tests to the LibTest.vbp project.
Documentation
- MySQL Spatial General Functions
- Oracle LRS Objects
- Oracle Spatial Exporter (Java + pl/SQL)
- Oracle Spatial Object Functions
- Oracle Spatial Object Functions (Multi Page)
- PostGIS pl/pgSQL Functions
- SC4O Oracle Java Topology Suite (Java + pl/SQL)
- SQL Server Spatial General TSQL Functions
- SQL Server Spatial LRS TSQL Functions