MapTools
Open Data & Authoritative GIS Standards

Data Sources, Mathematical Models & Platform Methodology

MapTools combines official federal cartographic datasets, astronomical ephemeris models, and real-time Google and OpenStreetMap web services to provide sub-meter precision geospatial calculations with 100% client-side privacy.

Platform Terms & Fair Use Compliance

MapTools strictly abides by the Google Maps Platform Terms of Service and the OpenStreetMap Open Database License (ODbL). Google data (including Places, Geocoding, Routes, and Elevation) is rendered exclusively on official Google vector map canvases with full brand attribution and terms links. Nominatim requests send a custom, identifying User-Agent and adhere strictly to the 1 request/sec rate limit. Coordinates from live GPS are processed solely inside the user's browser memory and are never persisted to disk or server logs.

Google Maps Platform APIs (Live & Interactive)

Google Maps JavaScript API

Interactive map canvas, vector rendering, custom overlay markers, and client-side viewport controls.

Official Documentation
Google Places API (Autocomplete)

Address autocompletion, business search, and location query disambiguation.

Official Documentation
Google Geocoding API

Forward and reverse geocoding from postal addresses to WGS84 coordinates.

Official Documentation
Google Routes / Distance Matrix API

Real-time driving, walking, and cycling route matrices, ETAs, and waypoint optimization.

Official Documentation
Google Elevation API

High-precision surface elevation samples and profile interpolations along paths.

Official Documentation
Google Time Zone API

Time offset and daylight saving time calculations for arbitrary lat/long coordinates.

Official Documentation
W3C Browser Geolocation API

Client-side hardware GPS and Wi-Fi triangulated position streaming with zero server storage.

Official Documentation

Open Map Tiles, Geocoders & Routing

OpenFreeMap Tiles

Free, public vector tile hosting powered by OpenStreetMap and Bellerophon styling.

Official Documentation
OpenStreetMap (OSM)

Global open geographical database licensed under the Open Database License (ODbL).

Official Documentation
Photon Geocoder (Komoot)

High-speed, multilingual OSM-based address search and autocompletion fallback.

Official Documentation
Nominatim OpenStreetMap Geocoder

Reverse geocoding engine querying administrative boundaries and point entities.

Official Documentation
Valhalla Routing & Isochrones

Open-source multimodal routing engine powering reachable travel time contour isochrones.

Official Documentation
FOSSGIS Routing Server

Community-funded Valhalla endpoint for walking, bicycling, and driving calculations.

Official Documentation

Boundaries, Census Demographics & TopoJSON

US Census Bureau TIGER/Line Files

Official topological boundaries for US states, counties, census tracts, and congressional districts.

Official Documentation
us-atlas (TopoJSON of TIGER)

Optimized TopoJSON geometries for fast in-browser rendering of US states and counties.

Official Documentation
Natural Earth Vector Data (1:50m)

Public domain cartographic data for world countries, coastlines, and physical geography.

Official Documentation
US Census Population Estimates Program (PEP)

Annual population counts and density statistics for US metropolitan areas and counties.

Official Documentation
US Census Gazetteer Files

Official geographic land and water area dimensions, center coordinates, and FIPS codes.

Official Documentation
American Community Survey (ACS)

Demographic, socioeconomic, median household income, education, and age metrics.

Official Documentation
US Census ZIP Code Tabulation Areas (ZCTAs)

Generalized areal representations of United States Postal Service ZIP code routes.

Official Documentation
ONS Postcode Directory (Open Data)

UK postcode district and place reference data published as open data by the Office for National Statistics.

Official Documentation
FEMA National Flood Hazard Layer (NFHL)

Official US flood hazard data from the Federal Emergency Management Agency: Special Flood Hazard Areas, flood zones (AE, VE, X and others), base flood elevations and flood insurance rate map panels.

Official Documentation

Census Demographics & Population Data

US Decennial Census 2020 (PL 94-171)

Block and tract-level population counts from the 2020 census, queried through the Census API.

Official Documentation

Elevation, Terrain & Topographic Digital Models

Open-Meteo Elevation API

Real ground elevation from the Copernicus DEM and SRTM digital elevation models (about 90 m grid). Free, open data — the live source behind the elevation tools.

Official Documentation
AWS Terrain Tiles (USGS 3DEP + SRTM)

Global digital elevation models synthesized from USGS 3DEP, SRTM, and ArcticDEM.

Official Documentation
USGS 3D Elevation Program (3DEP)

High-resolution bare-earth lidar and radar elevation models across the United States.

Official Documentation

Aeronautical, Magnetic, Astronomical & Vector Engines

IANA Time Zone Database

Authoritative database of standard time offsets, history, and daylight saving rules.

Official Documentation
World Magnetic Model (NOAA / NCEI)

Standard model of the Earth geomagnetic field for magnetic declination computation.

Official Documentation
SunCalc Astronomical Library

Accurate ephemeris calculations for solar and lunar zenith, azimuth, twilight, and phases.

Official Documentation
NOAA Shoreline / Coastline Data

High-water coastline vectors and maritime territorial boundaries.

Official Documentation
US National Park Service (NPS) Open Data

Boundary outlines and visitor center coordinates for all 63 US National Parks.

Official Documentation
Turf.js Spatial Analysis Engine

Client-side computational geometry: geodesic buffers, Voronoi, convex hulls, and polygon boolean math.

Official Documentation
d3-geo Cartographic Projections

Mathematical spherical projections including Albers USA, Orthographic, Mercator, and Equal Earth.

Official Documentation
MapLibre GL JS

Open-source WebGL client for interactive, GPU-accelerated vector tile rendering.

Official Documentation
Aviation Weather Center (NOAA)

Official US aviation weather observations (METAR) and forecasts, updated continuously.

Official Documentation
RFC 7946 GeoJSON Specification

The internet standard for GeoJSON: geometry types, coordinate order, and ring-closure rules.

Official Documentation
DarkSky International (IDA)

Certified Dark Sky Places list and Bortle-scale reference for night-sky quality.

Official Documentation
Naismith's Rule (1892)

Published hiking time-estimation formula: distance allowance plus ascent allowance.

Official Documentation
NANPA (North American Numbering Plan)

US area-code assignments and the reserved fictional 555-0100–555-0199 range used for safe test phone numbers.

Official Documentation
Overpass API (OpenStreetMap Query Service)

Read-only query service over live OpenStreetMap data, used to find mapped schools, charging stations, restrooms and fuel stations near a point.

Official Documentation
Postcodes.io (UK Postcode Geocoding)

Free open API over UK postcode geography built from the ONS Postcode Directory and OS Open Names; returns the nearest postcode to a coordinate.

Official Documentation
Ordnance Survey National Grid (OSGB36)

Great Britain's National Grid reference system on the OSGB36 datum, converted with the published Transverse Mercator projection and Helmert datum transformation.

Official Documentation
NIST SI Conversion Factors (SP 811)

Exact unit conversion factors from the US National Institute of Standards and Technology, including the international foot and the US survey foot (deprecated December 31, 2022).

Official Documentation

Mathematical Formulas & Ellipsoidal Geodesics

1. Great-Circle Geodesic Distance (Haversine & Vincenty)

Calculates the shortest distance over the Earth ellipsoid (WGS84 mean radius R = 6,371,008.8 meters).

a = sin²(Δφ/2) + cos(φ1) · cos(φ2) · sin²(Δλ/2) c = 2 · atan2(√a, √(1−a)) d = R · c

2. Detour Efficiency Percentage

Quantifies road network curvature and topographical deviation relative to theoretical straight-line flight:

Detour % = ((Driving Distance − Crow-Flies Distance) / Crow-Flies Distance) × 100

3. Terrestrial Horizon Distance with Atmospheric Refraction

Accounts for downward bending of light rays through the troposphere using the standard terrestrial refraction coefficient k ≈ 0.14 (R_effective ≈ 7/6 R):

