Skip to content
Analytica > Blogs > Plotting over a Google Map

Plotting over a Google Map

Here is what the result graph for the variable Generation Capacity looks like:

It uses symbol size to depict the generation capacity and symbol shape and color to depict fuel type for all California power plants identified by the California Natural Resources Agency. Using a pulldown in the model, you can select any subset of fuel types to show, with the full set of fuel type options being Battery, Coal, Biomass, Landfill gas, Digester gas, MSW, Gas, Hydro, Nuclear, Solar, Solar thermal, Geothermal and Wind. 

The example model includes these highlights:

  • It is quite fun to explore the data, learn where the different types of power plants are in California (and a few in neighboring regions).
  • The data is downloaded from the California Natural Resources Agency’s website as a CSV file. 
  • If the download fails, if falls over to a cached snapshot on a Lumina web server.  See how easy this is to accomplish.
  • It parses the CSV file. (an example of Analytica’s ParseCSV function in action).
  • User selects a subset of the fuel types using a MultiChoice pulldown.
  • Downloads and displays a Google Map behind the data. It gets the map for to the data being plotted.
  • The first time you try it, it guides you through the process of getting your own Google API key, and saves it so you never have to enter it a second time.

The model requires the Analytica Enterprise edition or better, and Analytica 5.2 for both the data download and the Google map download. With an Analytica subscription, you can get the beta build from the Beta Tester Page. If you are reading this after the 5.2 release (in or after April 2019), just use the current Analytica release.

Of course the flashiest part (and the title of this blog post) is the plotting of the data over the Google Map, and I’m sure this is something many of you will want to do in your own models. I’ve created an Analytica 5 Video Short showing how I did it in this example with Generation Capacity. 


If you enjoyed this, please remember to follow / befriend Lumina’s social media channels!

Share now 

See also

air conditioner outdoor unit

Building electrification: heat pump technology

Lumina set out to build a useful tool to assess the benefits of heat pumps. Learn more about heat pumps and their impact.
More...

Heat pumps 101

Heat and cool your home while saving energy and reducing emissions by adopting heat pump technology. Learn more about this transition and heat pumps by watching this webinar.
More...
Heatpump

Navigating the heat pump landscape

Fort Collins, Lumina, and Apex Analytics have created a tool to help reduce greenhouse gas emissions by optimizing building electrification programs.
More...

US gas leaks much larger than previously estimated

A new Stanford-led study on natural gas leak rates from oil and gas activity across a large fraction of the US are about 3x more than previous government estimates. The
More...

See also

Building electrification: heat pump technology

Lumina set out to build a useful tool to assess the benefits of heat pumps. Learn more about heat pumps and their impact.

More…

Decision making when there is little historic precedent

Learn how to make decisions and strategic plans in uncertain situations, where historical data is not available. See how to model this in Analytica with clarity and insight.

More…

Does GPT-4 pass the Turing test?

In 1950, Alan Turing proposed “The Imitation Game”, today known as the Turing test, as a hypothetical way of measuring whether a computer can think [1]. It stakes out the...

More…

What is Analytica software?

Analytica is a decision analysis tool that helps you generate clearer and more justified results through modeling.

More…

Download the free edition of Analytica

The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


    Analytica Cubes Pattern

    Download the free edition of Analytica

    The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

    While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


      Analytica Cubes Pattern

      Download the free edition of Analytica

      The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

      While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


        Analytica Cubes Pattern

        Download the free edition of Analytica

        The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

        While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


          Analytica Cubes Pattern

          Download the free edition of Analytica

          The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

          While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


            Analytica Cubes Pattern

            Download the free edition of Analytica

            The free version of Analytica lets you create and edit models with up to 101 variables, which is pretty substantial since each variable can be a multidimensional array. It also lets you run larger modes in ‘browse mode.’ Learn more about the free edition.

            While Analytica doesn’t run on macOS, it does work with Parallels or VMWare through Windows.


              Analytica Cubes Pattern