MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/md/admin/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/md/admin/catmdloc.sql

Rem Copyright (c) 1998, 2017, Oracle and/or its affiliates. 
Rem All rights reserved.
Rem
Rem    NAME
Rem      catmdloc.sql - Install the locator/geocoder interface of Spatial
Rem
Rem    DESCRIPTION
Rem      ** Change it back to install all of spatial.
Rem      This now also loads all the related packages required for 
Rem      Locator. This basically does a  basic spatial 
Rem      installation with the packages/types required for locator.
Rem      This script simply loads the files related to the Locator
Rem      (geocoder interface) component of the interMedia cartridge
Rem      Presently this consists of the package(s) and functions:
Rem      PACKAGES:
Rem      geocoder_http
Rem      FUNCTIONS
Rem        geocoder_http.geocode1()
Rem        geocoder_http.dist2latlon() 
Rem        NOTE: dist2latlon() returns APPROXIMATE values and assumes
Rem              WSG84 as the reference ellipsoid
Rem        procedure geocoder_http.setup_locator_index()
Rem      OPERATORS
Rem        MDSYS.locator_within_distance
Rem      OBJECT TYPES
Rem        Geocode_Result
Rem
Rem    NOTES
Rem      Assumes one is connected as MDSYS and that the objects option, 
Rem      extensible indexing framework (catodci.plb) and Spatial 8i
Rem      have all been installed.
Rem
Rem    BEGIN SQL_FILE_METADATA
Rem    SQL_SOURCE_FILE: sdo/admin/catmdloc.sql
Rem    SQL_SHIPPED_FILE: md/admin/catmdloc.sql
Rem    SQL_PHASE: CATMDLOC
Rem    SQL_STARTUP_MODE: NORMAL
Rem    SQL_IGNORABLE_ERRORS: NONE
Rem    SQL_CALLING_FILE: sdo/admin/catmd.sql
Rem    END SQL_FILE_METADATA
Rem
Rem    MODIFIED   (MM/DD/YY)
Rem    rjanders    03/09/17 - Add missing SQL_FILE_METADATA information
Rem    sravada     08/05/16 - XbranchMerge sravada_lrg-19458680 from
Rem                           st_sdo_12.2.0.1.0
Rem    sravada     12/30/14 - reorg for parallel upgrade
Rem    rjanders    09/03/14 - #19501696: Ignore table not found on change_all
Rem    rjanders    07/07/14 - Add prvtmem.plb memory leak detection
Rem    yhu         05/23/14 - bug 17484017: support parallel sdo_join
Rem    rjanders    01/29/14 - #18146131: Use NUMBER_TO_CHAR() for TO_CHAR()
Rem    bbamba      07/12/11 - Include sostats.plb
Rem    sravada     07/12/11 - add SDO_JAVA_STP
Rem    sravada     04/04/11 - move prvtsrid
Rem    rjanders    03/16/11 - Move prvtsrid.sql to eliminate dependency cycles
Rem    rjanders    03/01/11 - Add Feature Usage information
Rem    rjanders    11/20/10 - Add SRID metadata cache
Rem    yhu         07/23/08 - move sdopopt from catmd10i.sql to catmdloc.sql
Rem    sravada     05/12/05 - add text object 
Rem    sravada     08/30/04 - move sdoutl.plb 
Rem    mhorhamm    05/04/04 - Recompile tfm_plan, after added constraints make
Rem                           it temporarily invalid
Rem    mhorhamm    02/06/04 - Include sdoepsgd.sql 
Rem    mhorhamm    01/29/04 - Change sequence of files 
Rem    mhorhamm    01/22/04 - Delete reference to sdoepsgh.sql 
Rem    mhorhamm    01/13/04 - Move header of EPSG package
Rem    mhorhamm    11/06/03 - Have cs_srs view created, instead of table, call 
Rem    sravada     09/12/03 - move sqlmmtypes up 
Rem    mhorhamm    08/25/03 - Add sdogmmh.sql and sdogmmb.plb (SQL/mm support)
Rem    sravada     04/16/03 - fix indextype creation
Rem    sravada     09/20/02 - change to sysaux 
Rem    sravada     08/15/02 - break SDO install
Rem    sravada     07/31/99 - Call catmd from here
Rem    sravada     07/15/99 - add all the locator stuff here .
Rem    jsharma     09/14/98 - Install the interMedia Locator component related
Rem    jsharma     09/14/98 - Created
Rem


Rem ********************************************************************
Rem #16473696: Indicate Oracle-Supplied object
@@?/rdbms/admin/sqlsessstart.sql
Rem ********************************************************************

alter session set current_schema=MDSYS;

Rem Sequential phase, run common scripts
--CATCTL -R
--CATCTL -S
@@catmdloch.sql

Rem  the following can be run in parallel
--CATCTL -R
--CATCTL -M

@@catmdlocp1.sql

@@catmdlocp2.sql

@@catmdlocj.sql

Rem Sequential phase, run common scripts
--CATCTL -R
--CATCTL -S
@@catmdloct.sql


Rem ********************************************************************
Rem #16473696: Indicate Oracle-Supplied object
@@?/rdbms/admin/sqlsessend.sql
Rem ********************************************************************


OHA YOOOO