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

  • Definition
  • Syntax
  • Returns
  • Parameters
  • Examples

Definition

The ST_Raster.getPyramidLevel function returns the maximum pyramid level of a raster. Level 0 is the full-resolution level, or base level.

Syntax

Oracle

getPyramidLevel()

PostgreSQL

getPyramidLevel(raster IN ST_RASTER)

SQL Server

getPyramidLevel()

Returns

Oracle

Number

PostgreSQL

Integer

SQL Server

Integer

Parameters

raster—ST_RASTER object to be tested

Examples

The following queries return the pyramid level for each raster in the table:

Oracle

SELECT image.raster_id, image.getPyramidLevel()
FROM FOO t;

T.IMAGE.RASTER_ID T.IMAGE.GETPYRAMIDLEVEL()
--------------- -----------------------
              2                       2
              3                       2
             23                       0
             24                       0
             42                       0
             43                       0

PostgreSQL

SELECT raster_id(image), getPyramidLevel(image)
FROM foo;

RASTER_ID(IMAGE) GETPYRAMIDLEVEL(IMAGE)
---------------- ----------------------
               2                      2
               3                      2
              23                      0
              24                      0
              42                      0
              43                      0

SQL Server

SELECT image.raster_id, image.getPyramidLevel()
FROM foo;

IMAGE.RASTER_ID IMAGE.GETPYRAMIDLEVEL()
--------------- -----------------------
              2                       2
              3                       2
             23                       0
             24                       0
             42                       0
             43                       0

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