[GIS] Import JSON or CSV with corner coordinates

csvgeoreferencingjsonqgis

I am trying to import meteorological forecast data into QGIS. Unfortunately the data lacks coordinate attributes, the spatial data is specified by the met institute as corner coordinates (SE, SW, NE, NW).

The data is in .JSON-format, but I managed to convert it into .csv as well. I tried to import as comma delimited text file but failed to add the georeferencing.

Any ideas?

Here's a link to the data if it helps:

http://opendata-download-metfcst.smhi.se/api/category/pmp1.5g/version/2/geotype/point/lon/16/lat/58/data.json

Best Answer

Unfortunately the data lacks coordinate attributes,

It doesn't.

The first line tells us:

{"approvedTime":"2017-11-01T06:07:43Z",
 "referenceTime":"2017-11-01T04:00:00Z",
 "geometry":{"type":"Point","coordinates":[[16.083758,58.038299]]},
 "timeSeries":...

The JSON file represents a set of timeseries data at a single point, as is hinted at in the URL to fetch the data:

geotype point lon(gitude)16 lat(itude) 58

Related Question