Replacing Metered Property Measurement SaaS with USDA NAIP, Turf.js, and Browser PDF Takeoffs
A surprising chunk of exterior contracting software still charges $1.50 to $2.50 every time a homeowner draws a polygon on a map. That made sense in 2016 when high-res imagery licensing required expensive backend contra
A surprising chunk of exterior contracting software still charges $1.50 to $2.50 every time a homeowner draws a polygon on a map.
That made sense in 2016 when high-res imagery licensing required expensive backend contracts. Today, public-domain US orthoimagery and geodesic math libraries run smoothly inside a normal mobile browser tab.
When we built CurbScale, we wanted to kill per-search metering for outdoor contractors while keeping area accuracy tight. We also open-sourced our standalone geodesic geometry core at 0xnirlin/curbscale-takeoff so anyone can inspect the math.
Here is how the measurement pipeline works under the hood, what accuracy we benchmarked, and how browser GIS compares against metered SaaS tools like DeepLawn or SiteRecon.
1. Imagery Without Per-Lookup Licensing Fees
Most metered property apps mark up commercial imagery APIs on every address lookup. Across the contiguous United States, USDA NAIP (National Agriculture Imagery Program) orthoimagery is public domain and consistently hits 0.6m to 1.0m ground resolution.
In CurbScale, MapLibre GL renders public-domain USDA NAIP tiles directly. An optional AI clarity pass (CurbScale Vision Enhance) sharpens soft roof edges and garden beds when imagery looks hazy. Users can toggle straight back to the raw NAIP tile at any second to verify edges. Because base imagery is public domain and repeat lots stay cached, redrawing a yard 10 times costs the contractor $0.
2. Geodesic Polygon Math with Cutout Subtraction
Flat Web Mercator pixel math introduces severe area distortion as latitude moves north. Naive planar area calculations in EPSG:3857 drift over 30% in northern US states.
Instead, every polygon drawn via Terra Draw on MapLibre stays in WGS-84 (EPSG:4326) coordinates. Area and cutouts run through @turf/area and @turf/difference:
import area from "@turf/area";
import difference from "@turf/difference";
import { featureCollection, polygon } from "@turf/helpers";
const SQ_METERS_TO_SQ_FEET = 10.763910416709722;
export function computeNetSqft(
outerRing: [number, number][],
cutoutRings: [number, number][][]
): { grossSqft: number; cutoutSqft: number; netSqft: number } {
const outer = polygon([outerRing]);
const grossSqft = area(outer) * SQ_METERS_TO_SQ_FEET;
let remaining = outer;
for (const ring of cutoutRings) {
const hole = polygon([ring]);
const diff = difference(featureCollection([remaining, hole]));
if (diff) remaining = diff as typeof outer;
}
const netSqft = Math.max(0, area(remaining) * SQ_METERS_TO_SQ_FEET);
const cutoutSqft = Math.max(0, grossSqft - netSqft);
return {
grossSqft: Math.round(grossSqft),
cutoutSqft: Math.round(cutoutSqft),
netSqft: Math.round(netSqft),
};
}
Why boolean difference matters in production: homeowners constantly draw overlapping cutouts, like a house footprint clipping a back patio or pool deck. Subtracting the raw sum of cutout areas double-counts that overlap and under-quotes the job. Sequential @turf/difference guarantees no square foot gets subtracted twice.
You can read the pure measurement helpers and run the unit test suite in our MIT repo: github.com/0xnirlin/curbscale-takeoff.
3. Client-Side PDF Blueprint Takeoffs with pdfjs-dist
Commercial HOA sealcoating and new-construction landscaping often start from a civil PDF site plan because satellite imagery still shows bare dirt.
Our Blueprint Takeoff Tool renders multi-page architectural PDFs locally in the browser using pdfjs-dist. Estimators calibrate a known scale bar (like clicking two ends of a 50 ft curb line) to lock feetPerPx. Planar shoelace area and polyline length math then run completely client-side without uploading confidential client blueprints to a metered server.
4. Real Benchmark Accuracy Results
Rather than quoting vague claims, we tested both engines against known reference dimensions:
- White House South Lawn (WGS-84 Aerial NAIP): -0.53% delta from published turf area.
- Regulation US Football Field (WGS-84 Aerial NAIP): +1.06% delta from standard field dimensions.
- Calibrated Commercial Site Plan Beta (Browser PDF Takeoff): -0.11% delta against scaled blueprint dimensions.
Staying within +/-1.5% is far tighter than field material variance. Asphalt sealer coverage alone swings 10% to 15% depending on pavement porosity.
5. Browser GIS vs Metered SaaS Models
- CurbScale runs flat $49 to $149/mo ($0/search) with unlimited free redraws, browser PDF takeoffs, plus an embeddable 4-trade homeowner widget.
- DeepLawn charges $120 to $1,500/mo plus $1.50 to $2.50 overages per search, with extra monthly add-ons for geopricing ($85) and extra seats ($22/seat).
- SiteRecon bills roughly $1 to $2 per acre with 12-month contracts on Growth tiers and offers no homeowner website widget.
- PropertyMeasure.ai uses per-order metered credits without an embeddable instant quote form.
Honest Tradeoffs
USDA NAIP imagery updates every 1 to 2 years, so brand-new subdivisions built last month may still show grading dirt until the next capture pass. Shipping the browser PDF blueprint takeoff alongside the satellite tool closes that gap cleanly. Estimators measure straight from the builder's civil PDF when imagery lags. On residential jobs, homeowners also attach phone photos so CurbScale Vision AI flags tall grass or tight gates before a truck rolls.
Try the free aerial measurer (no login) at curbscale.com/measure or test a civil plan on curbscale.com/tools/blueprint-takeoff.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.