zooomr.photos.geo.setLocation

Sets the geo data (latitude and longitude and, optionally, the accuracy level) for a photo.

Authentication

This method requires authentication with 'write' permission.

Note: This method requires an HTTP POST request.

Arguments

api_key (Required)

Your API application key.

photo_id (Required)

The id of the photo to set location data for.

lat (Required)

The latitude whose valid range is -90 to 90. Anything more than 6 decimal places will be truncated.

lon (Required)

The longitude whose valid range is -180 to 180. Anything more than 6 decimal places will be truncated.

accuracy (Optional)

Recorded accuracy level of the location information. World level is 1, Country is ~3, Region ~6, City ~11, Street ~16. Current range is 1-16. Defaults to 16 if not specified.

Example Response

 {"stat": "ok"}