Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amdmi3/rail-routing-demo
https://github.com/amdmi3/rail-routing-demo
openstreetmap routing
Last synced: about 22 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/amdmi3/rail-routing-demo
- Owner: AMDmi3
- License: gpl-3.0
- Created: 2012-11-26T18:14:08.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-06T15:25:08.000Z (almost 12 years ago)
- Last Synced: 2024-11-17T09:47:57.304Z (2 months ago)
- Topics: openstreetmap, routing
- Language: C++
- Size: 188 KB
- Stars: 5
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
Rail routing demo
===================This is an an excerpt from my set of C++ OSM processing tools which
implements railroad router.Repo structure
==============Base classes for OSM objects
* osmtypes.h
* ObjectBases.hh
* Objects.hhBase class for multipass OSM XML parser
* ParserBase.hhGeographic math functions, namely distance and azimuth calculation
* geomath.hhCustom container with effecient lazy initialization
* lazyinit_array.hhCustom memory pool container
* pool.hhRouting implementation itself
* railrouting.cc
* railrouting.hhDemonstration program
* raildemo.cc
* raildemo.osmRequirements
============* Expat XML parser library with headers
* CMake
* C++ compiler with c++0x support (gcc>=4.6)Building
========cmake . && make
Running
=======./raildemo raildemo.osm
This will load bundled raildemo.osm file with small part of Moscow
rail network and find a route between two hardcored stations.License
=======GPLv3
Author
======Dmitry Marakasov