iPhone location journals

Open a GeoJSON file in your browser

See what is inside a GeoJSON file without uploading it, with an honest list of anything skipped, then save GPX or KML and see exactly what each export drops.

Choose a GeoJSON file. It is opened on this device.

See how many features of each geometry type are inside, which times were found, and a plain list of anything skipped. Then save the points and lines as GPX or KML. No account, upload or analytics. The file is read with your browser’s File API and never leaves the page.

Not GeoJSON? A Google Timeline .json export needs the Timeline JSON inspector instead.

What is a GeoJSON file?

GeoJSON is a JSON format for geographic data, defined in RFC 7946. A file holds one GeoJSON object: a FeatureCollection (a list of features), a single Feature (a geometry plus a properties object such as a name), or a bare Geometry. The geometry types are Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon and GeometryCollection (RFC 7946 §3.1).

A position is [longitude, latitude], optionally followed by an altitude: longitude first (§3.1.1). RFC 7946 uses the WGS 84 coordinate system only and removed the older crs member (§4). Files often use .geojson or .json; the extension does not change the content.

For how GeoJSON compares with GPX, KML and CSV, see which format to choose.

How to open a GeoJSON file

What the viewer shows and what it skips

Geometry typeDrawnGPXKML
Point, MultiPointDotsWaypointsPoint (MultiGeometry for several)
LineStringLineOne track, one segmentLineString, or gx:Track when every position has a time
MultiLineStringLinesOne track, one segment per partMultiGeometry of LineStrings, or gx:MultiTrack when all parts are timed
Polygon, MultiPolygonOutlines; holes dashed; not filledNot exported; counted in the summary onlyPolygon with its inner rings
GeometryCollectionEach member drawnPoints and lines inside; polygons counted onlyOne Placemark with a MultiGeometry
null geometryNothing; listed as “No geometry”NothingNothing

The Skipped panel counts and explains: entries that are not Features or have a missing type, null or unknown geometries, empty or too-short lines and rings, invalid positions (and how many would fit if latitude came first, or look like projected metres), 3D positions drawn in 2D, crs members, and time values that could not be read.

Times. The viewer looks for time, timestamp or datetime in a feature’s properties, and for a coordTimes or times array (also coordinateProperties.times). Only date-times with a time zone, such as 2020-05-01T10:00:00Z, are read. A number, or a date with no zone, is shown as “unknown” and is never guessed. Per-position times are used in exports only when the array has exactly one entry per position.

Synthetic example

Invented data near 0° N 10° E, not anyone’s recording: synthetic-geojson-viewer.geojson. The button above loads it. Expected result:

Convert GeoJSON to GPX or KML

Check the output in the GPX viewer or KML viewer, convert KML or GPX with the KML ⇄ GPX converter, or combine GPX results with Merge GPX. For the GPX format itself, read what a GPX file is.

Common problems

Limits

Privacy: your file stays in the browser

Parsing, plotting and conversion all happen in this page. Its content security policy blocks network connections, the page loads no analytics and no map tiles, and property values are inserted as text, not HTML. The web server sees an ordinary request for the page and its scripts, not your file or pasted text. Following a link leaves this page. Clear removes the result from the page and never changes your original file.

Make your own GeoJSON of where you’ve been

Whereday keeps your location history on your iPhone and exports GeoJSON, GPX, KML, CSV and more; see the export and import reference. Browse all the location file tools.

Make your own GeoJSON of where you’ve been.

Whereday keeps your location history on your iPhone and exports it in the format you need.

Download free for iPhone

Sources