How FlowDirt lays out a mountain bike trail
FlowDirt is a free web app for planning new mountain bike trails. Mark where a trail starts and ends, or pick a trailhead and a length, and it finds a rideable line across the ground between them on lidar elevation. The line stays within the grade you choose, off land you don't have permission for, and off paved roads. You get the trail's numbers and a GPX file to flag it in the field.
Four ways to lay out a trail
Start and end
Click where the trail starts, then where it ends, and press Find the trail. Click again to add a point it has to pass. Drag a flag or the line itself to reshape it.
No set end? Place the start, then draw the line it should end on, like a ridge, or choose a height. FlowDirt climbs at your grade, through any points you add on the way, and ends wherever it first gets there. Change the average grade and find it again: the line before stays on the map, dashed, with its length, climb and grades beside the new one's.
Loop
Click a trailhead, pick a length (3, 5 or 8 km, or 2, 3 or 5 miles) and press Find loops. FlowDirt suggests up to three loops that head out in different directions. Each one climbs out one way and comes back down another, so the descent doesn't run beside the climb.
Point by point
For builders who already know the line they want. Click your way along it, and FlowDirt joins each point to the last with a rideable leg as you go. Click the first point again to close a loop.
Draw
Draw the line yourself: click along an existing or planned trail, or import a track from a GPX, KML, KMZ or GeoJSON file, and FlowDirt measures it as drawn: its grades, steep stretches, turns, crossings and the land it crosses. Drag a point to move it, or drag the line to add one. Imported files are read in your browser and aren't uploaded.
Edit by hand
On a trail FlowDirt found, click a stretch and choose Edit by hand (or edit the whole trail from the trail card): the stretch becomes points you move yourself, joined straight and measured as drawn, while FlowDirt keeps finding the rest. Lock a stretch to keep its line as you change the trail around it.
Areas and lines
Outline an area the trail must avoid, or one it must stay inside, and draw a line it must never cross: along a cliff band, a gully, a creek or a fence, or a contour to stay above. Any of them can apply to one trail or to all of yours.
How it chooses the line
FlowDirt loads 1 m lidar elevation, public land, parcels, roads and existing trails for the area around your flags. It searches a 2 m grid built from them for the line that costs least, then measures that line back on the 1 m lidar.
Three rules are never broken:
- No piece steeper than the max grade. 15% by default, 18% on a trail ridden downhill. A downhill (DH) trail can pitch to 35%.
- Only land you can use. Public land open to bikes and land with no parcel record. Private parcels, golf courses and school grounds only once you say you have permission.
- Never along a paved road or a trail closed to bikes. It can cross either.
Everything else is weighed against length:
- Grade above what the trail aims for. FlowDirt's default settles at about 6%, the median of Boise's flow trails it was tuned on.
- The half rule: the trail's grade should be no more than half the hillside's slope, so water runs off the tread instead of down it. More on trail grades.
- How the trail turns back: climbing turns on gentler ground, switchbacks on steeper ground, turns stacked too close together, and legs that come back within 20 ft (6 m) of each other.
- Creek and gully crossings, placed at the narrowest spot, and stretches running along a drainage, a dirt road or an existing trail.
- Loose soil under turns, from the USDA soil survey.
Guidelines it can follow
Lay a trail out to a published standard: IMBA's trail difficulty ratings, US Forest Service trail classes, AusCycling's difficulty ratings or the US Access Board's accessible trail slopes. FlowDirt also has three levels of its own: Gentle, Flow and Technical. The trail card then shows each of the standard's checks as met or missed, with the stretch to look at. See the numbers for each level.
What you get
- Length, climb and descent, average grade and steepest grade.
- The stretches worth a look on the ground: steep pitches, half-rule stretches, tight turns, crossings, and anywhere the trail runs back beside itself.
- Every piece of land the trail crosses, in order, with a Yes or No for each.
- An elevation profile.
- A proposal to print or save as a PDF, for the land manager, each landowner and the crew: a summary and map, the standard's checks, grades and soils, the land it crosses with a page for each private parcel, field maps with stations, and a log of every turn and crossing.
- A share link, an image, a high-resolution map for reports, and GPX, KML (Google Earth), GeoJSON and spreadsheet exports, each with the land it crosses.
Where it works
Lidar elevation (USGS 3DEP), public land (PAD-US), roads and existing trails cover the whole US. Where 1 m lidar hasn't been flown, FlowDirt falls back to coarser elevation and says so.
Private land is only as good as the parcel records. FlowDirt reads them in 20 states, statewide in some and around the main riding areas in others:
- Arizona, around Sedona, Flagstaff, Prescott and Tucson
- Arkansas
- California, around Lake Tahoe, Truckee, Mammoth Lakes, Santa Cruz and Marin
- Colorado, most counties
- Florida, around Ocala and Santos
- Idaho
- Minnesota, counties that share theirs
- Montana
- Nevada, around Reno, Carson City, Lake Tahoe and Las Vegas
- New Mexico, around Santa Fe
- North Carolina
- Oregon, around Oakridge, Bend and Hood River
- Pennsylvania, around Raystown and State College
- Tennessee, around Chattanooga
- Utah, around Salt Lake City, Park City, Moab and St. George
- Vermont
- Virginia, most counties and cities
- Washington, around Bellingham, Wenatchee and Leavenworth
- West Virginia
- Wisconsin
Outside those states, FlowDirt can't see private parcels yet, so check who owns the land before you build. In Canada there's a pilot on Vancouver Island, British Columbia, with lidar from Natural Resources Canada, parcels by owner type and BC Parks.
Common questions
Is FlowDirt free?
Yes. There's no account and nothing to install. Trails save in your browser as you work.
Is the line it finds ready to build?
No. It's a first line to walk and flag. Lidar doesn't show every rock, wet spot or tree, and only the land manager can approve a trail. Walk the line and get their OK before you build.
Does it know who owns the land?
In the states listed above it reads county and state parcel records, keeps the trail off private parcels, and asks whether you have permission for each one the best line crosses. Open a parcel and FlowDirt looks up the owner on the county's public record, so you know who to ask.
Can I check a trail I already have?
Yes. Choose Draw and click along it, or import a GPX, KML, KMZ or GeoJSON track. FlowDirt measures it against the guideline you pick.
Can I put the trail on my GPS?
Yes. Share & export gives you a GPX file for a GPS or a phone app, KML for Google Earth, and GeoJSON for mapping software. The proposal's feature log lists every turn and crossing with its latitude and longitude.
Does it work on a phone?
Yes. On a phone the panel becomes a sheet along the bottom of the map. A bigger screen is easier for laying out a long trail.
Data
USGS 3DEP lidar and topo maps, PAD-US public land, county and state parcel records, City of Boise land, US Census roads, OpenStreetMap trails and land use, the USDA soil survey, and Esri or USGS imagery. In British Columbia: Natural Resources Canada lidar, ParcelMap BC and BC Parks. Place search by Nominatim.