gis:layer-get-type


(gis:layer-get-type  layerId)

Returns the 'GIS Feature Type' of the 'GIS Layer' object specified by layerId.

Arguments

layerId  (integer)  'handle' identifier of the 'GIS Layer' to query for its 'GIS Feature Type'

Return

INTEGER (1...7) 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 ftype (gis:layer-get-type layerId))  1 (bcGisTypePoint)

Remarks

for the  'GIS Feature Type' please see the Type Constants enumeration "Civil GIS Geometric Type"



©  Bricsys NV. All rights reserved.