Class TileDecoders
Each decoder accepts an InputStream, parses the protobuf-encoded partition,
and converts it into the corresponding in-memory representation
within the Library model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiPropertyTileadasAttributes(InputStream inputStream) Decoder for the ADAS attributes layer that retains all available attributes.static MultiPropertyTileadasAttributes(scala.collection.immutable.Seq<AdasAttributeDescription> attributes, InputStream inputStream) Decoder for the ADAS attributes layer that retains only the specified attributes.static MultiPropertyTileadvancedNavigationAttributes(InputStream inputStream) Deprecated.Use topologyAttributes instead.static MultiPropertyTileadvancedNavigationAttributes(scala.collection.immutable.Seq<AdvancedNavigationAttributeDescription> attributes, InputStream inputStream) Deprecated.Use topologyAttributes instead.static RangeBasedPropertyTile<Object>freeFlowSpeed(InputStream inputStream) Decoder for the Free Flow Speed layer.static GeometryTilegeometry(InputStream inputStream) Decoder for the Geometry layer.static UndirectedPropertyTile<Object>length(InputStream inputStream) Decoder for the Length layer.static MappingTilemapping(InputStream inputStream) Decoder for the Mapping layer.static MultiPropertyTilenavigationAttributes(InputStream inputStream) Deprecated.Use topologyAttributes instead.static MultiPropertyTilenavigationAttributes(scala.collection.immutable.Seq<NavigationAttributeDescription> attributes, InputStream inputStream) Deprecated.Use topologyAttributes instead.static EdgePropertyTile<Object>restrictedManoeuvre(InputStream inputStream) Decoder for the Restricted Manoeuvre layer.static RangeBasedPropertyTile<Object>roadAccess(InputStream inputStream) Decoder for the Road Access layer.static MultiPropertyTileroadAttributes(InputStream inputStream) Deprecated.Use topologyAttributes instead.static MultiPropertyTileroadAttributes(scala.collection.immutable.Seq<RoadAttributeDescription> attributes, InputStream inputStream) Deprecated.Use topologyAttributes instead.static GraphTileroutingGraph(InputStream inputStream) Decoder for the Routing Graph layer.static com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartitiontmcTable(InputStream inputStream) Decoder for the Tmc layer.static MultiPropertyTiletopologyAttributes(InputStream inputStream) Decoder for the Topology attributes layer that retains all available attributes.static MultiPropertyTiletopologyAttributes(scala.collection.immutable.Seq<TopologyAttributeDescription> attributes, InputStream inputStream) Decoder for the Topology attributes layer that retains only the specified attributes.
-
Constructor Details
-
TileDecoders
public TileDecoders()
-
-
Method Details
-
geometry
Decoder for the Geometry layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Geometry layer data.
-
length
Decoder for the Length layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Length layer data.
-
mapping
Decoder for the Mapping layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Mapping layer data.
-
restrictedManoeuvre
Decoder for the Restricted Manoeuvre layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Restricted Manoeuvre layer data.
-
routingGraph
Decoder for the Routing Graph layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Routing Graph layer data.
-
roadAccess
Decoder for the Road Access layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Road Access layer data.
-
freeFlowSpeed
Decoder for the Free Flow Speed layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Free Flow Speed layer data.
-
tmcTable
public static com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartition tmcTable(InputStream inputStream) Decoder for the Tmc layer.- Parameters:
inputStream- The input stream containing the protobuf-encoded Tmc layer data.
-
roadAttributes
Deprecated.Use topologyAttributes instead. Since Location Library 1.0.54.Decoder for the Road attributes layer that retains all available attributes.Recommended when full access to all Road attributes is required.
- Parameters:
inputStream- The input stream containing the protobuf-encoded Road attributes data.
-
roadAttributes
public static MultiPropertyTile roadAttributes(scala.collection.immutable.Seq<RoadAttributeDescription> attributes, InputStream inputStream) Deprecated.Use topologyAttributes instead. Since Location Library 1.0.54.Decoder for the Road attributes layer that retains only the specified attributes.This decoder reads the protobuf data from the provided
inputStream, but keeps only the attributes explicitly specified in theattributesparameter. It helps reduce memory consumption and improve performance.Note: Accessing an excluded attribute at runtime will result in an
IllegalArgumentException.- Parameters:
inputStream- The input stream containing the protobuf-encoded Road attributes data.attributes- The list of Road attributes to retain after decoding.
-
topologyAttributes
Decoder for the Topology attributes layer that retains all available attributes.Recommended when full access to all Topology attributes is required.
- Parameters:
inputStream- The input stream containing the protobuf-encoded Topology attributes data.
-
topologyAttributes
public static MultiPropertyTile topologyAttributes(scala.collection.immutable.Seq<TopologyAttributeDescription> attributes, InputStream inputStream) Decoder for the Topology attributes layer that retains only the specified attributes.This decoder reads the protobuf data from the provided
inputStream, but keeps only the attributes explicitly specified in theattributesparameter. It helps reduce memory consumption and improve performance.Note: Accessing an excluded attribute at runtime will result in an
IllegalArgumentException.- Parameters:
inputStream- The input stream containing the protobuf-encoded Topology attributes data.attributes- The list of Topology attributes to retain after decoding.
-
adasAttributes
Decoder for the ADAS attributes layer that retains all available attributes.Recommended when full access to all ADAS attributes is required.
- Parameters:
inputStream- The input stream containing the protobuf-encoded ADAS attributes data.
-
adasAttributes
public static MultiPropertyTile adasAttributes(scala.collection.immutable.Seq<AdasAttributeDescription> attributes, InputStream inputStream) Decoder for the ADAS attributes layer that retains only the specified attributes.This decoder reads the protobuf data from the provided
inputStream, but keeps only the attributes explicitly specified in theattributesparameter. It helps reduce memory consumption and improve performance.Note: Accessing an excluded attribute at runtime will result in an
IllegalArgumentException.- Parameters:
inputStream- The input stream containing the protobuf-encoded ADAS attributes data.attributes- The list of ADAS attributes to retain after decoding.
-