This project estimates the orientation of Australian residential properties using open-source geospatial data. Each property’s address is geocoded using OpenStreetMap’s Nominatim API to obtain coordinates, and nearby road geometry is analyzed with OSMnx to infer which direction the property faces.
- Geocode address to get latitude and longitude (via Nominatim API).
- Retrieve nearby road network within 50m using OSMnx.
- Calculate the bearing of the nearest road segment.
- Map the bearing to compass directions (N, NE, E, SE, S, SW, W, NW).
- Export the final output (address + orientation) to a CSV file.
- Python
- Pandas
- OSMnx
- Geopy
- Shapely
pip install -r requirements.txt
python src/orientation_finder.py