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.buildStats

  • Definition
  • Syntax
  • Returns
  • Parameters
  • Example

Definition

The ST_Raster.buildStats function calculates image statistics of an ST_Raster object.

Syntax

Oracle

buildStats () RETURN ST_RASTER

buildStats (level IN NUMBER) RETURN ST_RASTER

PostgreSQL

buildStats (raster IN ST_RASTER) RETURN ST_RASTER

buildStats (raster IN ST_RASTER, 
            level IN INT) RETURN ST_RASTER

SQL Server

buildStats (level IN NUMBER) RETURN ST_RASTER

Returns

ST_Raster

Parameters

ParameterDescription

level

Specifies a pyramid level on which to build statistics; by default, statistics are built on the base level.

raster

The ST_Raster object for which image statistics will be updated

Example

In this example, image statistics for each ST_Raster object in the image column of the comm table are calculated.

Oracle

UPDATE COMM c
SET image = c.image.buildStats();

PostgreSQL

UPDATE comm 
SET image = buildStats(image);

SQL Server

UPDATE comm 
SET image = image.buildStats(NULL);

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