All Projects → urschrei → Geopython

urschrei / Geopython

Licence: other
Notebooks and libraries for spatial/geo Python explorations

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Geopython

Crime Analysis
Association Rule Mining from Spatial Data for Crime Analysis
Stars: ✭ 20 (-92.54%)
Mutual labels:  jupyter-notebook, jupyter, pandas, spatial-analysis, matplotlib
Opendatawrangling
공공데이터 분석
Stars: ✭ 148 (-44.78%)
Mutual labels:  jupyter-notebook, jupyter, pandas, matplotlib
Jupyter Tips And Tricks
Using Project Jupyter for data science.
Stars: ✭ 245 (-8.58%)
Mutual labels:  jupyter-notebook, jupyter, pandas, matplotlib
astetik
Astetik takes away the pain from telling visual stories with data on Python
Stars: ✭ 15 (-94.4%)
Mutual labels:  jupyter, pandas, matplotlib
Machine Learning With Python
Practice and tutorial-style notebooks covering wide variety of machine learning techniques
Stars: ✭ 2,197 (+719.78%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Alphalens
Performance analysis of predictive (alpha) stock factors
Stars: ✭ 2,130 (+694.78%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Machine Learning Projects
This repository consists of all my Machine Learning Projects.
Stars: ✭ 135 (-49.63%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Choochoo
Training Diary
Stars: ✭ 186 (-30.6%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Py
Repository to store sample python programs for python learning
Stars: ✭ 4,154 (+1450%)
Mutual labels:  jupyter-notebook, jupyter, pandas
California Coronavirus Data
The Los Angeles Times' independent tally of coronavirus cases in California.
Stars: ✭ 188 (-29.85%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Edaviz
edaviz - Python library for Exploratory Data Analysis and Visualization in Jupyter Notebook or Jupyter Lab
Stars: ✭ 220 (-17.91%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Windrose
A Python Matplotlib, Numpy library to manage wind data, draw windrose (also known as a polar rose plot), draw probability density function and fit Weibull distribution
Stars: ✭ 208 (-22.39%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Kagglestruggle
Kaggle Struggle
Stars: ✭ 228 (-14.93%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Data Analysis
主要是爬虫与数据分析项目总结,外加建模与机器学习,模型的评估。
Stars: ✭ 142 (-47.01%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Cheatsheets.pdf
📚 Various cheatsheets in PDF
Stars: ✭ 159 (-40.67%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Practical Machine Learning With Python
Master the essential skills needed to recognize and solve complex real-world problems with Machine Learning and Deep Learning by leveraging the highly popular Python Machine Learning Eco-system.
Stars: ✭ 1,868 (+597.01%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Learnpythonforresearch
This repository provides everything you need to get started with Python for (social science) research.
Stars: ✭ 163 (-39.18%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Jupyter Datatables
Jupyter Notebook extension leveraging pandas DataFrames by integrating DataTables and ChartJS.
Stars: ✭ 127 (-52.61%)
Mutual labels:  jupyter-notebook, jupyter, pandas
Data Science For Marketing Analytics
Achieve your marketing goals with the data analytics power of Python
Stars: ✭ 127 (-52.61%)
Mutual labels:  jupyter-notebook, pandas, matplotlib
Dexplot
Simple plotting library that wraps Matplotlib and integrated with DataFrames
Stars: ✭ 208 (-22.39%)
Mutual labels:  jupyter-notebook, pandas, matplotlib

Geocomputation, Cartography, and Spatial Analysis Techniques Using Python

Tweetcity

This is a repository of various geo/spatial analysis techniques using Python libraries, chiefly Numpy, Pandas, Shapely, Fiona, Descartes, Matplotlib, and Matplotlib-Basemap.

These tutorials, visualisations, and libraries are an occasional side effect of being embroiled in a PhD at the Bartlett Centre for Advanced Spatial Analysis, at UCL, and teaching on the undergraduate Data Science and Visualisation course.

CASA

The Notebooks

Hovertube.
Process TfL tube and rail data, and display it using Mapbox GL JS

Inset.
TfL bike rental travel time isochrone calculation

Airbnb

Airbnb: mapping Airbnb rental data in London

Boroughs

GWR: An introduction to Geographically Weighted Regression using PySAL, using a worked example.

Convert: demonstrates point, choropleth, and hexbin mapping techniques using pandas and Matplotlib Basemap

Convert_Folium: demonstrates the use of the Folium library for creating web-based maps from Python data (pandas) using Leaflet to generate a choropleth map

Router Comparison: analyses route characteristics of journeys from the London Cycle Hire network centroid to 554 stations, calculated using OSRM, Mapzen's new Valhalla router, and the Google Maps Directions API. There's also some outlier identification using RANSAC, and hopefully useful wrappers for route retrieval in helpers.py.

Routers

WLS: demonstrates the use of weighted least-squares estimation of similarity and affine transforms to calculate parameters for a transformation matrix which can be used to transform and align coordinates. This approach is useful for e.g. georeferencing raster data, and map feature alignment and correction.

weighted

Contour: demonstrates interpolation of irregularly-spaced point data (mean rainfall) into a regular grid, calculating a contour plot, and imposing it onto a basemap (see graphic below). Two approaches for calculating continuous surfaces are then compared – Delaunay Natural Neighbour (matplotlib.griddata), and refinement of a coarse Delaunay mesh using matplotlib.UniformTriRefiner, which uses recursive subdivision and cubic interpolation. High-res images are available in the data folder, all beginning with rainfall_. ☔️☔️☔️
Finally, the map is partitioned into clipped Voronoi cells based on the sensor locations, and some plotting methods (more flexible than scipy.spatial.voronoi2d) are shown.

Make it rain

Cellular

Bikepath: takes a subset of London bicycle hire stations, creates a DataFrame of all possible origin and destination pairs, and then uses MapZen's wonderful open Valhalla endpoint to get valid bicycle routes between them. These routes are then plotted (it's just the first 400 – there are over 490k origin / destination pairs in total) on a map.

Bikepath

Isochrone: an isochrone is computed for the complete London bike network from an origin at its centroid. Given a network of stations, Single-Source Shortest Path Length, weighted by the travel time between the origin and destinations can be used to generate travel times – though this isn't necessary for a single origin.

Isochrone

Plaques_Geopandas: demonstrates Geopandas and its spatial join functionality, used to create a choropleth.

Choropleth

Libraries

Circles
Demonstrates drawing circles with correct distortion characteristics on a map (the dot-shaded circle is erroneously non-distorted). The helper library used to plot the circles is available here.

Lonlat-BNG
A demonstration of writing a Rust library, and linking it to Python using FFI, in order to carry out fast Longitude and Latitude to British National Grid transformations, using multithreading. I've blogged about the process here. The Python library is available here.

Pypolyline
A Python library for encoding and decoding Google encoded polylines, using a Rust binary and FFI.

RDP
A Rust implementation of the Ramer–Douglas–Peucker line simplification algorithm. Includes an FFI wrapper.

Polylabel-rs
A Rust implementation of the Mapbox Polylabel algorithm, which determines optimum label placement on a polygon by calculating its pole of inaccessibility. The library has an FFI wrapper, and a sample Python script which demonstrates its use (I know Shapely also includes the algorithm, but it's a pure-Python implementation, and this one is…somewhat faster)

Circles


Installation and usage

Note that for most users, the Enthought Canopy Python distribution is probably the best way to get the required libraries (You'll have to install Folium and GeoPandas separately – they aren't included). However, feel free to install the libraries manually using requirements.txt if you know what you're doing, in which case you'll also need various compilers (GCC, Fortran), and libraries (GDAL, GEOS). The use of a virtualenv is advised.
The Rust libraries (though not their Python counterparts) require a Rust installation. For most platforms (OS X, Windows, *nix), using rustup.rs is the easiest way to install and update a Rust installation.

License

© Stephan Hügel 2017

Unless otherwise specified, the wards.geojson file and any UK shapefiles are provided under Crown Copyright, and their use must be acknowledged in any output by reproducing the following notice:

Contains Ordnance Survey data © Crown copyright and database right 2015

Unless otherwise specified, all other files are provided under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license.

CC BY-NC-SA 4.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].