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)
Standalone CENTROID package now available for download
My CENTROID package is very popular but people have to download the spatialdbadvisor_oracle_spatial_types_and_packages.zip package to get it.
I have now created a standalone download for the CENTROID package. This is available from the Download Code, Packages and Installers link on the Source Code Documentation / Download on the main page.
This package contains:
- CENTROID_package.sql
- CENTROID_package_test.sql
- installCentroid_cmd (You must rename it to installCentroid.cmd before install)
- ReadMeCentroid.txt
- create_schema.sql
- test_permissions.sql
The installCentroid.cmd will step you through the install. If you have a preexisting schema then you can choose to install the CENTROID package and its types into this schema. Note that this schema must have the correct permissions which test_permissions.sql will do: if the schema fails then the install will not go ahead. If you do decide to create your own schema then you will need SYS/SYSTEM password in order for the installer to work.
NOTE 1: The CENTROID package ascertains whether Spatial or Locator is installed via the following call:
SELECT count(*) FROM sys.dba_registry WHERE comp_id = 'SDO';
So, appropriate permissions are required for the installing schema to be able to do this.
NOTE 2: There is no installer for Linux/Unix. It is not that I am not capable of building one (I have used UNIX since the early ’80s) it is just that I do not have a Linux VM in my office on which I can build and test and install shell script. It will happen. But if anyone converts the current Windows CMD into a shell script consider emailing it to me for inclusion in the zip file.
Note 3: There is no ability in the CENTROID package to create a centroid exactly 50% along a multilinestring. To do this you have to use the LINEAR package. I will add the functionality to the CENTROID package if demand warrants it (or someone wishes to donate a few dollars to the implementation via the appopriate button on this website).
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