Skip to content

IBMPredictiveAnalytics/MapPlots_with_Folium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map Plots with Folium

This IBM SPSS Modeler extension enables points to be plotted on a map using Python and the Folium library.

Learn more about this implementation from the Folium Documentation

Stream


Requirements

More information here: IBM Predictive Extensions


Installation Instructions

Initial one-time set-up for PySpark Extensions

If using v18.0 of SPSS Modeler, navigate to the options.cfg file (Windows default path: C:\Program Files\IBM\SPSS\Modeler\18.0\config). Open this file in a text editor and paste the following text at the bottom of the document:

eas_pyspark_python_path, "C:/Users/IBM_ADMIN/Python_27/python.exe"

  • The italicized path should be replaced with the path to your python.exe from your Python installation.

Installing Folium

Your Python installation must have the Folium library installed for this extension to work

Extension Hub Installation

  1. Go to the Extension menu in Modeler and click "Extension Hub"
  2. In the search bar, type the name of this extension and press enter
  3. Check the box next to "Get extension" and click OK at the bottom of the screen
  4. The extension will install and a pop-up will show what palette it was installed to

Manual Installation

  1. Save the .mpe file to your computer
  2. In Modeler, click the Extensions menu, then click Install Local Extension Bundle
  3. Navigate to where the .mpe was saved and click open
  4. The extension will install and a pop-up will show what palette it was installed

Example

Data on the location of Finnish airports is obtained from http://openflights.org/data.html

Download the example stream

Download the example data


License

Apache 2.0


Contributors

About

Plot points on a map with an IBM SPSS Modeler Extension using Python and the Folium library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages