Code Monkey home page Code Monkey logo

spatial-analysis-intro's Introduction

Spatial Analysis Introduction

An introduction on spatial analysis with python.

This project uses a study case to introduce basic geometry operations and fundemental spatial analysis skills for newcomers.

We going to explore the crime rate in Victora.

The crime index is calculated for every postcode, similar to the burglarystatistics at racv website.

Datasets

The datasets are publicly available from following websites:

Table of Content

Geometry with Shapely 01_It-starts-with-a-point.ipynb
Tabular analysis with Pandas 02_Tabular-analysis-with-pandas.ipynb
Spatial analysis with Geopandas 03_Spatial-analysis-with-geopandas.ipynb
Victoria household info 04_Melbourne_households.ipynb
Victoria crime index 05_Melbourne-crime-index.ipynb
Visualising spatial data 06_Visualise_spatial_data.ipynb

Installation notes

Following this tutorial will require recent installations of:

  • Python >= 3.6
  • requests
  • numpy
  • shapely
  • matplotlib
  • pandas
  • geopandas >= 0.3.0
  • matplotlib
  • rtree
  • PySAL
  • xlrd
  • openpyxl
  • folium
  • seaborn
  • mapclassify
  • Jupyter Notebook

If you do not yet have these packages installed, it is recommended to use the conda package manager to install all the requirements (you can install miniconda or install the (larger) Anaconda distribution, found at https://www.anaconda.com/download/).

Once this is installed, the following command will install all required packages in your Python environment:

conda create -n spatial python=3.7

conda activate spatial

pip install -r requirements.txt

Fix the error when read excel files using Pandas

!pip install xlrd !pip install openpyxl

spatial-analysis-intro's People

Contributors

danhphan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.