Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Drone Route Planning Geospatial Platform

Design a geospatial platform that versions airports and no-fly zones, plans safe drone routes, and keeps route decisions reproducible as map data changes.

Problem statement

For this exercise, assume planners maintain airports, launch and delivery sites, navigable corridors, terrain constraints, and temporary or permanent no-fly zones. A client requests a drone route between two sites for a departure time and vehicle profile.

The service returns a route, cost and safety explanation, or a concrete no-route reason. Map edits require review and versioned activation, and an active restriction can invalidate planned routes.

Design the GIS schema, spatial indexes, APIs, route computation, consistency boundary, availability trade-offs, versioning, and recovery. Low-level autopilot control and weather forecasting are out of scope.

What to build

  1. Authorized planners can stage, validate, review, and atomically activate versioned airports, sites, corridors, terrain constraints, and no-fly zones.
  2. A client can request a route for endpoints, departure time, and drone profile and receive geometry, cost, map version, restriction evidence, or a stable no-route reason.
  3. A client can revalidate a stored route against current emergency restrictions and learn which rule invalidated it.
  4. Operators can reproduce a route decision from immutable map inputs, cost-model version, search parameters, and validation evidence.

At scale

  • For this exercise, assume 100 million geospatial features across 50 countries, 10,000 map edits per hour, and 20,000 route requests per second at peak.
  • Return a typical regional route within 500 milliseconds at p95 and a bounded no-route decision within two seconds at p95.
  • Ordinary reviewed map versions may activate within five minutes, while an emergency no-fly restriction must block newly validated routes within 10 seconds.
  • A route response must pin map, cost-model, vehicle-profile, and restriction-overlay versions so it can be reproduced and audited for seven years.