GPS Error Simulator

GPS Error Simulator

Experiment with synthetic GPS location error on a reference route you provide. A fixed east/north bias shifts every sample; independent Gaussian noise scatters each one; an AR(1) component makes neighboring sample errors persist. A numeric seed reproduces the exact run. Compare reference and observed tracks, pointwise horizontal errors, path-length difference and a distribution chart. These are mathematical examples, not measurements of a receiver, real-world accuracy or guaranteed coverage.

1. Reference path

WGS84 GeoJSON LineString (or one LineString Feature) or plain lon,lat CSV; 2–2000 points, up to 150 kB. Latitude limited to ±85° for stable local east/north offsets. CSV uses an unquoted two-column header.

2. Error model

Metres in the local east/north tangent approximation. AR(1) correlation is per adjacent sample index, not elapsed time. Bias ±1,000 m, each standard deviation 0–500 m, |rho| < 1.

Load a reference path or the example.

Comments & questions

GPS Error Simulator

Experiment with synthetic GPS location error on a reference route you provide. A fixed east/north bias shifts every sample; independent Gaussian noise scatters each one; an AR(1) component makes neighboring sample errors persist. A numeric seed reproduces the exact run. Compare reference and observed tracks, pointwise horizontal errors, path-length difference and a distribution chart. These are mathematical examples, not measurements of a receiver, real-world accuracy or guaranteed coverage.

Key features

  • Strict local WGS84 LineString or simple lon,lat CSV import for 2–2,000 points
  • Explicit unsigned 32-bit seed for reproducible Gaussian draws
  • Separate east/north fixed bias, independent standard deviation and stationary AR(1) standard deviation with sample-order correlation
  • Reference-versus-simulated route, 12-bin radial-error distribution, RMS/95th percentile and sample standard deviations
  • Download standalone SVG plots, simulated/reference GeoJSON and per-point CSV

How to use

  1. Load a local WGS84 LineString GeoJSON or lon,lat CSV, paste either format, or open the self-created example.
  2. Enter an explicit seed, fixed east/north bias in metres, independent and correlated standard deviations, and AR(1) rho.
  3. Run the simulation and compare reference and observed path length, RMS and 95th-percentile horizontal error.
  4. Inspect both track and error-distribution plots plus east/north sample mean and sample standard deviation.
  5. Download SVG plots, GeoJSON and point CSV; reuse the same input/model/seed to reproduce results.

Use cases

  • Teach why a fixed offset and random jitter produce different track shapes
  • Show how adjacent correlated errors can resemble a sustained GPS drift
  • Compare point location error with the change in total recorded route length
  • Prepare synthetic test fixtures for a local map UI without using real movement logs

Frequently asked questions

Is this a forecast of my phone or receiver accuracy?

No. The model creates synthetic offsets with user-selected parameters. Real GPS error depends on satellites, buildings, multipath, weather, device processing and many factors not fitted here.

What does rho correlate?

Rho is the AR(1) correlation between neighboring sample indices, not elapsed clock time or geographic distance. The first correlated state is drawn from the stationary standard-normal distribution; each next state uses rho times the previous state plus a scaled new Gaussian innovation.

What do the two standard deviations mean?

Independent standard deviation controls fresh east/north Gaussian scatter for each sample. Correlated standard deviation scales a separate stationary AR(1) Gaussian component. Together with fixed bias they produce the local tangent-plane offset.

Will zero error reproduce the reference exactly?

Yes. With both biases and both standard deviations set to zero, every output longitude and latitude is exactly the input value, including points at 180 degrees.

Why can the simulated track length rise even when the mean bias is small?

Independent point jitter can zigzag between samples, increasing the sum of segment lengths. A fixed translation alone leaves nearby route geometry nearly unchanged; the local longitude conversion introduces small spherical differences.

Are paths uploaded or used for live positioning?

No. The import, seeded random generation, plots and downloads run in this browser tab. The tool does not access GPS sensors or an external map service.

Privacy

Reference path and generated samples remain in this browser tab. No device GPS or external map API is used.

Related Tools

