Module:Arkod
Apparence
La documentation de ce module est générée par le modèle {{Documentation module}}.
Les éditeurs peuvent travailler dans le bac à sable (créer).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.
local Tools = require('Module:Outils')
local Geo = require("Module:Géoréférencement")
local p = {}
function p.arkod(frame)
local args = Tools.extractArgs(frame)
local lat, lon = Geo.setRadCoord(args)
local desc = args.desc or args.description or 'Visualisation'
local X, Y = Geo.utm(lat, lon, 33)
local zoom = '&map_sc=15000'
local header = '[http://preglednik.arkod.hr/ARKOD-Web/#layers=OSNOVNI%20PROSTORNI%20PODACI,TK25-client,ZU-client,LPIS_FILTERED,LPIS_200,LPIS_210,LPIS_310,LPIS_320,LPIS_321,LPIS_410,LPIS_421,LPIS_422,LPIS_430,LPIS_450,LPIS_451,LPIS_490,LPIS_900,LPIS,SLOPE05,SLOPE510,SLOPE1015,SLOPE15,SLOPEnull,POP,POVS,GAEC7,Zasticena%20podrucja,Ptice,Leptiri,Kontinentalna%20regija,Mediteranska%20regija,Brdsko-planinska%20regija,3m%20Vodoza%C5%A1titni%20pojas,10m%20Vodoza%C5%A1titni%20pojas,Obiljezja%20krajobraza,Tocke,Linije,Poligoni,TT%202015,RP,GPP,BFO,SPEC'
local url_coord_center = '&map_x=' .. X .. '&map_y=' .. Y
local url = header .. url_coord_center .. zoom .. ' ' .. desc ..'] sur [http://www.arkod.hr arkod]' .. Geo.footer(args['consulté le'])
local url = Geo.noCoord(args) or url
return url
end
return p