Skip to content

RallyPin

Navigation product for rally and motorsport events with specialized routing and mapping requirements.

I proposed a self-hosted mapping and routing solution, led the engineering effort, and worked across geospatial processing, backend services, infrastructure, and technical coordination.

RallyPin combines rally discovery, stage maps, and navigation. The existing mapping approach carried significant recurring costs, so I researched alternatives and proposed a self-hosted architecture that could retain control over map data and routing behavior.

RallyPin product banner showing route screens and the app on a phone.
RallyPin navigation experience (team product context).

Selecting a self-hosted architecture

Context

Continuing to rely entirely on commercial mapping services kept a significant recurring operational cost in the product.

I needed an alternative that preserved control over routing rules, map updates, infrastructure, and future product requirements.

Implementation

I evaluated an architecture based on OpenStreetMap data and self-hosted geospatial services, then presented the approach to the company.

I led the engineering effort to implement the infrastructure and adapt it to the product's navigation requirements.

Results

  • Recurring operational costs fell by approximately $7,000 per month, excluding development costs.
  • The product gained direct control over map data, routing behavior, and deployment.

Geospatial data processing

I implemented infrastructure for processing OpenStreetMap data and preparing it for map rendering and routing.

The workflow used osmium and Planetiler for data preparation, Martin for vector tiles, and PostgreSQL with PostGIS for geospatial storage.

I designed the process to support repeatable data preparation and updates instead of requiring a manually reconstructed mapping environment for every release.

Custom routing

I worked with OSRM to provide self-hosted routing and adapt its behavior to rally navigation.

The solution accounted for road restrictions, waypoint-based routes, speed information, lane guidance, and dynamic road closures.

Those requirements made control over the routing engine particularly valuable compared with relying exclusively on a general-purpose navigation API.

Backend and infrastructure

I developed backend functionality with Python, FastAPI, Node.js, and PostgreSQL.

I deployed and maintained the system on Hetzner servers using Docker and Nginx, with separate development, staging, and production environments.

I also automated geospatial data updates and prepared the infrastructure for repeatable deployments.

Navigation product context

Rally discovery and stage navigation in the product. The mobile frontend was primarily handled by another engineer.

RallyPin rally list with search, a rally route map, and event summary details.
Rally discovery map (team product context).
RallyPin stage route map with spectator and stage-point markers and distance details.
Stage points and route visualization (team product context).

Collaborative mobile navigation

Working with another Flutter engineer, I coordinated the integration of mapping and routing into the mobile application.

The Flutter and MapLibre solution supported GPS-based navigation, turn-by-turn instructions, text-to-speech, and route recalculation.

We paid particular attention to asynchronous navigation state, changing GPS positions, and race conditions during route recalculation.

Technical leadership and business impact

My primary contributions were backend development, geospatial processing, infrastructure, architectural decisions, and technical coordination. The mobile application was developed collaboratively.

The project required me to own a business problem, assess alternatives outside my primary mobile specialization, and deliver a measurable operational result.

Project technology

Select a technology to see related projects.

Backend & API

Mapping & Routing

Geospatial Data Engineering

Infrastructure & DevOps

Administration & Security

Product capabilities

Admin panel

Deployment

Flutter & Architecture

Mobile Navigation & UI

Networking & Local Storage

Mobile Release Engineering

Navigation systems

No linked projects yet.