API proposal:
GET_EVENTS_FOR_POSITION:
@latitude: the latitude for this location
@longitude: the longitude for this location
@altitude: the altitude for this location
@precision: the acceptable offset from the location
returns: a list of event IDs within the area formed by the coordinates and
the accepted offset from the point.
GET_EVENTS_FOR_ADDRESS:
@address: dictionary with address fields
Possible fields for the address dictionary are countrycode, country, region,
locality, area, postalcode and street
returns: a list of event IDs associated with this address
GET_POSITION_FOR_EVENT:
@event: an event ID
gets the positional data for an event ID. the data is returned as an array
with longitude, latitude, altitude and accuracy.
accuracy is an array of accuracy level, horizontal accuracy and vertical
accuracy
returns: position
GET_ADDRESS_FOR_EVENT:
@event: an event ID
gets the address for an event ID. the data is returned as a dictionary with
address fields. available fields will be populated. unavailable fields are
undefined.
possible fields are: countrycode, country, region, locality, area, postalcode
and street
returns: dictionary with address data