Problem
For many households in Singapore, school access is not a secondary preference. It is part of the housing decision itself.
The difficulty is that school proximity is often checked manually, one address at a time, across separate tools. That makes comparison slow and easy to get wrong.
Approach
I built a lightweight geospatial calculator that starts with an address and turns it into a map-based school-access view.
- The OneMap API was used to geocode the selected address.
- SQL geography functions were used to calculate the distance between that address and nearby primary schools.
- A radius filter kept the output focused on schools within a practical search distance.
- Python handled the post-processing layer, including marker styling and map-ready formatting.
The output highlighted both the selected address and nearby schools so users could compare proximity visually rather than reading a raw table of distances.
Technical Workflow
The SQL layer converted school coordinates and the input address into geographic points, then calculated distances between them. That made it possible to return:
- school name
- distance from the selected point
- latitude and longitude for mapping
Python then added logic for marker color and emphasis, making the results easier to scan on a map. Schools within the closer radius band were visually separated from those further away, while the user’s selected address was given its own marker state.
Why It Mattered
This project sits at the intersection of housing, public data, and decision support.
It showed how geospatial tooling can turn a common homebuying question into something clearer and more operational:
- Which schools are nearby?
- How far are they really?
- Which addresses change the answer meaningfully?
That is the kind of workflow I find most useful: not just analysis for its own sake, but tools that make location-based choices easier to evaluate with evidence.