Google Geocoding API, HTTP, CSV data in API v3

I am developing firmware for a gps tracker. Until this time, I used Google Maps v2 for reverse geocoding (for converting GPS coordinates to the address bar). I used an http request and a short reaction form (csv) ( http://maps.googleapis.com/maps/geo?q= & output = csv & ...). Now that the API v2 support is almost over, I am trying to upgrade to v3 but cannot find the csv response format in the http request settings. Response size is a critical parameter for the device. How to solve this problem? Thank.

+5
source share
1 answer

According to the documentation, you are stuck in JSON or XML.

A Geocoding API request must be of the following form:

http://maps.googleapis.com/maps/api/geocode/output?parameters
where output may be either of the following values:
  • json () JavaScript Object Notation (JSON)
  • xml XML

: :

http://maps.googleapis.com/maps/api/geocode/json?sensor=true&address=Your+address+here

http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=Your+address+here

sensor , .

+4

All Articles