Coder Social home page Coder Social logo

extractionfromosm's Introduction

ExtractionFromOSM

This is the source code of my bachelor thesis "public-transit data extraction from OpenStreetMap Data"

Introduction

Built a network using public-transit data extracted from OpenStreetMap data in Europe and Planet, then completed its inside information through solving various problems, such as wrong orders, existence of gaps, missing labels, poor structure, using bidirectional A*, A*, Dijkstra, SVMs, R-Tree, DFS, finally transformed the network into a General Transit Feed Specification feed which simulates a transport system and can be displayed in TRAVIC. This feed and software OpenTripPlaner together build a public-transit- combination query system for the whole Europe as well as the Planet.

Results

there are four pictures which show the results, you can find them inthe folder

ExtractionFromOSM/display results

Run the program

To run this program you need to download a osm file from OpenStreetMap

Get the code

git clone https://github.com/zhiwei2017/ExtractionFromOSM

Generate executable file:

make
./ExtractionFromOSMMain [Address] [Mode] [ExtendRadius]

Address: paricular address of osm-file Mode: use the extend mode (Y/N). The default value is "N" ExtendRadius: if using the extend mode, the nodes and ways are loaded into graph when they are in the radius of a route. The default value is 500

Example:

you have a germany.osm file in the directory germany.

you can run the program in non-extend mode like:

./ExtractionFromOSMMain germany/germany.osm N or ./ExtractionFromOSMMain germany/germany.osm

If you run the program with ./ExtractionFromOSMMain germany/germany.osm 50, the program will run in non-extend mode.

extractionfromosm's People

Contributors

zhiwei2017 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.