Expect values in a column to belong to one of the specified geometry types.
expect_column_values_geometry_to_be_of_type
This expectation level is EXPERIMENTAL
Contributors:
Tags:
geospatial
hackathon-2022
Metrics:
column_values.nonnull.unexpected_count
column_values.geometry_of_type.unexpected_count
table.row_count
column_values.geometry_of_type.unexpected_values
Description
Expect values in a column to belong to one of the specified geometry types.
Args:
- column (str): The column name.
- geom_types_list (str): List of shapely geometry types to match against. e.g: Point, Polygon, LineString, MultiPoint, MultiPolygon, MultiLineString
Want to make your own Expectation or an improvement to this one?
We've put together some great how to guides (including videos) on how to create your own expectations in a flash!
You can see those resources here: Contributor Resources