d ≈ √(2 · (7/6 R) · h) ≈ 3.86 · √h  (where h is observer eye height in meters, d in kilometers)

Elevation Data: DEM Sources & Resolution

Elevation answers come from the Open-Meteo elevation API, which serves the Copernicus digital elevation model (with SRTM radar data underneath) as a grid of heights roughly 90 meters apart. The elevation profile tool samples that grid at even steps along your route — the sampling is done by our own API endpoint, and if the elevation service is unreachable the tool reports an error instead of estimating a number.

Grid resolution is the honest limit of this data. One cell averages everything inside about 90 × 90 meters of ground, so a summit cross, a cliff edge, or a road cut through a ridge can read several meters away from a surveyed value, and a DEM describes bare earth or surface depending on the model — tree canopy and buildings can shift a reading. For hiking, cycling, and site planning this accuracy is genuinely useful; for construction or drainage design it is not a substitute for a survey.

Boundary & Census Data

"What county / city / ZIP am I in?" answers are point-in-polygon tests against US Census Bureau TIGER/Line boundary files: the tool takes the coordinate, walks the boundary polygons, and returns the jurisdiction that contains the point, together with its FIPS code. Demographic figures come from Census Bureau published files — decennial counts and the bureau's own population estimates — so a number on this site can always be traced to a table the Census published.

One distinction matters: ZIP codes are USPS delivery routes, not areas. Area results use ZCTAs (ZIP Code Tabulation Areas), the Census Bureau's statistical approximation built from the most common ZIP code in each census block. At boundaries a ZCTA answer and an address-exact USPS answer can differ, and for a specific street address the USPS is right.

Honest Accuracy Limits

Distances. Geodesic math on the WGS84 ellipsoid is accurate to well under 0.5% on any line; the classic haversine shortcut adds at most about half a percent. If two of our tools disagree by less than that, they are both inside their error budget — the inputs and the model, not an arithmetic mistake, explain the difference.

Locations. An answer is only as good as its input coordinate. A phone under open sky is typically within 3–10 meters; a desktop browser locating by Wi-Fi or IP can be off by hundreds of meters, and a geocoded address can land on a street centroid rather than a rooftop. Boundary answers within a few meters of a border should be treated as "on the line" and checked against the official map.

Drive times. Isochrones and route times come from routing engines over OpenStreetMap road data. They model the road network, not today's traffic, roadworks, or weather — plan with margin, especially where a ferry, a mountain pass, or a single bridge carries the route.

Methodology Questions

Which formula does MapTools use for distance?

Geodesic formulas on the WGS84 ellipsoid for headline distances, with the haversine formula (mean Earth radius 6,371,008.8 m) used where speed matters on short hops. The difference between the two is at most about 0.5% — roughly 500 meters over a 100 km line — and the tool pages work with the geodesic figure.

How accurate is the elevation data?

Elevation is sampled from the Open-Meteo elevation service, which serves the Copernicus DEM and SRTM on a grid of roughly 90 meters. Expect values within a few meters of surveyed heights on open terrain, and larger errors on cliffs, narrow ridges, deep urban canyons, and tall buildings, where one grid cell averages steep changes.

Why does my ZIP code result differ from the USPS website?

Because ZIP codes are delivery routes, not areas. Our area results use Census ZCTAs — statistical areas built from the most common ZIP code in each block — while USPS answers for a specific street address. Near a boundary the two can legitimately disagree; the USPS answer wins for an exact address.

Where do county and boundary answers come from?

From the US Census Bureau TIGER/Line files, tested with a point-in-polygon check against the boundary polygons. Those files are the federal reference for state, county, place, and district boundaries, and they are what courts and agencies start from too — though a legal determination always rests on the official survey, not on any website.

Can I use MapTools for legal, surveying, or engineering decisions?

No. MapTools is built for planning, learning, and everyday decisions. It is not survey-grade: do not set a property line, file a legal document, or design a structure from its numbers. For that, hire a licensed surveyor and use the authoritative datasets listed on this page directly.