Turning a grid map array into a shapely object
I have a (2000×2000) python array of 0’s and 1’s that represent whether a cell is free or not. I’d like to turn this dense representation into a shapely
object.
For example, an array of the type:
I have a (2000×2000) python array of 0’s and 1’s that represent whether a cell is free or not. I’d like to turn this dense representation into a shapely
object.
For example, an array of the type: