Why CRIS Geofences Station Booking: The 15-Meter to 5-Kilometer GPS Algorithm Explained

Indian Railways enforces a strict two-tier GPS geofencing perimeter in the CRIS unreserved ticketing engine for two specific operational reasons: trackside passenger safety and the elimination of post-boarding fare evasion. While commuters frequently encounter confusing location warnings on their handsets, the underlying algorithm is an exact, rule-governed system designed to prevent ticket generation directly on running tracks while permitting remote booking within a defined catchment radius.

The Dual Geofence Architecture

Centre for Railway Information Systems (CRIS) mobile unreserved ticketing does not operate on a single boundary. It enforces two distinct, concentric geofences around every station, and each fence answers a different operational question.

The Inner Ring: The Strict Exclusion Boundary

The inner ring is an exclusion zone, typically 15 to 50 meters measured from the station track center line. Coordinates that resolve inside this ring are rejected outright. The system will not issue a paperless unreserved ticket to a handset whose position fix falls on the tracks, the platform edge, or the immediate ballast footprint. Booking is disabled, not just warned against.

The radius is not arbitrary. It is sized to cover the physical danger footprint: the running line, the platform strip beneath the overhead equipment, and the walking approach to the foot overbridge. Stations with wide circulating areas and multiple island platforms use the upper end of the range; smaller halts use the lower end.

The Outer Ring: The Outer Cutoff Boundary

The outer ring defines the maximum distance from which a remote booking may be generated. In the standard configuration it is 5 kilometers from the station reference point. Designated suburban corridors, notably the Mumbai Suburban network, extend the cutoff to as much as 20 kilometers to reflect the reality of continuous, high-volume short-distance travel across a dense metropolitan footprint.

Between the inner ring and the outer ring lies the valid booking band. Outside the outer ring, the app treats the user as not in the station's catchment and blocks the transaction.

BoundaryTypical RadiusOperational FunctionResult if Violated
Inner ring15 to 50 m from track center lineTrackside exclusionBooking refused
Valid bandBetween inner and outer ringPermitted GPS bookingTicket issued
Outer ring5 km, up to 20 km on suburban corridorsCatchment cutoffBooking refused

Why You Cannot Book a Ticket on the Tracks

The inner exclusion exists to defeat a specific, well-documented evasion pattern. A passenger boards without a ticket, waits until a Travelling Ticket Examiner enters the coach, and then attempts to generate a digital unreserved ticket on the spot to present as a valid booking. If the app permitted booking from track coordinates, the paperless system would legitimize precisely the conduct that Section 137 of the Railways Act, 1989 (travel without a valid ticket) and Section 138 (travel with an invalid or improperly obtained ticket) are written to punish.

The exclusion ring closes this gap. A handset inside the train, on the running line, cannot produce a fresh ticket. The request is refused at the position-validation layer before any fare or booking logic executes. It is not possible to acquire a valid ticket at the exact moment the inspection begins.

For the same reason, the coordinates directly above the track must be rejected. A location fix that resolves to the rails is evidence of either an onboard device or a deliberate spoof. In both cases, issuing a booking would be issuing a document that certifies presence where presence is the offense.

The Trackside Passenger Safety Protocol

Railway safety instructions treat the smartphone as a hazard in its own right near running lines. Standing at the platform edge or on the ballast with attention fixed on a booking screen removes the visual and auditory cues needed to detect an approaching train, a passing express, or an unscheduled movement on an adjacent line.

The 25 kV overhead equipment adds a second hazard. Sectioning and traction safety rules enforce minimum safe clearances, and any distraction that keeps a commuter near the platform edge or under the contact wire increases exposure to both movement and electrical risk. The inner geofence is therefore not only a fare rule. It is consistent with long-standing instructions that passengers should not loiter at the platform edge with attention diverted.

By refusing booking at the trackside, the application removes one reason to stand in the danger zone staring at a phone.

GPS Drift, Platform Sheds, and Cell Tower Triangulation

Handset location is not exact, and the app must operate within the physical limits of the hardware. Three failure modes produce the false errors that passengers report.

  • Signal attenuation under sheds: Concrete, FRP, and corrugated iron platform roofs at major junctions block or reflect satellite signals. The receiver falls back to a weaker fix, horizontal dilution of precision (HDOP) degrades, and the computed point can shift tens of meters. A fix that should sit in the valid band can land inside the exclusion ring or beyond the outer cutoff.
  • Cell tower triangulation versus satellite lock: When satellite lock is lost, the handset may rely on cell tower and Wi-Fi triangulation, which can be accurate only to hundreds of meters in dense areas. This coarse fix is why a user standing inside the concourse is sometimes told they are outside booking range.
  • Spoofing: Mock location and GPS-spoofing utilities can force a false coordinate, but modern Android and iOS builds flag mock providers, and the booking backend applies consistency checks across successive fixes and network data. Spoofed positions are rejected or quarantined.

These are the roots of the contradictory messages: "You are inside station premises" when the user is on the platform, and "You are outside booking range" when the user is at the booking hall door. The boundary logic is correct; the underlying position fix is not.

How Station QR Codes Bypass the Geofence Dead-Zone

The station QR poster exists because the platform shed is a satellite dead zone. It is the engineered override for the location problem described above.

Each poster carries a station identifier encoded with integrity protection, and the app resolves it against the master station list held by CRIS. Scanning it supplies an authoritative station context that satellite positioning cannot deliver under a concrete roof. The QR code does not disable the inner exclusion for the tracks; it provides a verified station locus for users who are physically within the station area but whose handset cannot obtain a clean fix.

That is why the code cannot be reproduced from a living room miles away. The identifier alone is not sufficient: the backend cross-checks presence parameters, network context, and successive reads, and rejects a scan that contradicts the handset's broader location pattern. The poster is a cryptographic station token, not a universal bypass.

Practical Station Operational Rules for Commuters

  1. For GPS booking: Stand outside the shed or in the open concourse area, clear of the booking hall edge and well away from the platform strip, so the receiver holds a clean satellite lock.
  2. For platform-shed users: Walk to the nearest official station QR poster on a pillar, wall, or gate and scan it. Do not stand at the platform edge to scan.
  3. Never book from the approach to a running line. The inner ring will refuse the request and the position exposes you to train movement.
  4. If you see "outside booking range" while inside the station, treat it as a weak-fix error: move to open sky or scan the station QR poster.
  5. On the UTS-to-RailOne transition: the RailOne application carries the geofencing, station-QR, and position-validation logic forward, so the boundary rules described here continue to govern unreserved digital bookings. Confirm the current in-app rule set on the live app, since radius values are station-specific and revised by Railway Board and CRIS instructions.