使用的PDE查询:
https://pde.api.here.com/1/tile.json?app_id=***&app_code=***&layer=LINK_ATTRIBUTE_FC1&level=9&tilex=537&tiley=399
返回的行列表,每个行的后继 LINK_ID ,但不表示GPS。如何将 lat / lon 转换为 link_id 或将 link_id 转换为 lat / lon
响应示例:
{
Rows: [{
LINK_ID: "52493206",
ISO_COUNTRY_CODE: "DEU",
VEHICLE_TYPES: "1007",
URBAN: "N",
TRANSPORT_VERIFIED: "Y",
FUNCTIONAL_CLASS: "1",
CONTROLLED_ACCESS: "Y",
LIMITED_ACCESS_ROAD: "Y",
TRAVEL_DIRECTION: "F",
BOAT_FERRY: "N",
RAIL_FERRY: "N",
MULTI_DIGITIZED: "Y",
DIVIDER: "N",
DIVIDER_LEGAL: "N",
FRONTAGE: "N",
PAVED: "Y",
RAMP: "N",
PRIVATE: "N",
POI_ACCESS: "N",
INTERSECTION_CATEGORY: null,
SPEED_CATEGORY: "1",
LANE_CATEGORY: "2",
COVERAGE_INDICATOR: "N0",
TO_REF_NUM_LANES: null,
FROM_REF_NUM_LANES: "2",
PHYSICAL_NUM_LANES: null,
LOW_MOBILITY: "3",
PUBLIC_ACCESS: "Y",
GRADE_CATEGORY: null,
ROUTE_TYPES: "3",
OVERPASS_UNDERPASS: null
}, {
LINK_ID: "52493207",
...
}]
答案 0 :(得分:0)
您可以在ROAD_GEOM层上的PDE中获取它们
答案 1 :(得分:0)
此外:要请求可能的图层,可以使用以下请求: https://pde.api.here.com/1/doc/layers.json?app_id=yyy&app_code=xxxx
ROAD_GEOM_FC1可以覆盖您的示例:
"Tiles": [{ "Rows": [{ "LINK_ID": "52493206", "LONG_HAUL": "Y", "NAME": "A45", "NAMES": "ENGBNA45", "TUNNEL": "N", "BRIDGE": "Y", "LAT": "5028847,19,112", "LON": "896815,-14,-80", "ZLEVEL": ",1," }, { "LINK_ID": "52493207", "LONG_HAUL": "Y",.....