gis:layer-get-features


(gis:layer-get-features  layerId)

Returns the list of all 'GIS Feature ID' of the 'GIS Layer' object specified by layerId.

Arguments

layerId  (integer)  'handle' identifier of the 'GIS Layer' to query its 'GIS Features' (aka associated dwg entities)

Return

list of INTEGER on success, or NIL

Example

(vl-load-gis)  T
(setq layers (gis:get-layers))  ("shp_3857_point_2d_utf8")
(setq layerId (gis:get-layer (car layers)))  1736904439915
(setq features (gis:layer-get-features layerId))  (1685094904232 1685094904233)

Remarks

a 'GIS Feature Attribute' represents a "Column" in the GIS Database table; each 'GIS Feature' (built-up from dwg entities) is a row in such table



©  Bricsys NV. All rights reserved.