简体   繁体   English

如何使用 HERE 地理编码和搜索 api 检索某个地方的图像?

[英]How to retrieve images for a place using HERE Geocoding and Search api?

I am doing a POC for one of my projects using HERE Geocoding and Search api. I want to search places around a given latitude and longitude and need details of those places including an image/images.我正在使用 HERE 地理编码和搜索 api 为我的一个项目做 POC。我想搜索给定纬度和经度周围的地点,并需要这些地点的详细信息,包括图像。 I am using https://browse.search.hereapi.com/v1/browse?at=47.80049,3.57119&limit=2&categories=700-7600-0000,700-7600-0116&apiKey={YOUR_API_KEY} which returns all details of places but without image related details.我正在使用https://browse.search.hereapi.com/v1/browse?at=47.80049,3.57119&limit=2&categories=700-7600-0000,700-7600-0116&apiKey={YOUR_API_KEY}返回地点的所有详细信息但是没有图像相关的细节。 So I tried to use https://lookup.search.hereapi.com/v1/lookup?id=here:pds:place:276u33dc-2ba407e1181849c9a761a336b8df1805&apiKey={YOUR_API_KEY} where id is returned as one of the attributes in response of previous /browse call, but again this returns same details (without image) as retuned by /browse api. I tried to follow this documentation https://developer.here.com/documentation/geocoding-search-api/migration_guide/migration-places/topics-api/place-details.html but it doesn't help much.所以我尝试使用https://lookup.search.hereapi.com/v1/lookup?id=here:pds:place:276u33dc-2ba407e1181849c9a761a336b8df1805&apiKey={YOUR_API_KEY}其中id作为响应先前/browse的属性之一返回/browse调用,但这再次返回与/browse api 重新调整相同的详细信息(无图像)。我尝试遵循此文档https://developer.here.com/documentation/geocoding-search-api/migration_guide/migration-places/ topics-api/place-details.html但它并没有多大帮助。 So is there a way to retrieve image/images for places using HERE Geocoding and Search api. I would be grateful if some one can share their experience or guide me to correct documentation.那么有没有一种方法可以使用 HERE 地理编码和搜索 api 来检索地点的图像/图像。如果有人可以分享他们的经验或指导我更正文档,我将不胜感激。

The Media Type attributes are currently not returned in GS7 apis.媒体类型属性当前未在 GS7 api 中返回。 The same is told in the below document.在下面的文件中也有同样的说法。 https://developer.here.com/documentation/geocoding-search-api/migration_guide/migration-places/topics-api/place-details.html https://developer.here.com/documentation/geocoding-search-api/migration_guide/migration-places/topics-api/place-details.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从Here Maps API检索地点图像? - How to retrieve place images from Here Maps API? 如何使用此处的地图API从搜索位置获取多个地址列表(地理编码) - How can I get the multiple address list(Geocoding) from search a location using here maps api 如何在 HERE Maps Geocoding and Search API v7 中为反向地理编码端点指定搜索半径? - How to specify a search radius for Reverse Geocode endpoint in HERE Maps Geocoding and Search API v7? 如何使用此处地理编码和搜索 api 从 angular 服务与 API 密钥 - How do I use Here Geocoding and search api from angular service with API key 如何从here-mep的地理编码和搜索API v7通过邮政编码获取时区详细信息? - How to get timezone detail by zip code, from Geocoding and Search API v7 of here-mep? 这里地理编码API中的错误 - Bug in Here Geocoding API 如何处理 HERE 搜索中的重复地点列表 API - how to handle duplicated place listings in HERE search API HERE 地图地理编码和搜索中的附加数据 API v7 Rest - additionaldata in HERE Maps Geocoding and Search API v7 Rest 使用 HERE 地理编码和搜索的街道交叉口坐标 API v7 - Street Intersection Coordinates with HERE Geocoding and Search API v7 如何使用 HERE Api 请求精确定位准确的地理编码数据 - How can I request pinpoint accurate geocoding data using HERE Api
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM