ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Aide

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

ST_Raster.getPixelType

  • Définition
  • Syntaxe
  • Renvoie
  • Paramètres
  • Exemples

Définition

La fonction ST_Raster.getPixelType renvoie la propriété du type de pixel de l'objet ST_Raster. Le tableau suivant répertorie les valeurs de types de pixel valides :

ValeurDescription

1bit

données 1 bit

4bit

données 4 bits

uint8

entier 8 bits non signé

int8

entier 8 bits signé

uint16

entier 16 bits non signé

int16

entier 16 bits signé

uint32

entier 32 bits non signé

int32

entier 32 bits signé

réel simple

nombre à virgule flottante à simple précision

double

nombre à virgule flottante à double précision

valeurs de getPixelType

Syntaxe

Oracle

getPixelType()

PostgreSQL

getPixelType(raster IN ST_RASTER)

SQL Server

getPixelType()

Renvoie

Oracle

VARCHAR2

PostgreSQL

Texte

SQL Server

NVARCHAR

Paramètres

Aucun

Exemples

Les requêtes suivantes renvoient le type de pixel de chaque raster dans la table.

Oracle

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

T.IMAGE.RASTER_ID T.IMAGE.GETPIXELTYPE()
--------------- --------------------
              2 UINT8
              3 UINT8
             23 UINT8
             24 UINT8 
             42 UINT8
             43 UINT8

PostgreSQL

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


RASTER_ID(IMAGE) GETPIXELTYPE(IMAGE)
---------------- --------------------
               2 UINT8
               3 UINT8
              23 UINT8
              24 UINT8 
              42 UINT8
              43 UINT8

SQL Server

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

     RASTER_ID  GETPIXELTYPE()
--------------- --------------------
              2 UINT8
              3 UINT8
             23 UINT8
             24 UINT8 
             42 UINT8
             43 UINT8

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2017 Esri. | Confidentialité | Légal