可以在 google place api 中插入我们的地点数据吗?

发布于 2024-12-18 08:39:25 字数 204 浏览 2 评论 0原文

你们中的许多人都曾在 Android 中开发过 LBS 应用程序,并且还使用过 Google Places API Web 服务来获取信息。您可能还注意到,印度的数据不准确,这意味着您知道的许多地方不在地图上。所以我的问题是,有没有什么方法可以将数据库以 XML/JSON 的形式添加到 Google 的 Places API Web 服务中?如果是,请告诉我这怎么可能。

谢谢

Many of you has worked on LBS application in android and also used the Google Places API web service for the information. And you may also noticed that the data for India is not accurate means many of places that you know are not their on the map. So my question is that is there any way that you can add your database to Google's Places API Web service in the form of XML/JSON? If yes then please let me know how it is possible.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

孤星 2024-12-25 08:39:25

您可以使用用户地点报告

用户地点报告

地点报告请求用于添加新地点或删除现有地点。
新地点将立即在您发起的地点搜索中可用
申请,并将进入审核队列
考虑用于 Google 地图。新添加的地点将不可用
到其他申请,直到获得审核程序的批准。

您的应用程序添加的地点也可以删除,直到
他们已经过审核。经过审核并添加到完整位置后
搜索结果中,某个地点无法再删除。不存在的地方
被审核过程接受将继续对
提交它们的应用程序。

地点报告请求

添加地点

地点报告添加请求是类似于示例的 HTTP POST 请求
如下:

  POST https://maps.googleapis.com/maps/api/place/add/<strong>json</strong>?
            sensor=<var>true_or_false</var>&key=<var>api_key</var> HTTP/1.1
  Host: maps.googleapis.com

  {
         "location": {
         "lat": -33.8669710,
         "lng": 151.1958750
      },
      "accuracy": 50,
      "name": "Google Shoes!",
      "types": ["shoe_store"],
      "language": "en-AU"
  }

You can use Users Place Report

User Place Reports

Place Report requests are used to add new Places, or delete existing ones.
New Places will be available immediately in Place Searches initiated by your
application, and will enter the moderation queue
to be considered for Google Maps. A newly-added Place will not be available
to other applications until it has been approved by the moderation process.

Places that have been added by your application can also be deleted, until
they have been moderated. Once moderated and added into the full Place
Search results, a Place can no longer be deleted. Places that are not
accepted by the moderation process will continue to be visible to the
application that submitted them.

Place Report Requests

Adding a Place

A Place Report add request is an HTTP POST request similar to the example
below:

  POST https://maps.googleapis.com/maps/api/place/add/<strong>json</strong>?
            sensor=<var>true_or_false</var>&key=<var>api_key</var> HTTP/1.1
  Host: maps.googleapis.com

  {
         "location": {
         "lat": -33.8669710,
         "lng": 151.1958750
      },
      "accuracy": 50,
      "name": "Google Shoes!",
      "types": ["shoe_store"],
      "language": "en-AU"
  }
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文