How can I query data on OpenEI and generate a map?
I'd like to have an Ask or SPARQL query display as a map in the OpenEI wiki section. What are the various ways to do that? Submitted by Rmckeel on 22 June, 2012 - 09:00
1 answer
For both SPARQL and Ask queries, results containing a location, 2-letter iso code, or coordinates can be displayed as a map using Google's map, geomap, or geochart formats. For both query types, the format is specified with |format=format.
OpenEI pulls formats from a variety of extensions, tools and custom solutions. To make things easier, we've created an aggregate help page listing result formats, including the geochart API, here:
http://en.openei.org/wiki/Help:FormattingResults
Full documentation on Google's geochart API can be found here:
https://developers.google.com/chart/interactive/docs/gallery/geochart
Jweers on 25 June, 2012 - 10:17