15.918
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 111: | Zeile 111: | ||
args["lat"] ~= nil and args["lon"] ~= nil then | args["lat"] ~= nil and args["lon"] ~= nil then | ||
local geoobject_entry = {} | local geoobject_entry = {} | ||
local geocode = frame:callParserFunction("#geocode", args["lat"] .. "," .. args["lon"]) | local geocode = frame:callParserFunction( | ||
-- | "#geocode", args["lat"] .. "," .. args["lon"]) -- #geocode besser als #coordinates | ||
if geocode ~= "Geocoding failed" then | if geocode ~= "Geocoding failed" then -- liefert z.B. Fehlermeldung | ||
geoobject_entry["Geokoordinate"] = geocode | geoobject_entry["Geokoordinate"] = geocode | ||
geoobject_entry["Quellangaben"] = "lat/lon" | geoobject_entry["Quellangaben"] = "lat/lon" | ||