Test files › Geospatial

Sample Geospatial test files

What are geospatial test files?

GeoJSON, GPX and KML files for mapping code: points, a track and placemarks, plus a line that crosses the antimeridian and coordinates outside the valid range, the two cases that most often break geographic code.

Sample GeoJSON, GPX and KML filesMIME types

5 free geospatial test files for QA and developers: antimeridian.geojson, malformed-coords.geojson, placemarks.kml, points.geojson and more. Each with a…

FileFormatSizeWhat it catches
antimeridian.geojsonGeoJSON592 bytesA LineString and Polygon that cross the 180° antimeridian (longitudes near +180 and -180).
malformed-coords.geojsonGeoJSON682 bytesGeoJSON that parses as JSON but violates the spec: a latitude of std 999 and a Polygon whose ring is not closed.
placemarks.kmlKML508 bytesA KML document with a Placemark point, a LineString path and a styled polygon.
points.geojsonGeoJSON1.2 KBA valid GeoJSON FeatureCollection with Point, LineString and Polygon features and properties.
track.gpxGPX596 bytesA GPX 1.1 track with timestamped, elevation-tagged track points, plus a waypoint.

← All test files