15.293
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 45: | Zeile 45: | ||
if location ~= "" then | if location ~= "" then | ||
subobject_entry["Geolokation"] = location | subobject_entry["Geolokation"] = location | ||
local geocode = frame:callParserFunction("#geocode", location) | local geocode = frame:callParserFunction("#geocode", {location, format="float", directional="no"}) | ||
if geocode ~= "Geocoding failed" then | if geocode ~= "Geocoding failed" then | ||
subobject_entry["Geokoordinate"] = geocode | subobject_entry["Geokoordinate"] = geocode | ||
| Zeile 65: | Zeile 65: | ||
-- geocode lon/lat | -- geocode lon/lat | ||
if (not minimum_one_geocode_ok or com.isTrue(args["Ehemals"])) and args["lat"] ~= nil and args["lon"] ~= nil then | if (not minimum_one_geocode_ok or com.isTrue(args["Ehemals"])) and args["lat"] ~= nil and args["lon"] ~= nil then | ||
local geocode = frame:callParserFunction("#geocode", args["lat"] .. "," .. args["lon"]) | local geocode = frame:callParserFunction("#geocode", {args["lat"] .. "," .. args["lon"], format="float", directional="no"}) | ||
if geocode ~= "Geocoding failed" then | if geocode ~= "Geocoding failed" then | ||
local subobject_entry = {} | local subobject_entry = {} | ||