Install#
As an application#
Install openplaces as an application with its own environment.
This is the recommended setup for developers and collaborators.
It allows you to use the most recent functionality
It allows you to make code contributions.
Get the repository#
Open your Terminal.
Open Command Prompt or Anaconda Prompt
Open Terminal
Open Terminal
Change to the directory where you want to keep the
openplacescodebase:# Example: 'code' folder in the user directory cd ~/code
Clone the
openplacesGithub repository:git clone https://github.com/chrnolte/openplaces.git
Change into the repository directory:
cd openplaces
Install the environment#
You need to have a version of the Anaconda package manager installed.
Either conda or mamba need to be executable from your Terminal:
Open Anaconda Prompt
Open Terminal
Open Terminal
If you don’t have conda yet, we recommend installing Miniconda, a free, miniature installation of Anaconda.
mamba is a fast environment solver for conda. It will speed up your installation considerably.
If you don’t have it installed, run conda install mamba -y before running the setup script.
When you have mamba ready, run the setup script:
python dev.py setup
The setup script will let you choose the name of your environment.
It will also ask you whether:
You want to install
7z.The
7zutility allows you to unpack uncommon formats of compressed .zip files, such as Windows formats used to access public parcels in the state of Virginia, US (US-VA).You want the QGIS tool installed in the Processing Toolbox.
This tool allows you to import openplaces’ .parquet tables with associated geometry parquet files as a single, joined vector layer.
You want to install a shortcut in your user folder.
This lets you type
openplacesinto your Terminal to:activate your environment
start Jupyter in your
notebooksfolderand open a browser so you can start coding
Configure the environment#
Once the environment is installed, you need to configure your installation.
Uninstall the environment#
To remove your environment, use:
python dev.py clean