AirportVector

FOR LOGISTICS Couriers · express · last mile · e-commerce

The code is the
delivery zone.

An AirportVector code already contains the nearest airport hub, the direction and the distance. Your system can quote, zone and route a parcel from the code alone — no geocoding call, no address clean-up.

DWC 52819 16159
Hub
DWC · Al Maktoum, Dubai
Direction
2 = North
Leading 5s
One 5 · within 40 km
Distance
20.5 km → Zone 2

Read straight from the code — before any lookup.

01 Why logistics teams care

Pricing, hub assignment and driver hand-off all start with the same question: how far is this from the hub? AirportVector answers it inside the code.

Instant rate quotes

√(X² + Y²) is the exact ground distance to the airport. Map it to your price bands at checkout — in microseconds, offline, with no geocoding bill.

Automatic hub assignment

The first three letters are the nearest commercial airport. Route the parcel to that hub, or to a hub you map it to.

Unaddressed places

Rural homes, new estates, construction sites, farms, beaches. If it has a GPS position, it has a code — even where no street address exists.

Driver-friendly

“NW of Trichy airport, about 5 km” makes sense to a person. Drivers can sanity-check a drop before they set off.

One format, 234 countries

4,133 commercial airports anchor every point on Earth. The same code format works across borders, oceans and remote regions.

Runs on your servers

Plain maths plus a small airport file. No per-lookup fees, no dependency on a third-party service to stay online.

02 Zone calculator

Paste a list of AirportVector codes (one per line) and set your distance bands. Everything runs in your browser — nothing is uploaded.

Your distance bands (km from hub)
Zone 1 up to km
Zone 2 up to km
Zone 3 up to km
Zone 4 up to km
Remote beyond that

Results

CodeHubDirectionLocalityDistanceZone
Loading airport list…

03 How it fits your flow

  1. CaptureCustomer shares a code — from our site, your app's “use my location” button, or typed on a form.
  2. Zone & quoteYour system reads hub + distance from the code and applies your rate card instantly.
  3. Assign & routeThe parcel goes to the hub in the code (or your mapped depot). Decode to lat/lon for turn-by-turn.
  4. DeliverThe driver sees “5.5 km NW of TRZ” plus the exact pin — a human check and a precise target.

04 Compared with what you use today

Street addressLatitude / longitudeGeneric grid codesAirportVector
Works where there's no addressNoYesYesYes
A person can read roughly where it isYesNoNoYes
Tells you the nearest hubNoNoNoYes
Tells you the distance (for zoning)NoAfter calculationNoYes, exact
Needs a lookup serviceGeocoderNoVariesNo
Short to type or sayLongLongYesYes (10–17 chars)

05 Integrate in an afternoon

Reference libraries in Python and JavaScript, tested against each other on 78,000+ cases. A hosted API is available to pilot partners.

Pythonrate quote
import airportvector as av

def zone_for(code, bands=(15, 50, 150, 500)):
    km = av.distance_from_anchor_m(code) / 1000
    hub = av.parse(code).anchor
    zone = next((i + 1 for i, b in enumerate(bands) if km <= b), 5)
    return hub, round(km, 1), zone

zone_for("TRZ 55511 79566")   # ('TRZ', 5.5, 1)
JavaScriptcheckout
OAVG.loadRegistry(await (await fetch("/anchors.json")).json());

const code = OAVG.normalize(input.value);   // validates
const km   = OAVG.distanceFromAnchorM(code) / 1000;
const hub  = OAVG.parse(code).anchor;       // "TRZ"
const pin  = OAVG.decode(code);             // {lat, lon}

Pilot partners wanted

We're working with a small number of couriers and delivery platforms to measure the impact on real routes.

You get

  • Hosted API access during the pilot
  • Help mapping codes to your hubs and rate card
  • A “share my location code” link for your customers

We measure together

  • Time to quote and assign a parcel
  • Failed or delayed first-attempt deliveries
  • Driver calls to customers for directions
Request a pilot

Draft specification v4. Airport coordinates are being verified against official sources before a stable release.