Andrea Giudiceandrea wrote > https://leafletjs.com/examples/choropleth/us-states.js > Just download it, edit the file with a text editor and remove the string > "var statesData = " at the beginning and the semi colon ";" at the end, and > then you will be able to import and visualise it in QGIS.
I believe the geojson spec also requires an newline after the closing bracket. The .js just reaches EOF which is an error, at least in the on-line validator. In simpler words - your file must end with a blank line.
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user