OverviewTeaching: 5 min Exercises: 0 minQuestions
geopandasand its dependencies, which include (for vector-handling packages)
pysal, in addition to
numpy, etc. These will be handled automatically by the conda environment. Additional conda packages available in the environment include
folium(interactive maps in Jupyter notebooks),
rasterstats(simplified raster-vector analysis), and
psycopg2(access to vector data stored in PostGIS, in this case hosted on the cloud on Amazon Web Services).
vectorenvconda environment on your computer
vectorenv is a Python 3.6 conda environment. But the two notebooks in this tutorial have also been successfully tested with Python 2.7.
Open a terminal window and type the commands to create the environment and “activate” it.
(If you’re using miniconda you’ll probably need to first add it to your path with a statement like this one on the terminal window:
On Windows and MacOSX you may have a conda GUI application already installed, specially if you installed Anaconda. That application should let you select the
vectorenv environment, then launch Jupyter notebook with that environment.
Otherwise, on the command shell, you can launch Jupyter notebooks (after activating the environment as described above) like this: