mapscript.layerObj¶
- class mapscript.layerObj(map: mapObj | None = None)¶
Overview
The layerObj has the following relationships:
Attributes
bandsitem
char TODO Add documentation
bindvals
hashTableObj
immutable TODO Add documentationclassgroup
char TODO Add documentation
classitem
char TODO Add documentation
cluster
clusterObj
immutable TODO Add documentationcompositer
LayerCompositer immutable TODO Add documentation
connection
char TODO Add documentation
connectionoptions
hashTableObj
immutable TODO Add documentationconnectiontype
enum MS_CONNECTION_TYPE TODO Add documentation
data
char TODO Add documentation
debug
int TODO Add documentation
encoding
char TODO Add documentation
extent
rectObj
immutable TODO Add documentationfilteritem
char TODO Add documentation
footer
char TODO Add documentation
group
char TODO Add documentation
header
char TODO Add documentation
index
int immutable TODO Add documentation
labelcache
int TODO Add documentation
labelitem
char TODO Add documentation
labelmaxscaledenom
double TODO Add documentation
labelminscaledenom
double TODO Add documentation
labelrequires
char TODO Add documentation
map
mapObj
immutable TODO Add documentationmask
char TODO Add documentation
maxclasses
int immutable TODO Add documentation
maxfeatures
int TODO Add documentation
maxgeowidth
double TODO Add documentation
maxscaledenom
double TODO Add documentation
metadata
hashTableObj
immutable TODO Add documentationminfeaturesize
int TODO Add documentation
mingeowidth
double TODO Add documentation
minscaledenom
double TODO Add documentation
name
char TODO Add documentation
numclasses
int immutable TODO Add documentation
numitems
int immutable TODO Add documentation
numjoins
int immutable TODO Add documentation
numprocessing
int immutable TODO Add documentation
offsite
colorObj
TODO Add documentationplugin_library
char TODO Add documentation
plugin_library_original
char TODO Add documentation
postlabelcache
int TODO Add documentation
refcount
int immutable TODO Add documentation
rendermode
enum MS_RENDER_MODE TODO Add documentation
requires
char TODO Add documentation
sizeunits
int TODO Add documentation
startindex
int TODO Add documentation
status
int TODO Add documentation
styleitem
char TODO Add documentation
symbolscaledenom
double TODO Add documentation
template
char TODO Add documentation
thisown
The membership flag
tileindex
char TODO Add documentation
tileitem
char TODO Add documentation
tilesrs
char TODO Add documentation
tolerance
double TODO Add documentation
toleranceunits
int TODO Add documentation
transform
int TODO Add documentation
type
enum MS_LAYER_TYPE TODO Add documentation
units
int TODO Add documentation
utfdata
expressionObj
immutable TODO Add documentationutfitem
char TODO Add documentation
utfitemindex
int TODO Add documentation
validation
hashTableObj
immutable TODO Add documentationMethods
- getClassIndex(map: mapObj, shape: shapeObj, classgroup: int | None = None, numclasses: int = 0) int [source]¶
- getItemDefinitions()[source]¶
Python MapScript only
Return item (field) names and their types if available. Field types are specified using GML metadata and can be one of the following:
Integer|Long|Real|Character|Date|Boolean
- getResults() resultCacheObj [source]¶
- getWMSFeatureInfoURL(map: mapObj, click_x: int, click_y: int, feature_count: int, info_format: char) char [source]¶