Nome

ST_Z — Returns the Z coordinate of a Point.

Sinossi

float ST_Z(geometry a_point);

Descrizione

Restituisce la coordinata Z del punto, o NULL se non disponibile. L'input deve essere un punto.

[Nota]

To get the minimum and maximum Z value of geometry coordinates use the functions ST_ZMin and ST_ZMax.

Questo metodo implementa la specifica SQL/MM.

Questa funzione supporta il 3d e non distrugge gli z-index.

Esempi

Code
SELECT ST_Z('POINT(1 2 3 4)');
Output
3