Our products / Geo-svc

Geo-svc

Geo-svc serves a country-to-street location hierarchy, a point-of-interest (POI) index and road-network distance as a single read-only reference API. Several hotel systems get their location data from it instead of keeping their own address data. Commercial fields have been moved to a separate service; Geo-svc stays pure geography and passes place changes to the other service through an event stream.

Location hierarchy, reverse geocode, nearby and road distance — sample request.
0
hierarchy levels
0
POI providers
0
max pods (HPA)
0
data seed files
0
tests
0+
consumer systems
What it does
Serves a country-to-street location hierarchy, a POI index, geocoding, autocomplete and road distance/matrix with Valhalla.
Who it is for
Teams that want to feed several products that need location, address and surroundings data from a single source. Currently 3+ hotel systems are consumers.
How it works
.NET 8, PostgreSQL 16 + PostGIS + ltree, Redis, Meilisearch, Valhalla. Deployed on Kubernetes with a separate migrate job.
api.http
GET /api/v2/location/reverse?lat=41.0&lng=29.0
GET /api/v2/location/suggest?q=ista
POST /routing/matrix
// responses: locale-aware, Cache-Control

Features

What it does.

  • 01

    Location hierarchy

    Country, city, district, neighborhood, street. Hierarchical queries with an ltree path, radius queries with PostGIS geography. Responses come in multiple languages based on the Accept-Language header.

  • 02

    POI index and discovery

    A category tree and external ID mapping. Azure Maps and OSM Overpass providers sit behind a router, and if one fails it switches to the other. Automatic discovery with crawl records.

  • 03

    Geocoding and autocomplete

    Forward and reverse geocoding, suggestion endpoints. Search lives in Meilisearch; data is synced through an outbox, and reindexing is done blue-green.

  • 04

    Road-network distance

    Road distance, travel time and matrix with a self-hosted Valhalla. Straight-line distance and road distance are deliberately kept separate.

  • 05

    Avoidance routing

    Hard constraints, budget arithmetic and a filter layer. If a constraint cannot be met it returns 422; if the routing engine is unavailable it returns 503; the two are never mixed up.

  • 06

    Nearby

    Finding an address from a location and listing surrounding places in a single call.

  • 07

    Event stream

    Every place change is written to the outbox; a processor forwards it to Meilisearch and to the geo.place.events Redis stream. The other service builds its own read model from this stream.

  • 08

    Scale and observability

    A two-tier cache (in-memory and distributed, with broadcast invalidation), 3-20 pod autoscaling, PgBouncer, scheduled jobs with leader election, OpenTelemetry and Prometheus.

ComparisonEach product with its own address dataGeo-svc
SourceEach system keeps its own addressesA single read-only reference API
StructureFlat address fieldsA country-to-street ltree hierarchy
DistanceAs the crow fliesRoad-network distance and matrix with Valhalla
LanguageSingle languageMultilingual responses with Accept-Language
UpdatesManual syncPropagated through an outbox and an event stream

Want a similar solution?

Tell us briefly about your project and we will get back to you.

I want a similar solution