2

Geopandas read has as options bbox and mask.

https://geopandas.org/reference/geopandas.read_file.html

What is the difference between those two options?

1 Answer 1

3

Geopandas read_file() allows you to subset vector data by either a rectangular area made up of 4 coordinates (a bounding box) or an irregular shaped polygon (mask). The subset will include all of the features that intersect the bounding box or mask. It is important to note that read_file() will not clip your input features to the bounding box or mask boundaries.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.