reverse geocoding with google (not getting full address)

Rudraa Kumar 6 years ago

original address in google -

"formatted_address" : "kalypso tower 15-16 jaypee green wishtown, Sector 128, Noida, Uttar Pradesh 201301, India",
         "geometry" : {
            "location" : {
               "lat" : 28.5252927,
               "lng" : 77.35171179999999
            },
            "location_type" : "ROOFTOP",
            "viewport" : {
               "northeast" : {
                  "lat" : 28.5266416802915,
                  "lng" : 77.3530607802915
               },
               "southwest" : {
                  "lat" : 28.52394371970849,
                  "lng" : 77.35036281970848
               }
            }
         },
         "place_id" : "ChIJFx5iu2vmDDkRIYVdUtY8Gwo",
         "plus_code" : {
            "compound_code" : "G9G2+4M Noida, Uttar Pradesh, India",
            "global_code" : "7JWVG9G2+4M"
         },
         "types" : [ "street_address" ]

but in traccar -

Noida, UP, IN, Gautam Buddh Nagar, 201301

Rudraa Kumar 6 years ago

how to get full address using google api please help

Syed Mujeer Hashmi 6 years ago

You need to add below line in the conf file to get formatted address.
<entry key='geocoder.format'>%f</entry>

Rudraa Kumar 6 years ago

yes now it's working fine thanks.