From 01d2d4deced585f68e66ffdc02f24613d50f560a Mon Sep 17 00:00:00 2001 From: edmarmoretti Date: Mon, 16 May 2016 17:24:11 -0300 Subject: [PATCH] Atualizacao da página ogc --- ogc/index.js | 38 ++++++++++++++++++++++++++++++++++++++ ogc/index.php | 42 ++++++++++++++++++++++++++++++------------ temas/_lbiomashp.map | 19 +++++++++++-------- 3 files changed, 79 insertions(+), 20 deletions(-) diff --git a/ogc/index.js b/ogc/index.js index 7f0b098..89e242b 100755 --- a/ogc/index.js +++ b/ogc/index.js @@ -92,6 +92,9 @@ function ckCamada(camadas,templateCamadas){ var ncamadas = []; $(camadas).each(function() { if(this.ogc_tema != "NAO"){ + if(this.link_tema == ""){ + this.hidden = "hidden"; + } ncamadas.push(this); } }); @@ -106,3 +109,38 @@ function ckCamada(camadas,templateCamadas){ return ""; } } +function mostraDadosServico(tema){ + ins = "

Endereços de acesso:

"; + var re = new RegExp(".htm", "g"); + var servico = window.location.href.replace(re, '.php?'); + //remove variaveis adicionais, se houver + servico = servico.split("?")[0]+"?"; + + ins += "

Webservice com todas as camadas: " + servico + ""; + ins += "

Webservice dessa camada: " + servico + "tema=" + tema + "&"; + ins += "

Link para essa página: "+ window.location.href.split("?")[0] + "?temaOgc=" + tema + ""; + ins += + "

GetCapabilities"; + ins += + "

testar getmap"; + ins += + "

testar getLegendGraphic"; + ins += + "

visualizar com openLayers"; + ins += + "

download shapefile via WFS"; + ins += + "

download CSV via WFS com geometria"; + ins += + "

download CSV via WFS mas sem a geometria"; + ins += + "

download KMZ"; + ins += + "

download KML"; + ins += + "

GeoJson"; + ins += + "

Explore a tabela de atributos"; + + $(".modal-body").html(ins); +} \ No newline at end of file diff --git a/ogc/index.php b/ogc/index.php index ed40775..85032ea 100755 --- a/ogc/index.php +++ b/ogc/index.php @@ -30,25 +30,27 @@ include "../init/head.php";

+