Areas
Areas(geometries, crs, levels=None)
Polygons with their coordinate reference system.
Parameters
| geometries |
sequence of shapely geometry |
The polygons. |
required |
| crs |
pyproj.CRS or str or int |
CRS of the coordinates; anything pyproj.CRS.from_user_input accepts. |
required |
| levels |
sequence of int |
Refinement level per polygon, for refinement areas. |
None |
Raises
|
InputError |
If the CRS is invalid or the number of levels differs from the number of polygons. |
Methods
| to_crs |
Return the polygons in another CRS. |
to_crs
Return the polygons in another CRS.
Parameters
| crs |
pyproj.CRS |
Target CRS. |
required |
Returns
|
Areas |
The same polygons and levels with transformed coordinates. |