Data API Routes to Nearest Read Replica
Supabase's API load balancer now routes read-only Data API (PostgREST) requests to the geographically nearest Postgres read replica.
Supabase's API load balancer now routes read-only Data API (PostgREST) requests to the geographically nearest Postgres read replica.
An Uber-style consumer ride app can be built with Flutter on top of Supabase, using PostGIS geography columns to store driver locations and Supabase Realtime to stream the driver's position onto a Google Map.
Live location sharing is built by having a Telegram bot running in a Supabase Edge Function (grammY on Deno) capture edited-location updates and write them to Postgres through a PL/pgSQL RPC.
PostGIS can generate Mapbox Vector Tiles on demand from Postgres rows, so a MapLibre GL client can render large point datasets while transferring only the data for the current viewport and zoom level.
Protomaps lets you serve a self-hosted vector basemap as a single static PMTiles file, and Supabase Storage supports the HTTP Range Requests needed to read it directly from a public bucket.
PostGIS on Supabase handles geo data for an Ionic Angular app with a Capacitor Google Map.