define global vs zone-specific rules in a gbfs 3.0 geofencing_zones.json feed

domain: gbfs.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Read the current geofencing_zones.json section of the live GBFS reference before implementing, since v3.0 replaced the old clockwise/counterclockwise polygon winding-order convention entirely.
  2. Separate restrictions that apply everywhere (global rules) from restrictions scoped to a specific polygon (zone-specific rules) per the v3.0 model.
  3. Reference the vehicle_type_ids array (plural, renamed from the earlier singular field) on each rule to scope it to particular vehicle types.
  4. Cross-check station_information.json's is_virtual_station and station_area fields, since a virtual station's station_area takes precedence over ride_start_allowed/ride_end_allowed rules in overlapping geofencing zones.
  5. Visualize the finished zones using the GBFS Validator's visualization tool before publishing to catch overlapping or inverted polygons.

Known gotchas

Related routes

configure opentripplanner's gbfs vehicle-rental updater including geofencing zone restrictions
docs.opentripplanner.org · 5 steps · unrated
roll out a manifest.json discovery index for a multi-city gbfs 3.0 deployment
gbfs.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans