bbd
bbd - bbbike data format description
bbd
is a simple format for describing points and polylines for
geographics information systems.
Bbd files consist of newline-terminated records in the format:
Name TAB Category SPACE x,y SPACE x,y ...
- Name
-
A descriptive name, for example the street name. This field should not
contain any TAB characters.
- Category
-
The category of this point or polyline. If the category matches
#rrggbb
(where rr
, gg
and bb
are hexadecimal values), then
this denotes a color for the representation in the Perl/Tk interface.
A prefix of F:
denotes that the polyline should be treated as a
polygon and this filled with a solid color. Other predefined
categories are listed below. The category should not contain any
spaces.
- x,y
-
A coordinate. x and y should be integer or float values. The datum and
grid of the coordinates should be handled by the software. It is
recommended that x and y should denote the easting and northing in
meters (as in GKK or UTM). A record may contain an unlimited number of
coordinates.
If a line begins with a hash sign (#
), then it is treated as a
comment. Empty lines are ignored.
Here's a list of special categories:
Used in files: strassen
, landstrassen
, landstrassen2
.
- BAB
-
Freeways (Bundesautobahn)
- B
-
Bundesstraßen
- HH
-
Important main streets (wichtige Hauptstraßen)
- H
-
Main streets (Hauptstraßen)
- N
-
Nebenstraßen
- NN
-
Für Kfz gesperrte Straßen.
- Pl
-
Places (Plätze). Only for point records.
Used in files: gesperrt
.
-
One way street. The blocking is in the direction of the polyline.
-
Blocked street (in both directions).
-
The bicycle has to be carried. An optional penalty parameter expressed
in seconds of lost time may be added after the category, with a
:
as separator. Example: 0:30
for a penalty of 30 seconds. This is
only for point records.
-
A blocked route (gesperrte Wegführung).
- BNP
A narrow passage. An optional penalty parameter may be added, like for
the
category.
Used in files: radwege_exact
.
- RW0
-
Normaler nicht benutzungspflichtiger Radweg.
- RW1
-
Benutzungspflichtiger Radweg.
- RW2
-
Suggestivstreifen für Radfahrer.
- RW3
-
Radstreifen.
- RW4
-
Busspur (eventuell nur temporär), auch für Radfahrer frei.
- RW5
-
Verkehrsberuhigte Straße.
- RW6
-
Fahrradstraße.
- RW7
-
Zweirichtungsradweg, Gegenrichtung.
Used in files: ubahn
, sbahn
, rbahn
, ubahnhof
, sbahnhof
,
rbahnhof
.
- R
-
Regionalbahnen außerhalb des Stadtgebiets.
- RA
-
Regionalbahnen Zone A.
- RB
-
Regionalbahnen Zone B.
- RC
-
Regionalbahnen Zone C.
- R0
-
Regionalbahnen außer Betrieb oder in Bau.
- S
-
S-Bahnen außerhalb des Stadtgebiets.
- SA
-
S-Bahnen Zone A.
- SB
-
S-Bahnen Zone B.
- SC
-
S-Bahnen Zone C.
- S0
-
S-Bahnen außer Betrieb oder in Bau.
- U
-
U-Bahnen außerhalb des Stadtgebiets.
- UA
-
U-Bahnen Zone A.
- UB
-
U-Bahnen Zone B.
- UC
-
U-Bahnen Zone C.
- U0
-
U-Bahnen außer Betrieb oder in Bau.
Qualität der Wege (Fahrbahnbeschaffenheit).
Used in files: quality_s
, quality_l
.
- Q0
-
Beste Qualität, keine Einschränkungen.
- Q1
-
Gute Kopfsteinpflasterstrecken, mäßiger Asphalt, etwa 25 km/h
Höchstgeschwindigkeit.
- Q2
-
Gewöhnliche Kopfsteinpflasterstrecken, schlechter Asphalt, Waldwege,
etwa 18 km/h Höchstgeschwindigkeit.
- Q3
-
Schlechte Kopfsteinpflasterstrecken, sandige Strecken, etwa 13 km/h
Höchstgeschwindigkeit.
Andere, nicht fahrbahnbezogene Handicaps. Used in files: handicap_s
,
handicap_l
.
- q0
-
Keine.
- q1
-
Auf 25 km/h.
- q2
-
Auf 18 km/h.
- q3
-
Auf 13 km/h.
Used in files: comments
.
- P1
-
Only for records with three points. Comment is valid for point B if
driving from A to C.
- P2
-
Same as P1, but valid for both directions.
- S1
-
Comment is valid for the whole route in this direction.
- S2
-
Comment is valid for the whole route in both directions.
- PI
-
Path instruction (genauere Wegbeschreibung).
- P0
-
Dieser Weg ist gesperrt (z.B. Abbiegen nicht möglich), aber eine
Umfahrung ist möglich ... siehe auch Kategorie "3" in
Blocking
.
Used in files: flaechen
. Mostly prefixed with "F:", see above.
- P
-
Parks and forests.
- Ae
-
Airports.
- radroute
-
Haupt- oder Freizeitrouten.
- Q
-
Fähren.
- X
-
The category will not be used in this case.
- ampeln
-
File with point records for traffic lights (Ampeln). The category is
set to
B
for railroad crossings and F
for pedestrian-only
traffic lights, otherwise not used.
- hoehe
-
File with elevation points. The
Name
fields denotes the elevation
in meters, the category is not used.
XXX To be continued
Slaven Rezic <slaven@rezic.de>
bbbike(1), Strassen(3).
[Top]