roadprops
Syntax
Description
OpenDRIVE
extracts road properties from an ASAM OpenDRIVE® road network file. This function supports importing road networks from
OpenDRIVE® file versions 1.4 and 1.5, as well as ASAM OpenDRIVE file version 1.6.roadProperties
= roadprops(OpenDrive=filename
)
OpenStreetMap
[
extracts road properties and the geographic reference coordinates of a road network from
an OpenStreetMap® road network file.roadProperties
,geoReference
] = roadprops(OpenStreetMap=filename
)
HERE HD Live Map
[
extracts road properties from a HERE HD Live Map1
(HDLM) web service. The function extracts properties of the roads that are
nearest to the latitude and longitude coordinates specified in roadProperties
,geoReference
] = roadprops("HEREHDLiveMap",lat
,lon
)lat
and lon
, respectively.
[
extracts road properties for HERE HDLM roads that are at least partially within a
geographic bounding box specified by minimum and maximum latitude and longitude.roadProperties
,geoReference
] = roadprops("HEREHDLiveMap",minLat
,minLon
,maxLat
,maxLon
)
Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0)
[
extracts road parameters from a Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0)
2
web service. The function extracts the properties of the roads that are
nearest to the latitude and longitude coordinates specified in roadProperties
,geoReference
] = roadprops("ZenrinJapanMap",lat
,lon
)lat
and lon
, respectively.
Importing roads from the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) service requires Automated Driving Toolbox Importer for Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) Service.
[
extracts Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) roads that are at least partially within a geographic bounding box specified
by minimum and maximum latitude and longitude.roadProperties
,geoReference
] = roadprops("ZenrinJapanMap",minLat
,minLon
,maxLat
,maxLon
)
Note
This function requires the Scenario Builder for Automated Driving Toolbox™ support package. You can install Scenario Builder for Automated Driving Toolbox from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b
See Also
1 You need to enter into a separate agreement with HERE in order to gain access to the HDLM services and to get the required credentials (access_key_id and access_key_secret) for using the HERE Service.
2 To gain access to the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) service and get the required credentials (a client ID and secret key), you must enter into a separate agreement with ZENRIN DataCom CO., LTD.