Osm4routing v.1.0.1


This tool provides an OpenStreetMap data parser to turn them into a nodes-edgesadapted for routing applications.== INPUT FORMAT ==The input is an OpenStreetMap XML file. The file can be read:* from a plain .osm file* from a bzip2 file* from a gzip file== OUTPUT FORMAT ==The output can be:* a csv file* database (postgres, mysql, sqlite, postgis)In both output you'll get two files/tables:* nodes that contain * id (64 bit integer) * longitude (decimal real) * latitude (decimal real) * geometry (only in postgis)* edges that contain * id (64 bit integer) * source node id (64 bit integer) * target node id (64 bit integer) * length (real in meters), * car accessibility (integer) * car reverse accessibility (integer) * bike accessibility (integer) * bike reverse accessibility (integer) * foot accessibility (integer) * geometry (string representing a linestring in the WKT format)The accessibility is an integer describing the edge for every mean of transport.As for cars an bikes the driving direction might change those properties, theare direct (source->target direction) an reverse (target->source direction)information.The integers mean:* cars * 0 forbiden * 1 residential street * 2 tertiary road * 3 secondary road * 4 primary road * 5 trunk * 6 motorway* bike * 0 forbiden * 1 cycling lane in the opposite direction of the car flow * 2 allowed without specific equipment * 3 cycling lane * 4 bus lane allowed for cycles * 5 cycling track* foot (no distinction in made on the direction) * 0 forbiden * 1 allowed== INSTALL ==You need:* Boost (only for unordered_map that will be included in C++1X) Read bellow if you have troubles with it* expat (XML parser)* python* swig# Just run the following commandsudo python setup.py install# Run itosm4routing --help# Alternative:# If you don't have the rights to install it system-wide, or don't want to, use virtualenv:# Create a virtual environment and activate itpython virtualenv.py envsource env/bin/activatepython setup.py installosm4routing --help* Installing boost: You only need the headers. If you have a linux distribution, just install it. Under windows or macOSX, grab the sources and unzip them. Place the boost directory containing the headers in the same directory as setup.py An alternative is to edit setup.py to tell where the directory is located.== USAGE ==Get the .osm XML file of the region that interests you.For limited regions, use the export tools from the web interface.For bigger regions you might find what you want at http://download.geofabrik.de/osm/Osmosis can help you to have a smaller region from a big dump http://wiki.openstreetmap.org/wiki/OsmosisTo know the options, run:osm4routing --help== PERFORMANCE ==OSM data can get very big and can be very consuming, don't try to parse the whole world ;)On my laptop from 2006 (core2duo 1.66Ghz, 2Gb Ram, slow hard drive),it takes 20 minutes to parse 8Gb uncompressed (0.5Gb as bzip2) and represents France in June 2010== Postgis output ==Only if you want to use the spatial abilities of postgis, please read those extra informationsin order to a have spatial databaseThe usual way to get is to execute the following commands (the location oflwpostgis.sql and spatial_ref_sys.sql depend on your installation).createdb yourdatabasecreatelang plpgsql yourdatabasepsql -d yourdatabase -f lwpostgis.sqlpsql -d yourdatabase -f spatial_ref_sys.sql#md5=f5cbde5fc947126ded9f70f67b7638f9

This tool provides an OpenStreetMap data ...

  • Freeware
  • 61 Kb
  • 181
  • Free

Review Osm4routing

  • captcha
New Miscellaneous software
  • UninsHs  v. extension for Inno Setup allows you to easily add 'Repair/Modify/Remove' options to your installed applications. It is very small and use the .iss file, the .exe file is not required.
  • ModCom  v.12.2Free Windows software for Data Acquisition & Control, HMI / SCADA, Industrial Automation, Process Control, and Data Logging. Read data from sensors, turn on/off electrical equipment, output control voltages, count or time events, move stepper motors.
  • .Net OCR Library  v.4.4.0Iron OCR is a .NET OCR library allowing users to convert images and PDF documents back into text using the .NET Framework in C#, F#, or VB.NET.
  • The .Net PDF Library  v. .NET PDF library such as Iron PDF is a software library for C#, VB.NET, and other .NET Framework developers to work with PDFs generating PDFs, editing PDFs, and extracting PDF content within their applications. Supports .Net Core & .Net Framework.
  • Router::LG  v.0.98aThe LG class is based on the lg.
  • Mercurial for linux  v.2.1.1Mercurial is a free, distributed source control management tool.