4

Is it possible to load GeoJSON directly into qgis from github?

The GeoJSON is accessible here https://raw.githubusercontent.com/garynobles/data/master/sites.geojson

It displays fine if downloaded as a local file but I would like to be able to access it directly without having to download. I have googled around, but everything is about exporting to GeoJSON for github (i.e. keeping crs wgs84).

enter image description here

enter image description here

Spatial Digger
  • 523
  • 1
  • 6
  • 19

1 Answers1

10
  1. Click the "Add Vector Layer" button
  2. Change "Source type" from "File" to "Protocol"
  3. Ensure "Type" is "GeoJSON"
  4. Paste in your URL
  5. Click "Open" (or "Add" in QGIS 2.99dev/3.0)

The below pics are from QGIS 2.99dev (what will be QGIS 3.0) but 2.18 is basically the same.

enter image description here enter image description here

user2856
  • 65,736
  • 6
  • 115
  • 196