CSV Tools

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.

Geo GeoJSON Text format

sample-locations.geojson

Data Preview

15 rows × 5 columns
1namedescriptionlatitudelongitudeelevation
2Mount RainierGlaciated stratovolcano in Washington46.8523-121.76034392
3Half DomeGranite dome above Yosemite Valley37.7459-119.53322694
4Grand Canyon South RimOverlook near Grand Canyon Village36.0544-112.14012093
5Old FaithfulPredictable geyser in Yellowstone44.4605-110.82812240
6DenaliHighest peak in North America63.0692-151.0076190
7Angels LandingRidge viewpoint in Zion Canyon37.269-112.94691765
8Longs PeakFourteener in Rocky Mountain National Park40.2549-105.6164346
9Mauna KeaDormant volcano on the island of Hawaii19.8206-155.46814207
10Crater LakeDeepest lake in the United States42.9446-122.1091883
11Mount WhitneyHighest summit in the contiguous United States36.5785-118.29234421
12Badwater BasinLowest point in North America, Death Valley36.2461-116.8172-86
13Great Sand DunesTallest dunes in North America37.7916-105.59432590
14Cadillac MountainGranite summit in Acadia National Park44.3528-68.2247466
15Mount MitchellHighest peak east of the Mississippi35.7648-82.26522037
16Guadalupe PeakHighest point in Texas31.8914-104.86072667

Raw File Contents

sample-locations.geojson
{
  "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 .geojson files directly as vector layers
  • geopandasgeopandas.read_file("sample-locations.geojson")
  • Any JSON tooljq '.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.

FAQ

4 questions
Is anything uploaded when I download or preview this file?
No. The sample is a static file served directly from this site, and every converter here runs entirely in your browser. Nothing you download or convert is uploaded or processed on a server.
Which fields does GeoJSON preserve?
All of them. GeoJSON properties are arbitrary JSON, so name and description survive as-is, and elevation rides along as the optional third element of each coordinate position. It is the most lossless of the five geo sample formats on this site.
Why is longitude before latitude in the coordinates array?
The GeoJSON specification (RFC 7946) mandates [longitude, latitude, elevation] order — x before y. Swapped coordinates are the most common GeoJSON bug, so if your points land in the ocean, check the axis order first.
What coordinate system does this file use?
WGS84 (EPSG:4326), which is the only coordinate reference system RFC 7946 allows. Latitudes and longitudes are decimal degrees, elevations are meters.

Work With GeoJSON Files 5 tools