ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Upgrade the ST_Geometry type in an Oracle database

Available with Standard or Advanced license.

The ST_Geometry library contains new functionality or fixes at each ArcGIS release. You can upgrade the ST_Geometry type in your Oracle database using the Create Spatial Type geoprocessing tool or the CreateSpatialType ArcPy function.

Note:

The ST_Geometry library requires the Microsoft Visual C++ Redistributable Package (x64) when deployed on a Windows server. See Oracle database requirements for the package version required. If this package is not present on the server, download it from the Microsoft site and install it.

  1. Grant the following privileges to the sde user if it does not already have them:

    • CREATE SESSION
    • CREATE TABLE
    • CREATE VIEW
    • CREATE PROCEDURE
    • CREATE SEQUENCE
    • CREATE TRIGGER
    • CREATE TYPE
    • CREATE INDEXTYPE
    • CREATE LIBRARY
    • CREATE OPERATOR
    • CREATE PUBLIC SYNONYM
    • DROP PUBLIC SYNONYM
    • ADMINISTER DATABASE TRIGGER

  2. Install a new release of ArcGIS Desktop to obtain the new version of the st_shapelib (Windows) or libst_shapelib (Linux) library.
  3. Make a backup copy of or rename the existing st_shapelib (Windows) or libst_shapelib (Linux) library on the Oracle server.
  4. Copy the new library from the DatabaseSupport directory in the ArcGIS Desktop installation location, and place it in the same directory on the Oracle server where you had placed the old library originally.

    If you place the library in a new location, you must update the library definition in Oracle. Be sure to use the library appropriate for your Oracle server operating system.

  5. Start ArcCatalog or ArcMap, open the Catalog window, and connect to the database as an Oracle sys database administrator.

    This creates an .sde file in C:\Users\<user_name>\AppData\Roaming\ESRI\Desktop<version_number>\ArcCatalog.

  6. To update the ST_Geometry type, subtypes, and functions in the database, run the Create Spatial Type geoprocessing tool or a Python script that uses the CreateSpatialType function. Use the .sde file you created in the last step for the database connection.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal