匹配路线的 KML 示例 Api
KML Example for Match Route Api
我正在努力向
提交有效的 POST
https://rme.api.here.com/2/matchroute.json
我的参数是
"routemode":"truck",
"filetype":"KML",
"height":2.55,
"width":4,
"length":12,
"file":"LINESTRING(9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9201715 53.4410191,9.9243505 59.5565351,9.9201715 53.4410191)"
响应是:
"400 - {"faultCode":"888afd7b-db9f-44c9-b1cc-5787de1199a5","message":"Cannot process kml. Content is not allowed in prolog.","responseCode":"400 Bad Request"}"
发布到匹配路线 API 的有效 KML 是什么样的?
关于 KML 匹配路由 API 支持。
KML: Either <Placemarks> with <Points> or <Placemarks> with <LineStrings> can be submitted. Folders with multiple traces are not supported.
有关 KML 格式,请参阅下面的帖子。
希望对您有所帮助。
我正在努力向
提交有效的 POSThttps://rme.api.here.com/2/matchroute.json
我的参数是
"routemode":"truck",
"filetype":"KML",
"height":2.55,
"width":4,
"length":12,
"file":"LINESTRING(9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9243505 59.5565351,9.9201715 53.4410191,9.9243505 59.5565351,9.9201715 53.4410191)"
响应是:
"400 - {"faultCode":"888afd7b-db9f-44c9-b1cc-5787de1199a5","message":"Cannot process kml. Content is not allowed in prolog.","responseCode":"400 Bad Request"}"
发布到匹配路线 API 的有效 KML 是什么样的?
关于 KML 匹配路由 API 支持。
KML: Either <Placemarks> with <Points> or <Placemarks> with <LineStrings> can be submitted. Folders with multiple traces are not supported.
有关 KML 格式,请参阅下面的帖子。
希望对您有所帮助。