Commit 5e1e60a81f7388cb5bb38bcd36a60e5f6f294729
1 parent
55485265
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
0 additions
and
383 deletions
Show diff stats
ferramentas/cores.htm
@@ -1,108 +0,0 @@ | @@ -1,108 +0,0 @@ | ||
1 | -<!-- | ||
2 | -cria cor e devolve | ||
3 | -passar pela url o doc, por exemplo?doc=wdocai | ||
4 | -e o elemento, elemento=xxx | ||
5 | ---> | ||
6 | -<html> | ||
7 | -<head> | ||
8 | -<title></title> | ||
9 | - | ||
10 | -<style type="text/css"> | ||
11 | -div | ||
12 | -{ | ||
13 | - text-align:left; | ||
14 | - border: 0px solid #FFFFFF; | ||
15 | - font-family: Verdana, Arial, Helvetica, sans-serif; | ||
16 | - position:relative; | ||
17 | - display:inline; | ||
18 | - font-size:10px; | ||
19 | -} | ||
20 | -</style> | ||
21 | -</head> | ||
22 | -<body name="ancora" style='background-color:white'> | ||
23 | -<div id='cores' > | ||
24 | -Aguarde... | ||
25 | -</div> | ||
26 | -<div> | ||
27 | -<select id=esq onchange="muda(this)"> | ||
28 | -<option value=vermelho >vermelho</option> | ||
29 | -<option value=verde >verde</option> | ||
30 | -<option value=azul >azul</option> | ||
31 | -<option value=preto >preto</option> | ||
32 | -<option value=ciano >ciano</option> | ||
33 | -<option value=amarelo >amarelo</option> | ||
34 | -<option value=misto >misto</option> | ||
35 | -</select> | ||
36 | -<img alt="" src=../imagens/plus.gif onclick="mais()"/> | ||
37 | -<img alt="" src=../imagens/minus.gif onclick="menos()"/> | ||
38 | -</div> | ||
39 | - | ||
40 | -<script type="text/javascript" > | ||
41 | -//detec�o do navegador | ||
42 | -navm = false; // IE | ||
43 | -navn = false; // netscape | ||
44 | -var app = navigator.appName.substring(0,1); | ||
45 | -if (app=='N') navn=true; else navm=true; | ||
46 | - | ||
47 | -numl = 20 | ||
48 | -numc = 20 | ||
49 | -nco = 255 | ||
50 | - | ||
51 | -inicia("vermelho") | ||
52 | -function inicia(esquema) | ||
53 | -{ | ||
54 | - intnl = Math.ceil(nco / numl); | ||
55 | - intnc = Math.ceil(nco / numc); | ||
56 | - r = 0; | ||
57 | - g = 0; | ||
58 | - b = 0; | ||
59 | - ins = "" | ||
60 | - for (linhas = 1; linhas < numl; linhas++) | ||
61 | - { | ||
62 | - ins += "<tbody><tr>\n"; | ||
63 | - for (colunas = 1; colunas < numc; colunas++) | ||
64 | - { | ||
65 | - ins += "\<td onclick='aplicacor(\""+r+","+g+","+b+"\")' width=10 style='padding: 0px; border: 0px; line-height:5pt;cursor:pointer; background-color:rgb("+r+","+g+","+b+")' \> \<\/td\>\n"; | ||
66 | - if (esquema == "vermelho") {g = g + intnc;b = b + intnc;} | ||
67 | - if (esquema == "verde") {r = r + intnc;b = b + intnc;} | ||
68 | - if (esquema == "azul") {g = g + intnc;r = r + intnc;} | ||
69 | - if (esquema == "branco") {g = g + intnc;r = r + intnc; b = b + intnc;} | ||
70 | - if (esquema == "ciano") {g = g + intnc;r = 0; b = 255;} | ||
71 | - if (esquema == "amarelo") {g = g + intnc;r = 255; b = 0;} | ||
72 | - if (esquema == "misto") {g = Math.ceil(Math.random() * 255);r = Math.ceil(Math.random() * 255);b = Math.ceil(Math.random() * 255);} | ||
73 | - } | ||
74 | - ins += "\<\/tr\>\<\/tbody>\n"; | ||
75 | - if (esquema == "vermelho"){r = r + intnl; g = 0; b = 0;} | ||
76 | - if (esquema == "verde"){g = g + intnl; r = 0; b = 0;} | ||
77 | - if (esquema == "azul"){b = b + intnl; g = 0; r = 0;} | ||
78 | - if (esquema == "branco"){b = linhas; g = linhas; r = linhas;} | ||
79 | - if (esquema == "ciano"){b = 255; g = linhas; r = 0;} | ||
80 | - if (esquema == "amarelo"){b = 0; g = linhas; r = 255;} | ||
81 | - } | ||
82 | - document.getElementById("cores").innerHTML = "\<table cellpadding='0' cellspacing='0' border='0'\>"+ins+"\<\/table\>" | ||
83 | -} | ||
84 | -function muda (e) | ||
85 | -{ | ||
86 | - inicia(e.value) | ||
87 | -} | ||
88 | -function mais() | ||
89 | -{ | ||
90 | - nco = nco + 20 | ||
91 | - inicia(document.getElementById("esq").value) | ||
92 | -} | ||
93 | -function menos() | ||
94 | -{ | ||
95 | - nco = nco - 20 | ||
96 | - inicia(document.getElementById("esq").value) | ||
97 | -} | ||
98 | -function aplicacor(c) | ||
99 | -{ | ||
100 | - var doc = unescape(((((window.location.href).split("doc="))[1]).split("&"))[0] ) | ||
101 | - var doc = (navm) ? window.parent.frames(doc).document : window.parent.document.getElementById(doc).contentDocument | ||
102 | - var elemento = unescape(((((window.location.href).split("elemento="))[1]).split("&"))[0] ); | ||
103 | - doc.getElementById(elemento).value = c | ||
104 | - window.parent.wdocafechaf('wdocac') | ||
105 | -} | ||
106 | -</script> | ||
107 | -</body> | ||
108 | -</html> | ||
109 | \ No newline at end of file | 0 | \ No newline at end of file |
ferramentas/epsg.txt
@@ -1,88 +0,0 @@ | @@ -1,88 +0,0 @@ | ||
1 | -# Geográfica SAD69 GRS67 4291 | ||
2 | -<4291> +proj=longlat +ellps=GRS67 +no_defs no_defs <> | ||
3 | -# Geográfica SAD69 aust_SA 4618 (mais recente) | ||
4 | -<4618> +proj=longlat +ellps=aust_SA +no_defs <> | ||
5 | -# WGS 84 | ||
6 | -<4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs no_defs <> | ||
7 | -# Corrego Alegre / UTM zone 21S | ||
8 | -<22521> +proj=utm +zone=21 +south +ellps=intl +towgs84=-206,172,-6,0,0,0,0 +units=m +no_defs <> | ||
9 | -# Corrego Alegre / UTM zone 22S | ||
10 | -<22522> +proj=utm +zone=22 +south +ellps=intl +towgs84=-206,172,-6,0,0,0,0 +units=m +no_defs <> | ||
11 | -# Corrego Alegre / UTM zone 23S | ||
12 | -<22523> +proj=utm +zone=23 +south +ellps=intl +towgs84=-206,172,-6,0,0,0,0 +units=m +no_defs <> | ||
13 | -# Corrego Alegre / UTM zone 24S | ||
14 | -<22524> +proj=utm +zone=24 +south +ellps=intl +towgs84=-206,172,-6,0,0,0,0 +units=m +no_defs <> | ||
15 | -# Corrego Alegre / UTM zone 25S | ||
16 | -<22525> +proj=utm +zone=25 +south +ellps=intl +towgs84=-206,172,-6,0,0,0,0 +units=m +no_defs <> | ||
17 | -# SAD69 / Brazil Polyconic | ||
18 | -<29101> +proj=poly +lat_0=0 +lon_0=-54 +x_0=5000000 +y_0=10000000 +ellps=aust_SA +units=m +no_defs <> | ||
19 | -# SAD69 / UTM zone 18N | ||
20 | -<29168> +proj=utm +zone=18 +ellps=aust_SA +units=m +no_defs <> | ||
21 | -# SAD69 / UTM zone 19N | ||
22 | -<29169> +proj=utm +zone=19 +ellps=aust_SA +units=m +no_defs <> | ||
23 | -# SAD69 / UTM zone 20N | ||
24 | -<29170> +proj=utm +zone=20 +ellps=aust_SA +units=m +no_defs <> | ||
25 | -# SAD69 / UTM zone 21N | ||
26 | -<29171> +proj=utm +zone=21 +ellps=aust_SA +units=m +no_defs <> | ||
27 | -# SAD69 / UTM zone 22N | ||
28 | -<29172> +proj=utm +zone=22 +ellps=aust_SA +units=m +no_defs <> | ||
29 | -# SAD69 / UTM zone 17S | ||
30 | -<29187> +proj=utm +zone=17 +south +ellps=aust_SA +units=m +no_defs <> | ||
31 | -# SAD69 / UTM zone 18S | ||
32 | -<29188> +proj=utm +zone=18 +south +ellps=aust_SA +units=m +no_defs <> | ||
33 | -# SAD69 / UTM zone 19S | ||
34 | -<29189> +proj=utm +zone=19 +south +ellps=aust_SA +units=m +no_defs <> | ||
35 | -# SAD69 / UTM zone 20S | ||
36 | -<29190> +proj=utm +zone=20 +south +ellps=aust_SA +units=m +no_defs <> | ||
37 | -# SAD69 / UTM zone 21S | ||
38 | -<29191> +proj=utm +zone=21 +south +ellps=aust_SA +units=m +no_defs <> | ||
39 | -# SAD69 / UTM zone 22S | ||
40 | -<29192> +proj=utm +zone=22 +south +ellps=aust_SA +units=m +no_defs <> | ||
41 | -# SAD69 / UTM zone 23S | ||
42 | -<29193> +proj=utm +zone=23 +south +ellps=aust_SA +units=m +no_defs <> | ||
43 | -# SAD69 / UTM zone 24S | ||
44 | -<29194> +proj=utm +zone=24 +south +ellps=aust_SA +units=m +no_defs <> | ||
45 | -# SAD69 / UTM zone 25S | ||
46 | -<29195> +proj=utm +zone=25 +south +ellps=aust_SA +units=m +no_defs <> | ||
47 | -# SIRGAS 2000 / UTM zone 11N | ||
48 | -<31965> +proj=utm +zone=11 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
49 | -# SIRGAS 2000 / UTM zone 12N | ||
50 | -<31966> +proj=utm +zone=12 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
51 | -# SIRGAS 2000 / UTM zone 13N | ||
52 | -<31967> +proj=utm +zone=13 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
53 | -# SIRGAS 2000 / UTM zone 14N | ||
54 | -<31968> +proj=utm +zone=14 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
55 | -# SIRGAS 2000 / UTM zone 15N | ||
56 | -<31969> +proj=utm +zone=15 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
57 | -# SIRGAS 2000 / UTM zone 16N | ||
58 | -<31970> +proj=utm +zone=16 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
59 | -# SIRGAS 2000 / UTM zone 17N | ||
60 | -<31971> +proj=utm +zone=17 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
61 | -# SIRGAS 2000 / UTM zone 18N | ||
62 | -<31972> +proj=utm +zone=18 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
63 | -# SIRGAS 2000 / UTM zone 19N | ||
64 | -<31973> +proj=utm +zone=19 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
65 | -# SIRGAS 2000 / UTM zone 20N | ||
66 | -<31974> +proj=utm +zone=20 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
67 | -# SIRGAS 2000 / UTM zone 21N | ||
68 | -<31975> +proj=utm +zone=21 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
69 | -# SIRGAS 2000 / UTM zone 22N | ||
70 | -<31976> +proj=utm +zone=22 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
71 | -# SIRGAS 2000 / UTM zone 17S | ||
72 | -<31977> +proj=utm +zone=17 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
73 | -# SIRGAS 2000 / UTM zone 18S | ||
74 | -<31978> +proj=utm +zone=18 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
75 | -# SIRGAS 2000 / UTM zone 19S | ||
76 | -<31979> +proj=utm +zone=19 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
77 | -# SIRGAS 2000 / UTM zone 20S | ||
78 | -<31980> +proj=utm +zone=20 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
79 | -# SIRGAS 2000 / UTM zone 21S | ||
80 | -<31981> +proj=utm +zone=21 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
81 | -# SIRGAS 2000 / UTM zone 22S | ||
82 | -<31982> +proj=utm +zone=22 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
83 | -# SIRGAS 2000 / UTM zone 23S | ||
84 | -<31983> +proj=utm +zone=23 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
85 | -# SIRGAS 2000 / UTM zone 24S | ||
86 | -<31984> +proj=utm +zone=24 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
87 | -# SIRGAS 2000 / UTM zone 25S | ||
88 | -<31985> +proj=utm +zone=25 +south +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs <> | ||
89 | \ No newline at end of file | 0 | \ No newline at end of file |
ferramentas/mostraexten/index.js
@@ -1,187 +0,0 @@ | @@ -1,187 +0,0 @@ | ||
1 | - | ||
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | ||
3 | - | ||
4 | -/* | ||
5 | -Title: Mostra extensão | ||
6 | - | ||
7 | -Mostra a extensão geográfica atual do mapa permitindo também alterá-la digitando-se os valores de lat e long | ||
8 | - | ||
9 | -Veja: | ||
10 | - | ||
11 | -<i3GEO.mapa.dialogo.mostraExten> | ||
12 | - | ||
13 | -Arquivo: | ||
14 | - | ||
15 | -i3geo/ferramentas/mostraexten/index.js.php | ||
16 | - | ||
17 | -Licenca: | ||
18 | - | ||
19 | -GPL2 | ||
20 | - | ||
21 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | ||
22 | - | ||
23 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | ||
24 | -Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br | ||
25 | - | ||
26 | -Este programa é software livre; você pode redistribuí-lo | ||
27 | -e/ou modificá-lo sob os termos da Licença Pública Geral | ||
28 | -GNU conforme publicada pela Free Software Foundation; | ||
29 | - | ||
30 | -Este programa é distribuído na expectativa de que seja útil, | ||
31 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | ||
32 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | ||
33 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | ||
34 | -Você deve ter recebido uma cópia da Licença Pública Geral do | ||
35 | -GNU junto com este programa; se não, escreva para a | ||
36 | -Free Software Foundation, Inc., no endereço | ||
37 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
38 | -*/ | ||
39 | -if(typeof(i3GEOF) === 'undefined'){ | ||
40 | - i3GEOF = []; | ||
41 | -} | ||
42 | -/* | ||
43 | -Classe: i3GEOF.mostraExten | ||
44 | -*/ | ||
45 | -i3GEOF.mostraExten = { | ||
46 | - /* | ||
47 | - Variavel: aguarde | ||
48 | - | ||
49 | - Estilo do objeto DOM com a imagem de aguarde existente no cabeçalho da janela. | ||
50 | - */ | ||
51 | - aguarde: "", | ||
52 | - /* | ||
53 | - Function: inicia | ||
54 | - | ||
55 | - Inicia a ferramenta. É chamado por criaJanelaFlutuante | ||
56 | - | ||
57 | - Parametro: | ||
58 | - | ||
59 | - iddiv {String} - id do div que receberá o conteudo HTML da ferramenta | ||
60 | - */ | ||
61 | - inicia: function(iddiv){ | ||
62 | - try{ | ||
63 | - $i(iddiv).innerHTML += i3GEOF.mostraExten.html(); | ||
64 | - new YAHOO.widget.Button( | ||
65 | - "i3GEOmostraExtenbotao1", | ||
66 | - {onclick:{fn: i3GEOF.mostraExten.executa}} | ||
67 | - ); | ||
68 | - i3GEOF.mostraExten.ativaFoco(); | ||
69 | - } | ||
70 | - catch(erro){alert(erro);} | ||
71 | - }, | ||
72 | - /* | ||
73 | - Function: html | ||
74 | - | ||
75 | - Gera o código html para apresentação das opções da ferramenta | ||
76 | - | ||
77 | - Retorno: | ||
78 | - | ||
79 | - String com o código html | ||
80 | - */ | ||
81 | - html:function(){ | ||
82 | - var ins = '<p class="paragrafo" >Extensão geográfica atual, em décimos de grau. As coordenadas correspondem a menor longitude, menor latitude, maior longitude e maior latitude:</p>' + | ||
83 | - '<textarea id=i3GEOmostraExtenatual rows=3 cols=50 onclick="javascript:this.select();"></textarea>' + | ||
84 | - '<p class="paragrafo" > Digite as coordenadas referentes a nova extensão geográfica desejada para o mapa. Utilize coordenadas (graus) negativos para indicar a longitude como oeste e latitude como sul:</p>' + | ||
85 | - ' <table class=lista3 >' + | ||
86 | - ' <tr><td>Menor longitude (oeste):</td>' + | ||
87 | - ' <td>' + | ||
88 | - $inputText("","","i3GEOmostraExtenxg","",3,"-00") + | ||
89 | - $inputText("","","i3GEOmostraExtenxm","",3,"00") + | ||
90 | - $inputText("","","i3GEOmostraExtenxs","",3,"0.0") + | ||
91 | - ' </td></tr>' + | ||
92 | - ' <tr><td>Menor latitude (sul):</td>' + | ||
93 | - ' <td>' + | ||
94 | - $inputText("","","i3GEOmostraExtenyg","",3,"-00") + | ||
95 | - $inputText("","","i3GEOmostraExtenym","",3,"00") + | ||
96 | - $inputText("","","i3GEOmostraExtenys","",3,"0.0") + | ||
97 | - ' </td></tr>' + | ||
98 | - ' <tr><td>Maior longitude (leste):</td>' + | ||
99 | - ' <td>' + | ||
100 | - $inputText("","","i3GEOmostraExtenxxg","",3,"-00") + | ||
101 | - $inputText("","","i3GEOmostraExtenxxm","",3,"00") + | ||
102 | - $inputText("","","i3GEOmostraExtenxxs","",3,"0.0") + | ||
103 | - ' </td></tr>' + | ||
104 | - ' <tr><td>Maior latitude (norte):</td>' + | ||
105 | - ' <td>' + | ||
106 | - $inputText("","","i3GEOmostraExtenyyg","",3,"-00") + | ||
107 | - $inputText("","","i3GEOmostraExtenyym","",3,"00") + | ||
108 | - $inputText("","","i3GEOmostraExtenyys","",3,"0.0") + | ||
109 | - ' </td></tr></table>' + | ||
110 | - '<br><p class="paragrafo" ><input id=i3GEOmostraExtenbotao1 type="button" size=14 value="Aplicar a nova extensão" /></p>'; | ||
111 | - return ins; | ||
112 | - }, | ||
113 | - /* | ||
114 | - Function: criaJanelaFlutuante | ||
115 | - | ||
116 | - Cria a janela flutuante para controle da ferramenta. | ||
117 | - */ | ||
118 | - criaJanelaFlutuante: function(){ | ||
119 | - var janela,divid,temp,titulo,cabecalho,minimiza; | ||
120 | - //cria a janela flutuante | ||
121 | - cabecalho = function(){ | ||
122 | - i3GEOF.mostraExten.ativaFoco(); | ||
123 | - }; | ||
124 | - minimiza = function(){ | ||
125 | - i3GEO.janela.minimiza("i3GEOF.mostraExten"); | ||
126 | - }; | ||
127 | - titulo = "Extensão geográfica <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=7&idajuda=55' > </a>"; | ||
128 | - janela = i3GEO.janela.cria( | ||
129 | - "370px", | ||
130 | - "320px", | ||
131 | - "", | ||
132 | - "", | ||
133 | - "", | ||
134 | - titulo, | ||
135 | - "i3GEOF.mostraExten", | ||
136 | - false, | ||
137 | - "hd", | ||
138 | - cabecalho, | ||
139 | - minimiza | ||
140 | - ); | ||
141 | - divid = janela[2].id; | ||
142 | - $i("i3GEOF.mostraExten_corpo").style.backgroundColor = "white"; | ||
143 | - $i("i3GEOF.mostraExten_corpo").style.textAlign = "left"; | ||
144 | - i3GEOF.mostraExten.aguarde = $i("i3GEOF.mostraExten_imagemCabecalho").style; | ||
145 | - i3GEOF.mostraExten.inicia(divid); | ||
146 | - if(i3GEO.eventos.NAVEGAMAPA.toString().search("i3GEOF.mostraExten.ativaFoco()") < 0) | ||
147 | - {i3GEO.eventos.NAVEGAMAPA.push("i3GEOF.mostraExten.ativaFoco()");} | ||
148 | - temp = function(){ | ||
149 | - i3GEO.eventos.NAVEGAMAPA.remove("i3GEOF.mostraExten.ativaFoco()"); | ||
150 | - }; | ||
151 | - YAHOO.util.Event.addListener(janela[0].close, "click", temp); | ||
152 | - }, | ||
153 | - /* | ||
154 | - Function: ativaFoco | ||
155 | - | ||
156 | - Função que é disparada quando o usuário clica no cabeçalho da ferramenta | ||
157 | - */ | ||
158 | - ativaFoco: function(){ | ||
159 | - $i("i3GEOmostraExtenatual").innerHTML = i3GEO.parametros.mapexten; | ||
160 | - var i = $i("i3GEOF.mostraExten_c").style; | ||
161 | - i3GEO.janela.ULTIMOZINDEX++; | ||
162 | - i.zIndex = 21000 + i3GEO.janela.ULTIMOZINDEX; | ||
163 | - }, | ||
164 | - /* | ||
165 | - Function: executa | ||
166 | - | ||
167 | - Altera a extensão atual | ||
168 | - | ||
169 | - Veja: | ||
170 | - | ||
171 | - <i3GEO.navega.zoomExt> | ||
172 | - */ | ||
173 | - executa: function(){ | ||
174 | - try{ | ||
175 | - var x = i3GEO.calculo.dms2dd($i("i3GEOmostraExtenxg").value,$i("i3GEOmostraExtenxm").value,$i("i3GEOmostraExtenxs").value); | ||
176 | - var xx = i3GEO.calculo.dms2dd($i("i3GEOmostraExtenxxg").value,$i("i3GEOmostraExtenxxm").value,$i("i3GEOmostraExtenxxs").value); | ||
177 | - var y = i3GEO.calculo.dms2dd($i("i3GEOmostraExtenyg").value,$i("i3GEOmostraExtenym").value,$i("i3GEOmostraExtenys").value); | ||
178 | - var yy = i3GEO.calculo.dms2dd($i("i3GEOmostraExtenyyg").value,$i("i3GEOmostraExtenyym").value,$i("i3GEOmostraExtenyys").value); | ||
179 | - if ((x == xx) || (y == yy)) | ||
180 | - {alert("Digite coordenadas válidas");return;} | ||
181 | - if ((x > xx) || (y > yy)) | ||
182 | - {alert("Digite coordenadas válidas");return;} | ||
183 | - i3GEO.navega.zoomExt(i3GEO.configura.locaplic,i3GEO.configura.sid,window.parent.i3GEO.parametros.tipoimagem,(x+" "+y+" "+xx+" "+yy)) | ||
184 | - } | ||
185 | - catch(e){alert(e+" Erro. Digite coordenadas válidas");} | ||
186 | - } | ||
187 | -}; |