RasterFlow built-in models
RasterFlow includes curated, open-source models for common geospatial use cases.
For each model’s Inference Complexity Factor, see RasterFlow Billing.
Example applications
Agricultural Field Mapping
Agricultural Field Mapping
- Detect field boundaries from Sentinel-2 imagery
- Segment crop fields across counties/regions
- Convert raster predictions to vector geometries
prue) is the successor to Fields of the World, from the same team. It takes the same inputs, Sentinel-2 planting- and harvest-season composites at 10 m, and returns the same non_field_background, field and field_boundaries bands. Its composite loss functions and targeted data augmentations improve accuracy on the Fields of the World benchmark, and make predictions more consistent across changes in illumination, spatial scale and geographic location. Use full calendar-year dates, such as January 1, 2024 through January 1, 2025, for the 2024 composites.- When to choose it: when you want the newer model, or want to compare it with Fields of the World on your area of interest. To continue an existing Fields of the World analysis, use Fields of the World.
- License: CC-BY-4.0
- Citation: Muhawenayo et al., PRUE: A Practical Recipe for Field Boundary Segmentation at Scale, CVPR 2026 (arXiv:2603.27101)
Urban Infrastructure Detection
Urban Infrastructure Detection
- Identify sidewalks, crosswalks, and pedestrian pathways
- Generate detailed maps for urban planning
- Analyze accessibility from high-resolution aerial imagery
Canopy Height Estimation
Canopy Height Estimation
- Predict tree canopy heights from aerial imagery
- Monitor forest health and vegetation structure
- Support conservation and urban forestry initiatives
meta-chm-v2) is Meta’s DINOv3-based canopy height model. Like v1, it takes 60 cm NAIP RGB imagery and returns canopy height in meters. Compared with v1, it reduces the underestimation of tall forests and better preserves canopy edges and gaps.- When to choose it: when you need the newer model, or want to compare it with v1 on your area of interest. To continue an existing v1 analysis, use v1. The two models share an input resolution, but their predictions aren’t interchangeable.
- License: check the DINOv3 License for your use case.
Rural Road Detection
Rural Road Detection
- Identify roads, especially in rural environments
- Map road networks to support routing and navigation
- Detect road network changes to keep maps up to date
Text-Prompted Object Detection
Text-Prompted Object Detection
- Detect objects from a natural language prompt
- Return georeferenced bounding boxes or polygons with confidence scores
- Skip vectorization, since output is already vector
Bring your own model
The built-in models are a starting point, not a limit. Export a custom PyTorch model to a RasterFlow-compatible format, register it, and run it at scale over a mosaic alongside the built-in models. See the Bringing Your Own PyTorch Model to RasterFlow notebook for the complete workflow, from model export to scalable raster inference.Running model inference
There are two options for running model inference in RasterFlow:- Run an end-to-end task that ingests the required imagery, generates a mosaic and runs the model using a pre-configured recipe:
predict_mosaic_recipe, orpredict_mosaic_geometries_recipefor SAM3’s text-prompted geometries. - Run a model, including your own, on an existing mosaic with
run_mosaic_inference, or on Cloud Optimized GeoTIFFs withrun_cog_inference.
model_recipe picks the built-in model: ftw, tile2net, meta-chm-v1, meta-chm-v2, chesapeakersc or prue.
The examples on this page run RasterFlow through the Tasks API, in two tabs. Python uses the Wherobots Python SDK, and API calls the REST API with
curl. Outside a Wherobots notebook or job, both need a Wherobots API key in WHEROBOTS_API_KEY. Each example starts a task run; to wait for it and read its results, see Get started and Run RasterFlow Tasks.Inspecting model outputs on a map
Inference writes its predictions as a Zarr store at a single native resolution, so a map client has to stream full-resolution pixels at every zoom level. Build overview levels on the prediction store first, then view the visualization-ready store:wherobots_gl.Map() widget. Prior to vectorizing, view the raw prediction scores on the map to pick a threshold.
See Build Multiscales for the full build_zarr_multiscales workflow and Visualize RasterFlow Outputs for the viewing options.
Vectorization of model outputs
Convert raster predictions to vector geometries for further spatial analysis with thevectorize_mosaic task. This example vectorizes the road band of a public ChesapeakeRSC prediction store:
features must match band names in the prediction store, and threshold is compared directly with each pixel value. mosaic_uri also accepts a mosaic index, in which case every store it lists is vectorized.
Vectorization enables you to:
- Join with other vector datasets (e.g., cadastral data, yield records)
- Calculate area statistics for each field
- Perform spatial queries in WherobotsDB
- Export to standard GIS formats for visualization
vectorize_mosaic for every input and the output columns.
API reference
For detailed API documentation, see:- Run a task -
POST /tasks/{taskName}/runs - Get a task run - state, results, and errors
- Wherobots Python SDK -
wb.tasksandwb.task_runs

