Giter Site home page Giter Site logo

gds_scipy16's Introduction

Geographic Data Science with PySAL and the pydata stack

This two-part tutorial will first provide participants with a gentle introduction to Python for geospatial analysis, and an introduction to version PySAL 1.11 and the related eco-system of libraries to facilitate common tasks for Geographic Data Scientists. The first part will cover munging geo-data and exploring relations over space. This includes importing data in different formats (e.g. shapefile, GeoJSON), visualizing, combining and tidying them up for analysis, and will use libraries such as pandas, geopandas, PySAL, or rasterio. The second part will provide a gentle overview to demonstrate several techniques that allow to extract geospatial insight from the data. This includes spatial clustering and regression and point pattern analysis, and will use libraries such as PySAL, scikit-learn, or clusterpy. A particular emphasis will be set on presenting concepts through visualization, for which libraries such as matplotlib, seaborn, and folium will be used.

PySAL PySAL

gds_scipy16's People

Contributors

darribas avatar sjsrey avatar weikang9009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gds_scipy16's Issues

makefile errors

this is on python 2.7 ubuntu mate 16.04 with the dependencies installed

make notebooks results in the attached error:

screenshot at 2016-06-11 15 12 36

05_spatial_clustering.ipynb uses wrong file link

Either the second or the third cell of 05_spatial_clustering needs a minor edit.

# Adjust this to point to the right file in your computer
abb_link = '../data/listings.csv.gz'
zc_link = '../data/Zipcodes.geojson'
lst = pd.read_csv(link)

I think that link in the third cell should be abb_link.

Install additional dependencies is not works

Hello,
I have Ubuntu 16.4, I followed this installation guide: http://darribas.org/gds_scipy16/content/infrastructure/
But when I tried to install additional dependencies using : conda install --name gds-scipy16 geojson geopandas==0.2 mplleaflet==0.0.5 datashader==0.2.0 cartopy==0.14.2 folium==0.2.1
I got this:
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • cartopy==0.14.2
  • proj.4==4.9.3
  • geopandas==0.2
  • gdal==1.11.4

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

Thats why got error in test.ipynb as well, can you please let me know how can I solve it?
Thanks

Part 1: Spatial data processing: Error with 'all_polygons[0].centriod'

When I am working through Part 1, I am getting an error with running this line (code block 16 at https://github.com/darribas/gds_scipy16/blob/master/content/part1/01_data_processing.ipynb):
all_polygons[0].centriod
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-186-6380caec5f91> in <module>()
----> 1 all_polygons[0].centriod #doesn't work

AttributeError: 'Polygon' object has no attribute 'centriod'

The rest of the functions (area, polygon, etc.) work fine.

Extracting one polygon:
polygon = all_polygons[0]
works fine, so
polygon.centriod gives me a sensible answer.

I have recently setup and installed as per the instructions on Ubuntu 17.10
I know when installing I had to have a later version of geopandas (as 0.2 wasn't available) and possibly mplleaflet and cartopy as well. I can't find out which versions they are, sorry!

Any suggestions much appreciated.
Best wishes,
Nick.

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.