VectorLayer
Layer that contains vector data
Notes
- The
dataproperty returns a reference to the data - The
metadataproperty returns a reference to the metadata
| PARAMETER | DESCRIPTION |
|---|---|
data
|
Data
TYPE:
|
name
|
Name
TYPE:
|
metadata
|
Metadata
TYPE:
|
copy
|
If True, the data and metadata are copied during initialization
TYPE:
|
data
property
| RETURNS | DESCRIPTION |
|---|---|
gpd.GeoDataFrame
|
Data |
name
property
writable
| RETURNS | DESCRIPTION |
|---|---|
str
|
Name |
metadata
property
writable
| RETURNS | DESCRIPTION |
|---|---|
dict[str, object]
|
Metadata |
is_copied
property
| RETURNS | DESCRIPTION |
|---|---|
bool
|
If True, the data and metadata are copied during initialization |
is_in_vector
property
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the layer is inside vector, False otherwise |
__eq__
Compares the vector layers.
| PARAMETER | DESCRIPTION |
|---|---|
other
|
Other vector layer
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
bool
|
True if the vector layers are equal, False otherwise |
__len__
Computes the number of geometries.
| RETURNS | DESCRIPTION |
|---|---|
int
|
Number of geometries |
copy
Copies the vector layer.
| RETURNS | DESCRIPTION |
|---|---|
VectorLayer
|
Vector layer |