ArcGIS Desktop

  • Documentation
  • Support

  • 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

ST_Raster.deleteColormap

  • Definition
  • Syntax
  • Returns
  • Parameters
  • Examples

Definition

The ST_Raster.deleteColormap function removes the raster color map from an ST_Raster object. If the ST_Raster object does not have a color map, the function returns an error.

Syntax

Oracle

deleteColormap () RETURN ST_RASTER;

PostgreSQL

deleteColormap (raster IN ST_RASTER) RETURN ST_RASTER;

SQL Server

deleteColormap () RETURN ST_RASTER;

Returns

ST_Raster

Parameters

None

Examples

In this example, the color map of an ST_Raster object that corresponds to the table row that has a raster_id column value of 50 is deleted.

Oracle

UPDATE NOVA n
SET image = n.image.deleteColormap()
WHERE n.image.raster_id = 50;

PostgreSQL

UPDATE nova 
SET image = deleteColormap(image)
WHERE raster_id(image) = 50;

SQL Server

UPDATE nova
SET image = deleteColormap()
WHERE image.raster_id = 50;

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
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2017 Esri. | Privacy | Legal