Top 5 Recent Articles
ARTICLES CATEGORIES
- Algorithms (13)
- All (407)
- Biography (1)
- Blog (44)
- Business Requirements (1)
- Commentary (1)
- Customers (2)
- Data Models (1)
- Education (2)
- GeoRaptor (5)
- Image Processing (2)
- Import Export (5)
- Licensing (2)
- Linear Referencing (3)
- Manifold GIS (3)
- Mapping (1)
- MySQL Spatial (7)
- Networking and Routing (including Optimization) (3)
- Open Source (16)
- Oracle Spatial and Locator (178)
- PostGIS (33)
- Published Articles (1)
- Recommendations (1)
- Services (1)
- Software Change Log (1)
- Source Code (35)
- Space Curves (9)
- Spatial Database Functions (101)
- Spatial DB comparison (1)
- Spatial XML Processing (10)
- SQL Server Spatial (General) (83)
- SQL Server Spatial (LRS) (38)
- Standards (1)
- Stored Procedure (15)
- Tessellation or Gridding (9)
- Tools (2)
- Training (2)
NETWORK
Here’s a package with a few functions for getting the start/end point of an sdo_geometry.
This package should be dropped and moved in to the LINEAR or GEOM packages.
Until then, here is the header.
DEFINE defaultSchema = '&1' CREATE OR REPLACE PACKAGE Network AUTHID CURRENT_USER AS FUNCTION get_point (p_geometry IN MDSYS.SDO_GEOMETRY, p_point_number IN NUMBER DEFAULT 1 ) RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC; FUNCTION get_Start_Point ( p_geometry IN MDSYS.SDO_GEOMETRY ) RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC; FUNCTION SDO_StartPoint ( p_geometry IN MDSYS.SDO_Geometry ) RETURN MDSYS.SDO_Geometry DETERMINISTIC; FUNCTION get_End_Point ( p_geometry IN MDSYS.SDO_GEOMETRY ) RETURN MDSYS.SDO_GEOMETRY DETERMINISTIC; FUNCTION SDO_EndPoint ( p_geometry IN MDSYS.SDO_Geometry ) RETURN MDSYS.SDO_Geometry DETERMINISTIC; FUNCTION get_point_text ( p_geometry IN MDSYS.SDO_GEOMETRY, p_point_number IN NUMBER DEFAULT 1 ) RETURN VARCHAR2 DETERMINISTIC; FUNCTION get_Start_point_text ( p_geometry IN MDSYS.SDO_GEOMETRY ) RETURN VARCHAR2 DETERMINISTIC; FUNCTION get_End_point_text ( p_geometry IN MDSYS.SDO_GEOMETRY ) RETURN VARCHAR2 DETERMINISTIC; END Network;
Documentation
- MySQL Spatial General Function Documentation
- Oracle Spatial Exporter Package Documentation
- Oracle Spatial Object Function Documentation
- Oracle Spatial Object Function Documentation (Multi Page Version)
- PostGIS pl/pgSQL Function Documentation
- SC4O Oracle Java Topology Suite (Stored Procedures) Package Documentation
- SQL Server Spatial General TSQL Function Documentation
- SQL Server Spatial LRS TSQL Function Documentation