GithubHelp home page GithubHelp logo

ifarah / prclz Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mansueto-institute/prclz-proto

0.0 1.0 0.0 23.15 MB

geospatial hierarchy and structure extraction

License: GNU General Public License v3.0

Python 55.63% Shell 7.68% R 1.77% HTML 4.43% JavaScript 2.72% CSS 27.78%

prclz's Introduction

p  r  c  l  z

"parcelize"

overview/

prclz is a library for:

  • generating vectors for street blocks in a neighborhood using street network information from OpenStreetMap
  • creating parcels/cadastral maps for building footprints and other land use features within each block
  • calculating structural and areal features (k-complexity of access graph, percentage of land used by buildings, etc) at the block and neighborhood level

structure/

  • prclz: main library

    • blocks: extract vector polygons representing street blocks from street network information
    • features: calculate per-block features
    • parcels: generate cadastral parcels tesselating each block given building/land use footprints
    • topology: planar graph implementation, with tools to calculate weak duals. largely taken from openreblock/topology.
  • smoketests: not quite unit tests, but visual tests to make sure things look right

  • osm-etl: scripts to perform ETL on *.osm.pbf files and extract relevant features.

  • midway: end-to-end workflow to be run on RCC's midway cluster

  • requirements: required packages

development setup/

  1. on midway, load the necessary modules
module load intel/18.0
module load gdal/2.2
module unload python
module load Anaconda3/5.1.0
module load parallel
  1. Set up a conda virtual environment, and activate it.
. ./midway/conda_setup.sh
conda create --name mnp
source activate mnp
  1. Install the requirements. (Due to version pinning/compatibility, some packages aren't in the standard conda repos, so we install them with pip).
conda install --name mnp -f -y -q -c anaconda -c conda-forge --file requirements/conda-requirements.txt
pip3 install -r requirements/pip-requirements.txt
  1. From the top-level directory, install prclz in editable mode.
pip3 install -e .
  1. Deactivate your virtual environment once you're done
conda deactivate

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.