April 25, 2019
How to setup python environment specializing in geospatial (GIS, Remote Sensing, Geostatistics, etc.) ? We need python geospatial libraries in order to do analysis and visualization of geospatial data. I will guide you step by step on how to setup your pyhton geospatial environment within Anaconda.
Anaconda Prompt
in Windows startup search box) conda update -n base conda
conda config --add channels conda-forge
conda update --all
conda create --name geopy
Or… you need to install it based on your favorite python version:
conda create --name geopy python=3.6
Now we already created our environment, lets activate it:
conda activate geopy
you can deactivate it by using this command(but please do not deactivate it yet, since we still need to install our packages/module):
```
conda deactivate geopy
```
After activated your python environment, lets download our packages/module.
conda install -c conda-forge gdal shapely opencv rasterstats geopandas folium cartopy xarray
conda install -c anaconda scikit-learn scikit-image scipy rasterio psycopg2 netcdf4 seaborn pandas statsmodels bokeh colorcet
OK guys, thats all for this tutorial. Good luck and happy mapping!