GPX Track AnalyzerGeoJSON Map EditorCoordinate Reference LabWasm Module InspectorHreflang Matrix CheckerAST Query PlaygroundContainer Build GraphDependency Graph ExplorerSemver Range LabCron Schedule AuditorPatch Review WorkbenchSource Map ExplorerLocalization Catalog AuditorStructured Data ReviewerHTTP Archive AnalyzerWebhook Signature LabProtobuf Schema WorkbenchGraphQL Schema LabAvro Schema EvolutionLocal SQL WorkbenchSchema Form BuilderMesh Repair WorkbenchPipe Network LabRobot Arm Kinematics LabThermal Network LabBeam Response LabGear Train DesignerTolerance Stackup LabSensor Calibration FitPCB Stackup PlannerDigital Filter DesignerNetwork Reachability MapSun Shadow MapDigital Logic SimulatorAnalog Circuit LabMechanism Linkage LabAnalysis Mesh GeneratorOpenAPI Contract InspectorDatabase Migration PlannerDimensional Equation CheckerTruss Force LabBoolean Minimization LabControl Response LabQueueing Simulation LabGeofence Event SimulatorSurvey Traverse LabRaster Classification LabChoropleth Design LabMap Print ComposerRaster Reprojection LabElevation Contour MakerTerrain Viewshed LabWatershed DelineatorMap Tile PackagerText File Encoding WorkbenchFilesystem Portability AuditorSBOM License ExplorerFile Signature Auditornpm Lockfile Conflict ResolverSource Secret AuditorOffline Web Package BuilderCertificate Chain InspectorTorrent Metainfo InspectorChunked File PackagerEncrypted File VaultDuplicate File FinderArchive WorkbenchDesign Token ManagerSpacing Token DesignerResponsive Type SystemPackaging Dieline DesignerSVG Icon Sprite PackerFlex Layout PlaygroundCSS Grid PlaygroundRegex Equivalence LabMarkdown Repository AuditorLog Template MinerResponsive Layout AuditorEmail Template PreviewInternal Link GraphState Machine TesterPetri Net SimulatorGit History VisualizerCurl Request WorkbenchBinary Protocol DesignerHex File EditorBinary Patch WorkbenchFile Signature WorkbenchAPI Mock SandboxSchema Column MapperEvent Log SessionizerER Diagram DesignerTime Series Gap AuditorStratified Data SplitterData Lineage DesignerDecision Tree LabData Anonymization WorkbenchData Expectation RunnerJSON Schema ValidatorBasket Pattern AnalyzerRobots Policy TesterSEO HTML AuditorAccessibility Structure AuditorSyndication Feed WorkbenchIndexNow Payload BuilderCrawl Log AnalyzerCSP Policy WorkbenchSearch Performance AnalyzerCSV Formula Risk AuditorCORS Response SimulatorCache Header LabCookie Policy InspectorWeb Vitals Trace LabSitemap Health AuditorBatch File RenamerFile Manifest VerifierFolder Space MapFolder Difference ReviewerRoute Order OptimizerPolygon Overlay LabCartographic Label PlacerSpatial Table JoinGeoJSON Topology AuditorTrack Privacy RedactorCSV Table JoinCSV Pivot WorkbenchScientific Data ProfilerTabular Cleaning WorkbenchRecord ReconciliationData Dictionary BuilderCanonical Graph AuditorRedirect Plan TesterHTTP response and ping reference testBrowser and System InformationJSON ↔ YAML ConverterXML ↔ JSON ConverterHTML FormatterJavaScript MinifierMock Data Generator.gitignore GeneratorLicense GeneratorUser-Agent ParserPassword Strength CheckerCode to ImageXML FormatterHTTP Status Code LookupMIME Type LookupJS & SQL String EscapeCSS Box Shadow GeneratorCSS Gradient GeneratorIndent ConverterNumber Base ConverterUnicode Escape ConverterUnicode InspectorJSON Structure DiffMarkdown Table GeneratorBase64 EncoderJSON FormatterURL EncoderSQL FormatterCron Expression GeneratorRegex TesterUUID GeneratorHash GeneratorTimestamp ConverterJWT DecoderHTML Entity ConverterMarkdown PreviewCSS MinifierMeta Tag GeneratorJSON ↔ CSVCase ConverterImage to Base64
Explore all Dev Tools tools →Image/Media →Text/Convert →Life/Fun →