From wiki.ginstr.com
Jump to: navigation, search

gn:act_getNominatimData

Description
Action used extract address parts from NOMINATIM data to targets.
Action returns
void

Action signatures

Get nominatim data

[gn:act_getNominatimData]|[source(DTGps);keyword,target{n}]

keyword,target pairs are separated by ;

Parameter Description
source source gps source which is used with NOMINATIM server to get address
keyword string which represents which value will be extracted from nominatim data
  • Valid value:
    • keyword
      • street
      • city
      • county
      • country
      • postCode
      • houseNumber
      • address
variable target into which nominatim address part by keyword will be stored

Example

@+id/gps - GPS widget
postCode - keyword
@variable/postcode - postcode target
city - keyword
@variable/city - city target
[gn:act_getNominatimData]|[@+id/gps;postCode,@variable/postcode;city,@variable/city]