RideKit
Docs/Reference/Mexico City airport: drop-off at the terminal, pickup outside

Mexico City airport: drop-off at the terminal, pickup outside

Built: 2026-11-03. Written for operators in Mexico and for whoever maintains the code.

At Mexico City airport (AICM), app drivers may drop passengers off at the terminals but may not pick them up inside the federal zone. Pickups happen outside it, for example:

  • Blvd. Puerto Aéreo / Circuito Interior for Terminal 1;
  • Av. Fuerza Aérea Mexicana for Terminal 2.

Fines under the federal roads law reach 500 UMA, and the Guardia Nacional runs operations against drivers. The official spots move from time to time: a new zone was reported in May 2026, and court rulings keep changing the rules. So everything below is set by the operator, not built into the code.

How to set it up

Both zones are drawn in Admin → Zones.

  1. The federal zone. Draw a zone of type Restricted over the area where pickups are forbidden. Leave Pickups blocked, and write the operator's own sentence in Message, e.g. "Por norma federal, en el AICM las apps solo recogen en los puntos autorizados." Riders see it.
  2. The airport. Draw an Airport zone over the terminals and add its pickup points:
    • put each point where pickups ARE allowed. A point may be outside the airport zone and outside the federal zone;
    • give each point its terminal;
    • add walking instructions per language ("Sal por la puerta 6, cruza el puente peatonal…");
    • turn on Only designated pickup points.

What the rider sees

  • Pin at the terminal (inside the airport zone): the confirm screen shows the airport's pickup points grouped by terminal. Each point says how far a walk it is. The chosen point shows its walking instructions and a link that opens walking directions in the phone's maps. The booking is made from the point: that is where the driver goes and the address both people see.
  • Pin in the federal zone but off the airport zone (a car park, the road outside): the same picker appears under "Pickups aren't allowed here" and the operator's message, offering the points within 2.5 km, nearest first. A booking attempted anyway is refused with the same points.
  • Pin where pickups are forbidden and no point is within a walk: the rider is told to move the pin.

A point can only be booked from within 2.5 km of it, so nobody books an airport point from across town.

What the driver sees

  • On the offer: "Designated pickup point: {point}. Pick up only there; stopping at the terminal can be fined."
  • On the trip, while heading to the pickup and waiting: "Pick up only at {point}. Don't stop at the terminal: the airport can fine you."

Code

  • backend/src/geo/airport-rules.ts: pickupPointsNear (the points within a walk, nearest first) and metresBetween;
  • geo.service.ts:
    • pickupPointsNear;
    • airportWithPoint (a point's airport, wherever the point stands);
    • isServiceable now says which restricted zone refused;
  • geo.controller.ts: GET /geo/pickup-check?lat=&lng=;
  • rides/rides.service.ts:
    • booking a point outside its airport's polygon;
    • the pickup_restricted refusal with points;
    • pickup_point on the driver's ride views;
  • rides/dispatch-offer.service.ts: pickupPoint on the offer;
  • rider app:
    • src/components/AirportPickupPoints.tsx;
    • src/lib/airport-points.ts;
    • the confirm screen;
  • driver app: src/components/OfferSheet.tsx and app/(app)/trip.tsx.

Check locally

Confirm the current authorised pickup spots with AICM and your legal team before each season, and move the points in Admin → Zones when they change.

source: docs/airport-pickups-mexico.md (ships identically in the product zip)