I-5 corridor by stretch
dogpolicies_i5_corridorFind dog-friendly stops along California's I-5 by named stretch, mile range, or distance ahead, with sourced restrooms, water, pet areas, dog parks, hours, and nearby exits.
Instructions
The I-5 corridor in California as eleven named stretches (strips) on the I-5 centerline, from San Ysidro (s = 0 m) to the Oregon line (s ≈ 1,281,400 m), and the dog stops in any stretch, mile range or window ahead of a point. Every stop carries its s in meters from San Ysidro, its Caltrans odometer mile, the side of the road it serves (right or left of northbound travel, or both), its distance off the freeway, the road's elevation, and restrooms, water, pet area, dog park and hours as its official source states them. A family stop is one whose official source states restrooms and a pet area or dog park. A paired stop is a freeway exit with places to stop for people nearby (located through OpenStreetMap, counted by kind, never named and not verified for restrooms) matched to the nearest DogPolicies place that allows dogs within about a mile, with its rule and source.
With no stretch, miles or point, the result is the list of stretches with their s and mile ranges and stop counts. Strips: sandiego (San Ysidro → Camp Pendleton), orange-la (Camp Pendleton → East LA), grapevine (East LA → Wheeler Ridge), kern-westside (Wheeler Ridge → Kettleman), westside (Kettleman → Santa Nella), delta (Santa Nella → Stockton), sacramento (Stockton → Woodland), valley (Woodland → Williams), tehama (Williams → Red Bluff), shasta (Red Bluff → Mt Shasta), siskiyou (Mt Shasta → Siskiyou Summit).
Examples:
"What is between the Grapevine and Kettleman?" -> strip="grapevine" (East LA to Wheeler Ridge) and strip="kern-westside" (Wheeler Ridge to Kettleman)
"The next 5 family stops northbound from Stockton" -> near={lat:37.95, lon:-121.29}, direction="north", family=true, limit=5
"Every stop between mile 300 and 340" -> from_mile=300, to_mile=340
"Exits with somewhere for people and a park for the dog in the Sacramento stretch" -> strip="sacramento", paired=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | A point on or near I-5; the window starts at the nearest point of the road | |
| kinds | No | Kinds of stops to include; all by default | |
| limit | No | Maximum stops to return | |
| strip | No | A stretch by id (sandiego, orange-la, grapevine, kern-westside, westside, delta, sacramento, valley, tehama, shasta, siskiyou) | |
| family | No | Only family stops | |
| offset | No | Stops to skip | |
| paired | No | Also list the paired stops in the window | |
| to_mile | No | End of a mile range | |
| direction | No | Direction of travel from near; north means increasing s | north |
| from_mile | No | Start of a mile range (Caltrans odometer) | |
| ahead_miles | No | Window in miles from near in the direction of travel | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |
| dog_friendly_only | No | Leave out stops where dogs are not allowed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Date the data was built (YYYY-MM-DD) | |
| stops | Yes | ||
| total | Yes | ||
| strips | Yes | ||
| window | Yes | ||
| license | Yes | ||
| axis_version | Yes | ||
| paired_stops | Yes | ||
| attribution_url | Yes | ||
| attribution_text | Yes |