The Proximity Score Calculator is a web-based tool designed to assess the accessibility of key services and amenities based on a user-defined location. It follows the principles of the Green Rating for Integrated Habitat Assessment (GRIHA), which promotes sustainable and well-planned urban development.
Using the Google Maps API, the tool evaluates proximity to essential amenities, allowing users to make informed decisions about residential, commercial, or business locations based on convenience, accessibility, and sustainability.Use the link below to test it out :-
The tool calculates the distance from the user’s location to the nearest essential services, including:
-
Medical Facilities:
- Hospitals
- Pharmacies
- Doctors, Physiotherapists, and Veterinary Care
-
Transport & Connectivity:
- Train Stations
- Subway Stations
- Taxi Stands
-
Entertainment & Leisure:
- Shopping Malls
- Movie Theatres
- Art Galleries
- Parks & Gyms
-
Public Services:
- Police Stations, Fire Stations, Post Offices, and City Halls
-
Education & Finance:
- Schools and Universities
- Banks and ATMs
-
Religious & Dining Spaces:
- Religious Places
- Restaurants and Cafes
The Proximity Score Calculator leverages the Google Maps API to:
- Take a user-defined location as input (coordinates or address).
- Compute the distance from that location to the nearest essential services.
- Display proximity scores, providing insights for sustainable and convenient living or business location selection.
Final.Edit.-.Proximity.Evaluator.mov
- Google Maps API Key: You will need an active Google Maps API key to use the tool.
-
Clone the repository:
git clone https://github.com/PeoplePlusAI/GreenTrack.git cd GreenTrack cd ProximityScoreCalculator
-
Replace the API Key:
- Edit the following files to replace the placeholder with your API key:
script.js
(Line 7)proxeval.html
(Line 26)
const apiKey = 'YOUR_API_KEY_HERE'; // script.js: Line 7
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY_HERE"></script> <!-- proxeval.html: Line 26 -->
- Edit the following files to replace the placeholder with your API key:
-
Open the Application Locally:
- Open
proxeval.html
in your web browser to start using the tool. =======
- Open