tokens: List Field Tokens

tokensR Documentation

List Field Tokens

Description

Return a list of possible field tokens.

Usage

tokens

Format

An object of class character of length 13.

Details

Possible tokens are listed below. Note that not all tokens are valid for all geometries.

  • OID@ The OBJECTID for the feature.

  • SHAPE@ A geometry object for the feature.

  • SHAPE@XY A tuple of the feature's centroid x,y coordinates.

  • SHAPE@TRUECENTROID A tuple of the feature's true centroid x, y coordinates.

  • SHAPE@X A double of the feature's x-coordinate.

  • SHAPE@Y A double of the feature's y - coordinate.

  • SHAPE@Z A double of the feature s z-coordinate.

  • SHAPE@M A double of the feature's m - value.

  • SHAPE@JSON The esri JSON string representing the geometry.

  • SHAPE@WKB The well-known binary(WKB) representation for OGC geometry. It provides a portable representation of a geometry value as a contiguous stream of bytes.

  • SHAPE@WKT The well-known text(WKT) representation for OGC geometry. It provides a portable representation of a geometry value as a text string.

  • SHAPE@AREA A double of the feature 's area.

  • SHAPE@LENGTH A double of the feature' s length.

Value

A vector of field names.


mkoohafkan/arcpy documentation built on Feb. 5, 2024, 9:55 a.m.