Skip to content

Adapt vehicle types from openx harmonization #863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/spelling_custom_words_en_US.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Hagen
halten
hier
Hochwasser
hoverboards
href
hsv
htm
Expand Down
108 changes: 93 additions & 15 deletions osi_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,9 @@ message MovingObject
//
TYPE_COMPACT_CAR = 3;

// Vehicle is a car.
// A car is a motorized vehicle designed primarily for passenger
// transportation.
// Typically has four wheels.
//
// This is to be used for all car-like vehicles, without any
// further differentiated type available.
Expand All @@ -835,67 +837,143 @@ message MovingObject
//
// \image html OSI_TYPE_DELIVERY_VAN.svg
//
// \note Deprecated differentiation, use TYPE_VAN instead
//
TYPE_DELIVERY_VAN = 6;

// Vehicle is a (heavy) truck.
// A van is a motorized vehicle with a larger cargo area than a car,
// used for transporting goods or people.
//
TYPE_VAN = 6;

// A heavy truck is a large commercial vehicle designed for
// transporting heavy loads.
// The cargo area is rigidly fixed to the vehicle itself.
//
// \image html OSI_TYPE_HEAVY_TRUCK.svg
//
TYPE_HEAVY_TRUCK = 7;

// Vehicle is a tractor capable of pulling a semi-trailer.
// A semi-tractor is a vehicle designed for towing semi-trailers for
// the transportation of heavy loads.
//
// \image html OSI_TYPE_SEMITRACTOR.svg
//
TYPE_SEMITRACTOR = 16;

// This vehicle is a semi-trailer that can be pulled by a
// A semi-trailer is a vehicle designed for being towed by a
// semi-tractor.
// Characteristics compared to a regular trailer are the large size,
// the fact that a large portion of the weight is supported at the
// hitch and a large overlap with the towing vehicle, i.e. the
// semi-tractor.
//
// \note The vehicle can be, but doesn't need to be,
// attached to another vehicle.
// \note The vehicle can be, but doesn't need to be, attached to
// another vehicle.
//
// \image html OSI_TYPE_SEMITRAILER.svg
//
TYPE_SEMITRAILER = 8;

// Vehicle is a trailer.
// A trailer is a non-motorized vehicle designed for being towed by
// a motorized vehicle to carry goods, animals or people.
//
// \note The vehicle can be, but doesn't need to be,
// attached to another vehicle.
// \note The vehicle can be, but doesn't need to be, attached to
// another vehicle.
//
// \image html OSI_TYPE_TRAILER.svg
//
TYPE_TRAILER = 9;

// Vehicle is a motorbike or moped.
//
// \note Deprecated differentiation, use TYPE_MOTORCYCLE instead
//
TYPE_MOTORBIKE = 10;

// Vehicle is a bicycle (without motor and specific lights).
// A motorcycle is a motorized vehicle designed primarily for
// passenger transportation.
// Compared to a car, typically fewer passive safety features such
// as a full passenger cell are present.
// This category includes typical two-wheeled motorcycles, but also
// three-wheeled vehicles like motorcycles with side-cars or even
// trikes.
//
TYPE_MOTORCYCLE = 10;

// A bicycle is a human-powered or motor-assisted, pedal-driven
// vehicle.
// This category includes typical two-wheeled bicycles, but
// also cargo-bikes and alike with more than two wheels.
//
TYPE_BICYCLE = 11;

// Vehicle is a bus.
// A bus is a motorized vehicle designed to carry multiple
// passengers.
//
TYPE_BUS = 12;

// Vehicle is a tram.
// A tram is a vehicle designed for using rail infrastructure for
// the transport of passengers on rail infrastructure.
// The rail infrastructure may fully or partially overlap with
// public road infrastructure.
// In contrast to trains, trams do not have exclusive right-of-way.
// Often as a series of connected vehicles.
//
TYPE_TRAM = 13;

// Vehicle is a train.
// A train is a vehicle designed for the transport of passengers and
// freight on rail infrastructure.
// The rail infrastructure for trains is mostly grade-separated from
// the public road infrastructure as trains have exclusive
// right-of-way.
// Therefore, in case crossings with the road infrastructure occur,
// the exclusive right-of-way is ensured, e.g. by railway barriers.
// Often as a series of connected vehicles.
//
TYPE_TRAIN = 14;

// Vehicle is a wheelchair.
//
TYPE_WHEELCHAIR = 15;

// Vehicle is a stand-up scooter, including
// motorized versions.
// Vehicle is a stand-up scooter, including motorized versions.
//
TYPE_STANDUP_SCOOTER = 17;

// A micro-mobility device is a small, lightweight vehicle for
// short-distance travel excluding bicycles (e.g. electric stand-up
// scooters, hoverboards and wheelchairs).
//
TYPE_MICROMOBILITY_DEVICE = 18;

// A work-machine is a vehicle designed for specific tasks (e.g.,
// construction equipment, agricultural tractors, forklifts).
//
TYPE_WORK_MACHINE = 19;

// A watercraft is a vehicle designed for travel on water (boats,
// ships, etc.).
//
// \note This category is intentionally unspecific and may be
// detailed out in future versions if use-cases require so.
//
TYPE_WATERCRAFT = 20;

// An aircraft is a vehicle designed for flight through the air
// (airplanes, helicopters, etc.).
//
// \note This category is intentionally unspecific and may be
// detailed out in future versions if use-cases require so.
//
TYPE_AIRCRAFT = 21;

// A land vehicle is a vehicle designed for travel on land.
//
// \note This category is intentionally unspecific and may be
// detailed out in future versions if use-cases require so.
//
TYPE_LAND_VEHICLE = 22;
}

// The type of the vehicle.
Expand Down