[
    {
        "id": "bcc16f18de3058a1",
        "type": "tab",
        "label": "geocoder",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "6abe680aaf0df6a1",
        "type": "geocoder",
        "z": "bcc16f18de3058a1",
        "name": "",
        "mode": "reverse",
        "scope": "message",
        "arrayPath": "payload",
        "sampleJson": "{\"lat\":50,\"lon\":8.353}",
        "inputConfig": "{\"posType\":\"separate\",\"order\":\"lonlat\",\"latField\":\"payload.lat\",\"lonField\":\"payload.lon\",\"arrayField\":\"\",\"geoField\":\"\",\"queryMode\":\"free\",\"queryField\":\"\",\"streetField\":\"\",\"houseNumberField\":\"\",\"postalCodeField\":\"\",\"cityField\":\"\",\"countyField\":\"\",\"stateField\":\"\",\"countryField\":\"\"}",
        "outputMappings": "[{\"field\":\"displayName\",\"target\":\"payload.address\"},{\"field\":\"street\",\"target\":\"payload.street\"},{\"field\":\"houseNumber\",\"target\":\"payload.houseNumber\"},{\"field\":\"postalCode\",\"target\":\"payload.postalCode\"},{\"field\":\"city\",\"target\":\"payload.city\"},{\"field\":\"countryCode\",\"target\":\"payload.countryCode\"}]",
        "resultProperty": "",
        "statusProperty": "",
        "writeMissing": false,
        "onError": "pass",
        "endpoint": "https://nominatim.openstreetmap.org",
        "language": "de",
        "email": "kontakt@beispiel.de",
        "userAgent": "Hypertegrity-Nodered",
        "zoom": 18,
        "minInterval": 1100,
        "cacheTtl": 86400,
        "cacheSize": 500,
        "x": 440,
        "y": 140,
        "wires": [
            [
                "6a1cdac9cc9ac6a4"
            ]
        ]
    },
    {
        "id": "5383c84058c81f9a",
        "type": "inject",
        "z": "bcc16f18de3058a1",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 120,
        "y": 140,
        "wires": [
            [
                "806f515653022e0a",
                "c4e3bf95354a01ea"
            ]
        ]
    },
    {
        "id": "6a1cdac9cc9ac6a4",
        "type": "debug",
        "z": "bcc16f18de3058a1",
        "name": "Adress",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 620,
        "y": 140,
        "wires": []
    },
    {
        "id": "806f515653022e0a",
        "type": "function",
        "z": "bcc16f18de3058a1",
        "name": "input1",
        "func": "msg.payload = {\n    lat: 50.000,\n    lon: 8.353\n}\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 270,
        "y": 140,
        "wires": [
            [
                "6abe680aaf0df6a1"
            ]
        ]
    },
    {
        "id": "c4e3bf95354a01ea",
        "type": "function",
        "z": "bcc16f18de3058a1",
        "name": "input2",
        "func": "msg.payload =  {\"address\":\"Mainweg, Südstadt, Hochheim, Main-Taunus-Kreis, Hessen, 65239, Deutschland\",\"street\":\"Mainweg\",\"postalCode\":\"65239\",\"city\":\"Hochheim\",\"countryCode\":\"DE\"}\nreturn msg;",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 270,
        "y": 200,
        "wires": [
            [
                "8a7860201489d50f"
            ]
        ]
    },
    {
        "id": "8a7860201489d50f",
        "type": "geocoder",
        "z": "bcc16f18de3058a1",
        "name": "",
        "mode": "forward",
        "scope": "message",
        "arrayPath": "payload",
        "sampleJson": "{\"address\":\"Mainweg, Südstadt, Hochheim, Main-Taunus-Kreis, Hessen, 65239, Deutschland\",\"street\":\"Mainweg\",\"postalCode\":\"65239\",\"city\":\"Hochheim\",\"countryCode\":\"DE\"}",
        "inputConfig": "{\"posType\":\"separate\",\"order\":\"lonlat\",\"latField\":\"payload.lat\",\"lonField\":\"payload.lon\",\"arrayField\":\"\",\"geoField\":\"\",\"queryMode\":\"free\",\"queryField\":\"payload.address\",\"streetField\":\"payload.street\",\"houseNumberField\":\"\",\"postalCodeField\":\"payload.postalCode\",\"cityField\":\"payload.city\",\"countyField\":\"\",\"stateField\":\"\",\"countryField\":\"payload.countryCode\"}",
        "outputMappings": "[{\"field\":\"geoPoint\",\"target\":\"payload.location\"}]",
        "resultProperty": "",
        "statusProperty": "",
        "writeMissing": false,
        "onError": "pass",
        "endpoint": "https://nominatim.openstreetmap.org",
        "language": "de",
        "email": "kontakt@beispiel.de",
        "userAgent": "Hypertegrity-Nodered",
        "zoom": 18,
        "minInterval": 1100,
        "cacheTtl": 86400,
        "cacheSize": 500,
        "x": 440,
        "y": 200,
        "wires": [
            [
                "8a3f05d32284f145"
            ]
        ]
    },
    {
        "id": "8a3f05d32284f145",
        "type": "debug",
        "z": "bcc16f18de3058a1",
        "name": "Coordinates",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 630,
        "y": 200,
        "wires": []
    },
    {
        "id": "1593ddf8243c9cf8",
        "type": "comment",
        "z": "bcc16f18de3058a1",
        "name": "geocoder: translates coordinates to adress and vice versa",
        "info": "",
        "x": 270,
        "y": 60,
        "wires": []
    }
]