Closed steinmetz closed 3 years ago
The lib was considering only the first polygon of the multipolygon to get the bbox.
Currently, bbox returns these two points:
My PR changes it to consider all polygons inside the multipolygon, so the bbox will be like this:
I've also added some tests for:
The lib was considering only the first polygon of the multipolygon to get the bbox.
Currently, bbox returns these two points:![Screenshot 2021-03-08 at 21 36 46](https://user-images.githubusercontent.com/3587083/110384280-b2805200-805d-11eb-9d0e-6ac99bf5f9d9.png)
My PR changes it to consider all polygons inside the multipolygon, so the bbox will be like this:![Screenshot 2021-03-08 at 21 16 54](https://user-images.githubusercontent.com/3587083/110384384-d80d5b80-805d-11eb-8f70-6107075f470f.png)
I've also added some tests for: