Coder Social home page Coder Social logo

mlichter2 / isolines_examples Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 25.83 MB

examples for isolines - a python library for street networks isolines and isochrones : https://github.com/mlichter2/isolines

isolines isochrones gis geometry concave-hull convex-hull networks street-networks

isolines_examples's Introduction

isolines-examples

This is an examples repository for isolines a python library for street networks isolines and isochrones : https://github.com/mlichter2/isolines

isolines is a Python library for creating street networks isolines (equal-distance) and isochrones (equal-time) polygons with just one line of code. It is built on top of Shapely, geopandas, NetworkX and osmnx.

isolines allows you to create isolines:

  • from OSM data without any data input or * use your own data: your own network and source locations

Examples include

  • basic examples
  • adding isolines and isochrones to an existing instance
  • refining isolines' concave boundaries and smoothing
  • refining source location geometry
  • tweaking location geometry sample interval
  • using different data sources
  • example using US Census Tiger data
  • geometry types
  • using local coordinate systems
import isolines as il
df = il.isolines('Prospect Park, Brooklyn, NYC, USA', metric = 'time',values=[3, 6, 9])
df
geometry time
0 POLYGON ((-73.9715 40.6492,... 3
1 POLYGON ((-73.9708 40.6470,... 6
2 POLYGON ((-73.9704 40.6448... 9

However, if you which to explore your result with built-in visualization and be able to amend them and perform EDA use one of the following classes: GpdIsolimes, NXIsoliner, OsmIsolines

iso = il.OsmIsolines('Prospect Park, Brooklyn, NYC, USA', metric = 'time', values=np.arange(2.5, 22.5, 2.5), unit = 'ft', sample = 600)
iso.plot_isolines(figsize = (10, 10))

isolines_examples's People

Contributors

mlichter2 avatar

Stargazers

 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.