โ†All projects
Road Work Planner preview

2022 ยท 6 months

Road Work Planner

An Angular web application utilizing the Google Maps API, enabling city planners or companies to visually map planned road works, automatically identifying and facilitating notifications for affected addresses.

Year
2022
Duration
6 months
Built with
AngularJavaScriptTypeScript.NETGitLabC#VS Code

The project

The story

This application, developed using the Angular framework, serves as a crucial planning and communication tool for managing urban road works. It provides users (such as city officials or utility companies) with an interactive Google Map interface. Using drawing tools, users can precisely outline the geographic areas scheduled for work (e.g., fiber optic cable installation). The system then leverages geospatial processing to automatically identify all street addresses located within these drawn boundaries. Based on this list, the application integrates with notification systems to dispatch alerts via email or traditional post to affected residents and businesses, informing them about the nature, timing, and potential impact of the works.

What it does

Key features

  1. 01Deep integration with the Google Maps JavaScript API
  2. 02Interactive map drawing tools (polygon creation/editing) for defining work zones
  3. 03Automated identification of affected addresses within drawn polygons using geocoding/spatial queries
  4. 04Interface for managing road work project details (dates, type of work, description)
  5. 05Integration point for triggering notifications (e.g., via email API or internal systems)
  6. 06Robust frontend built with the Angular framework and TypeScript

Behind the scenes

Challenges

Implementing accurate and user-friendly map drawing functionality using the Google Maps API

How I solved it

Utilized the Google Maps JavaScript API extensively, particularly the Drawing Manager for user interaction and the Geometry library (containsLocation) for performing the core spatial calculations needed to determine if an address point falls within a user-drawn polygon

Efficiently performing spatial queries (points-in-polygon tests) against potentially large address datasets to identify affected properties accurately

How I solved it

Developed efficient backend logic (or utilized frontend processing for smaller datasets) to perform the address lookups based on the polygon's coordinates. This might involve calls to the Google Geocoding API or querying a spatial database.

Integrating reliably with external or internal notification services (email, postal)

How I solved it

Integrated with relevant third-party APIs (e.g., SendGrid, Twilio for email/SMS) or specific internal city/company notification platforms via API calls to dispatch the generated alerts

Designing an intuitive user interface for both map interaction and managing the associated project data

How I solved it

Designed a clear and task-oriented UI using Angular components, ensuring that drawing on the map and filling in project details felt intuitive

Handling geographic edge cases and ensuring the precision of address identification

How I solved it

Implemented careful logic to handle addresses near polygon boundaries and potentially used techniques like buffering if necessary to ensure all relevant properties were captured

Next project

Unwindr Event Planner โ†’

โ† Transport Issue LoggerAll projects