Skip to content

Instantly share code, notes, and snippets.

@lukecampbell
Created June 24, 2022 17:22

Revisions

  1. lukecampbell created this gist Jun 24, 2022.
    50 changes: 50 additions & 0 deletions example.geojson
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    {
    "type": "FeatureCollection",
    "features": [
    {
    "type": "Feature",
    "properties": {
    "airline": "Southwest",
    "departure": "KLAX",
    "arrival": "KJFK"
    },
    "geometry": {
    "type": "LineString",
    "coordinates": [
    [
    -118.4080486,
    33.9424964
    ],
    [
    -73.7786925,
    40.6399278
    ]
    ]
    }
    },
    {
    "type": "Feature",
    "properties": {
    "stroke": "#aa0011",
    "stroke-width": 2,
    "stroke-opacity": 1,
    "airline": "Southwest",
    "departure": "KPVD",
    "arrival": "KDCA"
    },
    "geometry": {
    "type": "LineString",
    "coordinates": [
    [
    -77.0377214,
    38.8514403
    ],
    [
    -71.4277222,
    41.7223333
    ]
    ]
    }
    }
    ]
    }