【问题标题】:HERE Map Attributes API 8 - Lane level details (width/number) / Road widthHERE 地图属性 API 8 - 车道级别详细信息(宽度/数量)/道路宽度
【发布时间】:2022-12-16 22:50:57
【问题描述】:

您好,我正在使用最新的 HERE Map Attributes API 8,并且想知道道路宽度(如果是多车道,则为车道宽度)。是否可以通过任何 HERE API 获取它?

我也使用路由 API,但它不提供车道详细信息。

感谢任何帮助和支持。非常感谢

【问题讨论】:

    标签: here-api


    【解决方案1】:

    关于这个文档https://demo.support.here.com/pde/layer?region=WEU&release=latest&url_root=pde.api.here.com&layer=LANE_FC2 仅当宽度不同于特定国家/地区的默认值 [厘米] 时才提供宽度

    一般来说,道路宽度应该是国家特定的默认值。否则你需要高清(高清)地图。

    在地图属性图层中,您可以在https://demo.support.here.com/pde/attributes?region=WEU&release=latest&url_root=pde.api.here.com 上搜索“宽度”

    这是 curl 示例请求如何沿路线获取地图属性:

    curl --location --request POST 'https://routematching.hereapi.com/v8/match/routelinks?routeMatch=1&mode=fastest;car;traffic:disabled;&attributes=SPEED_LIMITS_FCn(*),LINK_ATTRIBUTE_FCn(*),TRAFFIC_PATTERN_FCn(*),TRUCK_SPEED_LIMITS_FCn(*),SPEED_LIMITS_VAR_FCn(*),SPEED_LIMITS_COND_FCn(*),APPLICABLE_SPEED_LIMIT(*),LANE_FCn(*),ROAD_NAME_FCn(*),POINT_ADDRESS(*)&apikey=yourapikey' 
    --header 'Content-Type: text/plain' 
    --data-raw 'LATITUDE,LONGITUDE
    53.3737131,-1.4704939
    53.3742428,-1.4677477
    53.3745646,-1.467576
    53.3758092,-1.4665675
    53.3765066,-1.4645076
    53.3750689,-1.4637029
    53.3745968,-1.4630377
    53.3738351,-1.4672971
    53.37275319,-1.473253781
    53.37296063,-1.473458358
    53.37317601,-1.473573578
    53.3734015,-1.473591359
    53.37364231,-1.473555407
    53.37382051,-1.473525778
    53.37398259,-1.473544385
    53.37424653,-1.473552796
    53.37444054,-1.473323957
    53.37461894,-1.472965559
    53.37560366,-1.471516545
    53.37612036,-1.471082224
    53.37664992,-1.471201825
    53.37702013,-1.471195299
    53.37725988,-1.47097831
    53.37737117,-1.470668778
    53.37855999,-1.469833729
    53.37852091,-1.469329573
    53.37862204,-1.468927756
    53.37876223,-1.468789212
    53.37892666,-1.468780348
    53.38020745,-1.46563088
    53.37937367,-1.467046193
    53.37962673,-1.465272589
    53.37988833,-1.465201122
    53.37988833,-1.465201122
    53.37988744,-1.466035798
    53.37989308,-1.466140205
    53.37987924,-1.466296083
    53.38021984,-1.466613191
    53.38033388,-1.466708518
    53.38051677,-1.466619881
    53.38113146,-1.466989795
    53.38123316,-1.467038024
    53.38153622,-1.466477674
    53.38158782,-1.466302653
    53.38251095,-1.465818564
    53.38298113,-1.465874184
    53.38304442,-1.464368113
    53.3835912,-1.462213339
    53.38379501,-1.461524376
    53.38384597,-1.461352135
    53.38298303,-1.461404355'
    

    有关现有层的附加信息:https://demo.support.here.com/pde/layers?region=WEU&release=latest&url_root=pde.api.here.com

    https://demo.support.here.com/pde/maps?url_root=pde.api.here.com

    https://smap.hereapi.com/v8/maps/layers/doc.html?layer=APPLICABLE_SPEED_LIMIT&apikey=yourapikey

    https://developer.here.com/documentation/content-map-attributes/api-reference.html

    【讨论】:

      猜你喜欢
      • 2022-11-01
      • 1970-01-01
      • 2017-11-09
      • 2014-08-30
      • 1970-01-01
      • 1970-01-01
      • 2018-02-14
      • 1970-01-01
      • 2016-12-07
      相关资源
      最近更新 更多