id: version-0.68.0-org.apache.streampipes.processor.geo.jvm.reversegeocoding title: Reverse Geocoder sidebar_label: Reverse Geocoder original_id: org.apache.streampipes.processor.geo.jvm.reversegeocoding


Description

This processor computes place name based on given lat/lng coordinates that are transmitted as fields from an event.

This processor automatically downloads the file cities1000.zip from Geonames (http://download.geonames.org/export/dump/cities1000.zip). This file is provided under the CC BY 4.0 license, see https://creativecommons.org/licenses/by/4.0/ for license details.


Required input

Input event requires to have latitude and longitude values.


Configuration

Latitude

The field containing the latitude value.

Longitude

The field containing the longitude value.

Output

Outputs a similar event like below.

{
  'place': 'Colombo'
}