3

When attempting to display the national chargepoint registry from the following URL:

http://chargepoints.dft.gov.uk/api/retrieve/registry/format/json

The following error returns:

http://chargepoints.dft.gov.uk/api/retrieve/registry/format/json is not a valid or recognized data source

I've tried following the instructions in another similar post without success: How to display geoJSON from an URL in a layer. Any help much appreciated.

5

You must use a geoJSON file (The GeoJSON Format Specification) and not a simple JSON file. Your example is not a GeoJSON file (no 'geometry' tag for example)

As example, GitHub announced that you can now automatically view any GeoJSON files that may be in a repository inside an interactive map driven by MapBox technology (see my example AAC.geojson)

And GeoJSON on GitHub: Now What? shows how to stream the GeoJSON file directly into QGIS:

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.