id: org.apache.streampipes.processors.geo.jvm.latlong.processor.revgeocoder.geocityname title: Geo City Name Reverse Decoder sidebar_label: Geo City Name Reverse Decoder


Description

This processor computes city 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 ( This file is provided under the CC BY 4.0 license).


Required inputs

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.

{
  'geoname': 'Colombo'
}