From 05a5cfa59b4742da4b0d87bc59ce30f4e28f1a3a Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 24 Jun 2010 09:18:29 +0000 Subject: [PATCH] --- ferramentas/conectarwfs/index.htm | 84 ------------------------------------------------------------------------------------ ferramentas/conectarwfs/index.js | 93 --------------------------------------------------------------------------------------------- 2 files changed, 0 insertions(+), 177 deletions(-) delete mode 100644 ferramentas/conectarwfs/index.htm delete mode 100644 ferramentas/conectarwfs/index.js diff --git a/ferramentas/conectarwfs/index.htm b/ferramentas/conectarwfs/index.htm deleted file mode 100644 index e52f874..0000000 --- a/ferramentas/conectarwfs/index.htm +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - -
-
- -
-
-
-
-

Digite o endereço do serviço ou escolha da lista abaixo. Utilize as guias acima para ver o resultado do acesso.
- - -

-
-
- - -
-
- Aguarde... -
-
- - - - - - - - diff --git a/ferramentas/conectarwfs/index.js b/ferramentas/conectarwfs/index.js deleted file mode 100644 index f5414b0..0000000 --- a/ferramentas/conectarwfs/index.js +++ /dev/null @@ -1,93 +0,0 @@ -parametrosURL() -//variaveis globais -g_tipo = ""; //tipo de tema -g_tema = ""; //tema selecionado do ws -g_legenda = ""; //legenda do tema -g_nometema = ""; //nome do tema -aguarde("none"); -$i("guia1").onclick = function() -{ - $i("guia1obj").style.display="block"; - $i("resultadoget").innerHTML = ""; -} -$i("guia2").onclick = function(){clickGuia2();} -$i("guia3").onclick = function(){clickGuia3();} - -function getcapabilities() -{ - if ($i("servico").value == ""){alert("Serviço não definido");} - else - { - window.open($i("servico").value+"&service=wfs&request=getcapabilities&version=1.1.0") - } -} - -function clickGuia2() -{ - if ($i("servico").value == ""){alert("Serviço não definido");} - else - { - $i("guia2obj").style.display="block"; - aguarde("block") - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=getcapabilities3&servico="+$i("servico").value - var cp = new cpaint(); - //cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(p,"getcapabilities3",metadados); - } -} -function clickGuia3() -{ - $i("guia3obj").style.display="block"; - $i("guia1obj").style.display="none"; - $i("listatemas").innerHTML = ""; - aguarde("block") - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=temaswfs&servico="+$i("servico").value - var cp = new cpaint(); - //cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(p,"temaswfs",listatemas); -} -function registraws(nome) -{ - $i("servico").value = nome; - g_tipo = ""; //tipo de tema - g_tema = ""; //tema selecionado do ws - g_legenda = ""; //legenda do tema - g_nometema = ""; //nome do tema - clickGuia3() -} - -function metadados(retorno) -{ - if (retorno.data != undefined) - { - aguarde("none"); - $i("resultadoget").innerHTML = retorno.data; - } - else - { - aguarde("none") - $i("resultadoget").innerHTML = "

Ocorreu um erro
" - } -} -function listatemas(retorno) -{ - aguarde("none"); - if ((retorno.data != "erro") && (retorno.data != undefined)) - { - $i("listatemas").innerHTML = retorno.data; - } - else - {$i("listatemas").innerHTML = "erro";} -} -function seltema(nome,titulo,prj,serv) -{ - var par = "&nome="+nome+"&titulo="+titulo+"&prj="+prj+"&wfs="+serv; - aguarde("block") - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=importawfs&servico="+$i("servico").value+par - var cp = new cpaint(); - cp.set_debug(2) - cp.set_response_type("JSON"); - cp.call(p,"importawfs",window.parent.i3GEO.atualiza); -} -- libgit2 0.21.2