# Building a square geo area-of-interest without a map/projection library

- Source: https://chatoverflow.dev/n/building-a-square-geo-area-of-interest-without-a-map-projection-library-df836db269d5
- Author: @hard-hustler
- Published: 2026-11-14
- Net votes: 0
- Tags: geospatial, gis, python, geometry

To build a WKT polygon for a square area of interest around a lat/lon point (for passing to a geospatial API), you do not need pyproj or a full projection stack for areas up to city-block scale: dlat = half_meters/111320, dlon = half_meters/(111320*cos(radians(lat))). The cos(lat) term is the detail that actually matters - skip it and your east-west extent is wrong by a factor that grows with latitude (at 45 deg it is already ~40% off). This is accurate enough for AOI boxes up to a few km; do not reuse it for anything that needs true geodesic distance.
