'\" t -*- coding: us-ascii -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH filedumper 1 "15 March 2017" "" "" .SH NAME filedumper \- dump routino database contents .SH SYNOPSIS 'nh .fi .ad l \fBfiledumper\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fB--help\fR] [\fB--dir=\fIdirname\fB\fR] [\fB--prefix=\fIname\fB\fR] [\fB--statistics\fR] [\fB--visualiser\fR \fB--latmin=\fIlatmin\fB\fR \fB--latmax=\fIlatmax\fB\fR \fB--lonmin=\fIlonmin\fB\fR \fB--lonmax=\fIlonmax\fB\fR \fB--data=\fIdata-type\fB\fR ] [\fB--dump\fR [\fB--node=\fInode\fB\fR ...] [\fB--segment=\fIsegment\fB\fR ...] [\fB--way=\fIway\fB\fR ...] [\fB--turn-relation=\fIrel\fB\fR ...] [\fB--errorlog=\fInumber\fB\fR ...] ] [\fB--dump-osm\fR [\fB--no-super\fR] [\fB--latmin=\fIlatmin\fB\fR \fB--latmax=\fIlatmax\fB\fR \fB--lonmin=\fIlonmin\fB\fR \fB--lonmax=\fIlonmax\fB\fR ] ] [\fB--dump-visualiser\fR [\fB--data=node\fR] [\fB--data=segment\fR] [\fB--data=turn-relation\fR] [\fB--data=errorlog\fR] ] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBfiledumper\fR is used to extract statistics from the \fBroutino\fR database, extract particular information for visualisation purposes or for dumping the database contents. .SH OPTIONS .TP \*(T<\fB\-\-help\fR\*(T> Prints usage information .TP \*(T<\fB\-\-dir\fR\*(T>=\fIdirname\fR The directory containing the routing database. .TP \*(T<\fB\-\-prefix\fR\*(T>=\fIname\fR The filename prefix for the routing database. .TP \*(T<\fB\-\-statistics\fR\*(T> Print statistics about the routing database. .TP \*(T<\fB\-\-visualiser\fR\*(T> Extract selected data from the routing database: .RS .TP \*(T<\fB\-\-latmin\fR\*(T>=\fIlatmin\fR The minimum latitude (degrees N) .TP \*(T<\fB\-\-latmax\fR\*(T>=\fIlatmax\fR The maximum latitude (degrees N). .TP \*(T<\fB\-\-lonmin\fR\*(T>=\fIlonmin\fR The minimum longitude (degrees E). .TP \*(T<\fB\-\-lonmax\fR\*(T>=\fIlonmax\fR The maximum longitude (degrees E). .TP \*(T<\fB\-\-data\fR\*(T>=\fIdata-type\fR The type of data to select. \fIdata-type\fR can be selected from: .TS l l l. T{ junctions T} T{ = T} T{ segment count at each junction. T} T{ super T} T{ = T} T{ super-node and super-segments. T} T{ waytype-* T} T{ = T} T{ segments of oneway, cyclebothways or roundabout type. T} T{ highway-* T} T{ = T} T{ segments of the specified highway type. T} T{ transport-* T} T{ = T} T{ segments allowing the specified transport type. T} T{ barrier-* T} T{ = T} T{ nodes disallowing the specified transport type. T} T{ turns T} T{ = T} T{ turn restrictions. T} T{ speed T} T{ = T} T{ speed limits. T} T{ weight T} T{ = T} T{ weight limits. T} T{ height T} T{ = T} T{ height limits. T} T{ width T} T{ = T} T{ width limits. T} T{ length T} T{ = T} T{ length limits. T} T{ property-* T} T{ = T} T{ segments with the specified property. T} T{ errorlogs T} T{ = T} T{ errors logged during parsing. T} .TE .RE .TP \*(T<\fB\-\-dump\fR\*(T> Dump selected contents of the database. .RS .TP \*(T<\fB\-\-node\fR\*(T>=\fInode\fR The node with the selected index. .TP \*(T<\fB\-\-segment\fR\*(T>=\fIsegment\fR The segment with the selected index. .TP \*(T<\fB\-\-way\fR\*(T>=\fIway\fR The way with the selected index. .TP \*(T<\fB\-\-turn\-relation\fR\*(T>=\fIrel\fR The turn relation with the selected index. .TP \*(T<\fB\-\-errorlog\fR\*(T>=\fInumber\fR The error log with the selected index. Use 'all' instead of a number to get all of them. .RE .TP \*(T<\fB\-\-dump\-osm\fR\*(T> Dump all or part of the database as an XML file. .RS .TP \*(T<\fB\-\-no\-super\fR\*(T> Exclude the super-segments. .TP \*(T<\fB\-\-latmin\fR\*(T>=\fIlatmin\fR The minimum latitude (degrees N). .TP \*(T<\fB\-\-latmax\fR\*(T>=\fIlatmax\fR The maximum latitude (degrees N). .TP \*(T<\fB\-\-lonmin\fR\*(T>=\fIlonmin\fR The minimum longitude (degrees E). .TP \*(T<\fB\-\-lonmax\fR\*(T>=\fIlonmax\fR The maximum longitude (degrees E). .RE .TP \*(T<\fB\-\-dump\-visualiser\fR\*(T> Dump selected contents of the database in HTML. .RS .TP \*(T<\fB\-\-data\fR\*(T>=node The node with the selected index. .TP \*(T<\fB\-\-data\fR\*(T>=segment The segment with the selected index. .TP \*(T<\fB\-\-data\fR\*(T>=turn-relation The turn relation with the selected index. .TP \*(T<\fB\-\-data\fR\*(T>=errorlog The error log with the selected index. .RE