Sample GeoJSON File
A downloadable sample GeoJSON file containing 15 real US landmark locations as Point features, each with a name, description, and elevation. Use it to test parsers, map libraries, or the converters on this site.
sample-locations.geojson
Data Preview
| 1 | name | description | latitude | longitude | elevation |
| 2 | Mount Rainier | Glaciated stratovolcano in Washington | 46.8523 | -121.7603 | 4392 |
| 3 | Half Dome | Granite dome above Yosemite Valley | 37.7459 | -119.5332 | 2694 |
| 4 | Grand Canyon South Rim | Overlook near Grand Canyon Village | 36.0544 | -112.1401 | 2093 |
| 5 | Old Faithful | Predictable geyser in Yellowstone | 44.4605 | -110.8281 | 2240 |
| 6 | Denali | Highest peak in North America | 63.0692 | -151.007 | 6190 |
| 7 | Angels Landing | Ridge viewpoint in Zion Canyon | 37.269 | -112.9469 | 1765 |
| 8 | Longs Peak | Fourteener in Rocky Mountain National Park | 40.2549 | -105.616 | 4346 |
| 9 | Mauna Kea | Dormant volcano on the island of Hawaii | 19.8206 | -155.4681 | 4207 |
| 10 | Crater Lake | Deepest lake in the United States | 42.9446 | -122.109 | 1883 |
| 11 | Mount Whitney | Highest summit in the contiguous United States | 36.5785 | -118.2923 | 4421 |
| 12 | Badwater Basin | Lowest point in North America, Death Valley | 36.2461 | -116.8172 | -86 |
| 13 | Great Sand Dunes | Tallest dunes in North America | 37.7916 | -105.5943 | 2590 |
| 14 | Cadillac Mountain | Granite summit in Acadia National Park | 44.3528 | -68.2247 | 466 |
| 15 | Mount Mitchell | Highest peak east of the Mississippi | 35.7648 | -82.2652 | 2037 |
| 16 | Guadalupe Peak | Highest point in Texas | 31.8914 | -104.8607 | 2667 |
Raw File Contents
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-121.7603,
46.8523,
4392
]
},
"properties": {
"name": "Mount Rainier",
"description": "Glaciated stratovolcano in Washington"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-119.5332,
37.7459,
2694
]
},
"properties": {
"name": "Half Dome",
"description": "Granite dome above Yosemite Valley"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-112.1401,
36.0544,
2093
]
},
"properties": {
"name": "Grand Canyon South Rim",
"description": "Overlook near Grand Canyon Village"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-110.8281,
44.4605,
2240
]
},
"properties": {
"name": "Old Faithful",
"description": "Predictable geyser in Yellowstone"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-151.007,
63.0692,
6190
]
},
"properties": {
"name": "Denali",
"description": "Highest peak in North America"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-112.9469,
37.269,
1765
]
},
"properties": {
"name": "Angels Landing",
"description": "Ridge viewpoint in Zion Canyon"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-105.616,
40.2549,
4346
]
},
"properties": {
"name": "Longs Peak",
"description": "Fourteener in Rocky Mountain National Park"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-155.4681,
19.8206,
4207
]
},
"properties": {
"name": "Mauna Kea",
"description": "Dormant volcano on the island of Hawaii"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-122.109,
42.9446,
1883
]
},
"properties": {
"name": "Crater Lake",
"description": "Deepest lake in the United States"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-118.2923,
36.5785,
4421
]
},
"properties": {
"name": "Mount Whitney",
"description": "Highest summit in the contiguous United States"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-116.8172,
36.2461,
-86
]
},
"properties": {
"name": "Badwater Basin",
"description": "Lowest point in North America, Death Valley"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-105.5943,
37.7916,
2590
]
},
"properties": {
"name": "Great Sand Dunes",
"description": "Tallest dunes in North America"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-68.2247,
44.3528,
466
]
},
"properties": {
"name": "Cadillac Mountain",
"description": "Granite summit in Acadia National Park"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-82.2652,
35.7648,
2037
]
},
"properties": {
"name": "Mount Mitchell",
"description": "Highest peak east of the Mississippi"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-104.8607,
31.8914,
2667
]
},
"properties": {
"name": "Guadalupe Peak",
"description": "Highest point in Texas"
}
}
]
}
Schema
| Field | Type | Description |
|---|---|---|
| name | string | Landmark name, from the properties object of each feature |
| description | string | One-line description of the landmark, also a feature property |
| latitude | number | WGS84 latitude in decimal degrees (second element of the coordinates array) |
| longitude | number | WGS84 longitude in decimal degrees (first element of the coordinates array) |
| elevation | number | Elevation in meters (third coordinate element); negative for Badwater Basin, which sits below sea level |
About the GeoJSON Format
GeoJSON is a JSON-based format for encoding geographic data, standardized as RFC 7946. This sample is a FeatureCollection of 15 Feature objects, each holding a Point geometry and a properties object with name and description. Coordinates follow the spec’s [longitude, latitude, elevation] order — longitude first, which trips up nearly everyone at least once.
Because properties are plain JSON, GeoJSON is effectively lossless for tabular attributes: every column of the CSV twin survives a round trip. The coordinate reference system is always WGS84 decimal degrees; RFC 7946 removed the older crs member entirely, so there is nothing to configure.
How to open it
- geojson.io — paste or drag the file in for an instant map preview
- QGIS / ArcGIS — both open
.geojsonfiles directly as vector layers - geopandas —
geopandas.read_file("sample-locations.geojson") - Any JSON tool —
jq '.features[].properties.name'works fine, because it is just JSON - Leaflet / MapLibre / Mapbox GL — all consume GeoJSON natively as a data source
Things to test with it
The dataset includes one negative elevation (Badwater Basin, −86 m), which is a useful check that your parser does not clamp or drop below-sea-level values. Coordinates span from Hawaii (Mauna Kea) to Alaska (Denali) to Maine (Cadillac Mountain), so a correct bounding box calculation should cover most of a hemisphere.
The same 15 locations are available in every geo format on this site — KML, KMZ, GPX, and Shapefile — so you can diff how each format encodes identical data. To flatten this file into rows, use the GeoJSON to CSV converter; to rebuild it from a spreadsheet, use CSV to GeoJSON.