Search code examples
pythongeo

Find area of latitude/longitude bounding box offline in python


I want to find area of latitude/longitude bounding box in square meters. I need to do this quickly, that's why the solution should be offline.


Solution

  • I usually use Shapely for this kind of tasks. However... this particular problem is not as easy as it looks, since you would need to transform your lat/lon data to a more appropriate projection. You can use pyproj for that.