Caro Giovanni,
2017-07-20 9:50 GMT+02:00 Giovan Battista Vitrano <[hidden email]>:
@aborruso legendo il tuo articolo https://medium.com/tantotanto/informazioni-aggiornate-e- sembra tutto facile :-)affidabili-sugli-incendi-in- europa-22f07afad899
Perdona l'ignoranza....ma come si può connettere qgis alle api di EFFIS per poter fare delle mappa?
ecco un tutorial a tema, con un piccolo esempio https://medium.com/tantotanto/modificare-la-struttura-di-un-file-json-e-creare-un-geojson-199a17e2e4a3
Mostro come si fa a riga di comando con jq:
curl "http://effis.jrc.ec.europa.eu/rest/2/burntareas/current/?limit=25&country=IT&ordering=-firedate&format=json" | jq '[.results[] | del(.centroid) | del(.bbox) | .geometry=.shape | del(.shape )] | {"type": "FeatureCollection", features:(map ( {"type": "Feature"}+{"properties": .}+{geometry:.geometry}))} | del(.features[].properties.geometry)' > output.geojson
Saluti
Free forum by Nabble | Edit this page |