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 for 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 a PostgreSQL database

Available with Standard or Advanced license.

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

  1. Grant the sde user superuser authority in the database cluster if it does not already have it.
  2. Install a new release of the ArcGIS client to obtain the new version of the st_geometry library.
  3. Make a backup copy of or rename the existing st_geometry library on the PostgreSQL server.
  4. Copy the new st_geometry library from the DatabaseSupport directory in the ArcGIS client installation location, and place it in the PostgreSQL lib directory.
    • If PostgreSQL is installed on a Linux server, log in to the server as the root user and place the st_geometry.so file in the /usr/lib64/pgsql directory.
    • If PostgreSQL is installed on a Windows server, place the st_geometry.dll file in the %PostgreSQL%\lib directory.
  5. Start ArcCatalog or ArcMap and open the Catalog window.
  6. Create a connection to your PostgreSQL database. Log in as the sde user.
  7. 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 and the .sde file you created in the last step.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

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