Code Monkey home page Code Monkey logo

streetnames's Introduction

Streetnames of Karlsruhe

Background information on the street names in Karlsruhe.

Inspired by UlmApi's Streetdudes project.

Developers

Data Extraction

The data extraction is done in Python, all relevant files are in the master branch. After cloning the repository, create a virtual environment and activate it:

$ virtualenv venv
$ source venv/bin/activate

Install the necessary Python packages:

$ pip install -r requirements.txt

If the installation of lxml fails you may need to install some additional development packages.

The data for this visualization comes from two sources: The background information on the street names comes from a PDF provided by the City of Karlsruhe. The geographic data comes from OpenStreetMap.

For the OSM data conversion you need to have Osmosis installed.

First extract the street name information from the PDF:

$ ./extract_raw_data.py
$ ./parse_raw_data.py

Then download the necessary OSM data (about 80M) and extract the coordinates:

$ ./get_osm_data.sh
$ ./extract_coordinates.py

Finally, merge the information from both sources into the file streetnames.geojson and create the individual datasets:

$ ./merge.py
$ ./prepare_datasets.py

Visualization

The visualization code is in the gh-pages branch.

streetnames's People

Contributors

torfsen avatar

Watchers

James Cloos avatar Damian Paderta 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.