Steps |
Top Previous Next |
|
•Download pbf files (1 or more) http://download.geofabrik.de/osm/
•Unzip them using osmconvert http://wiki.openstreetmap.org/wiki/Osmconvert
•Start osm2routeware.exe Select the osm file(s) and an output folder. The osm file should be in UTF-8 format, which is also the default setup.
Options:
•Output format
You can choose between 4 file formats for output:
1) MIF This allows output of any size and uses WindowsLatin1 as character set, which is good for most users.
2) MIF - UTF8 As above, but uses UTF8 to support all characters. MapInfo 64-bit reads this format.
3) SHP SHP files can only hold up to 2 GB of data and the codepage for text fields is always WindowsLatin1. If the output file gets too big, it stops processing shortly before reaching 2 GB.
4) TAB Same issue as SHP above. We recommend writing to MIF / MIF - UTF8 and then import to TAB. Normal or extended TAB according to your needs.
•Optional fields Select one or more of these
•0-255 range Selecting this will turn tonnes into units of ½ tonnes and meters into units of decimeter. This way it is directly compatible with RouteFinder / RW Net 4.
•Modes Select as a minimum one of the 3 modes. Highway tags control if a link is enabled for a specific mode. A positive-list for these are stored in the file include.txt.
Possible overrides are: 1) For cars: motorcar / motor_vehicle = yes / no 2) For bicycles: bicycle = yes / no 3) For pedestrians: foot = yes / no
•Split loop links RW Net 4 requires that loop links are split. Set this if you plan to use the output with RW Net 4 / RouteFinder. A loop link is one that starts and end at the same node.
•Split links for routing This will split the links at all intersections. Needed for routing use. If you don't check it, generated files are much more compact. Long ferry links between multiple harbours are split.
•Build RW Net 4 network Check this if you want to have the network built in RW Net 4 format directly after conversion.
•Detect subnets Check this, if the generated RW Net 4 network should be further checked for subnets.
•Topological checks Check this, if the generated RW Net 4 network should be further checked for basic topological errors.
|