Commit 823184228254cd01f4ff375bd40074331c33c5db

Authored by Edmar Moretti
1 parent 2136f1e5

--no commit message

admin/admin.db
No preview for this file type
ferramentas/convertekml/dicionario.js
1   -//+$trad(1,i3GEOF.convertekml.dicionario)+
  1 +//+$trad(1,i3GEOF.converteKml.dicionario)+
2 2 i3GEOF.converteKml.dicionario = {
3 3 1: [{
4 4 pt:"Você pode utilizar os endereços para visualizar dados em softwares que aceitam o formato kml, como o",
... ... @@ -30,4 +30,4 @@ en:"",
30 30 es:"",
31 31 it:""
32 32 }]
33   -};
34 33 \ No newline at end of file
  34 +};
... ...
ferramentas/convertekml/index.js
... ... @@ -12,7 +12,7 @@ Veja:
12 12  
13 13 Arquivo:
14 14  
15   -i3geo/ferramentas/convertekml/index.js.php
  15 +i3geo/ferramentas/converteKml/index.js.php
16 16  
17 17 Licenca:
18 18  
... ... @@ -60,7 +60,7 @@ i3GEOF.converteKml = {
60 60 if(typeof(i3GEOF.converteKml.dicionario) === 'undefined'){
61 61 i3GEO.util.scriptTag(
62 62 i3GEO.configura.locaplic+"/ferramentas/convertekml/dicionario.js",
63   - "i3GEOF.converteKml.iniciaJanelaFlutuante('"+tema+"','"+tipo+")",
  63 + "i3GEOF.converteKml.iniciaJanelaFlutuante('"+tema+"','"+tipo+"')",
64 64 "i3GEOF.converteKml.dicionario_script"
65 65 );
66 66 }
... ... @@ -83,16 +83,16 @@ i3GEOF.converteKml = {
83 83  
84 84 */
85 85 html:function(divid,tema,tipo){
86   - var ins = '<p class="paragrafo" >'+$trad(1,i3GEOF.convertekml.dicionario) +
  86 + var ins = '<p class="paragrafo" >'+$trad(1,i3GEOF.converteKml.dicionario) +
87 87 '<a href="http://earth.google.com/intl/pt/" target="_blank" > Google Earth</a>.' +
88   - '<p class="paragrafo" >Googleearth <a href="'+i3GEO.configura.locaplic+'/documentacao/ajuda/googleearth.htm" target="blank" ></a> ' + $trad(2,i3GEOF.convertekml.dicionario) +
89   - '<p class="paragrafo" ><b>'+$trad(3,i3GEOF.convertekml.dicionario) + '</b></p>' +
  88 + '<p class="paragrafo" >Googleearth <a href="'+i3GEO.configura.locaplic+'/documentacao/ajuda/googleearth.htm" target="blank" ></a> ' + $trad(2,i3GEOF.converteKml.dicionario) +
  89 + '<p class="paragrafo" ><b>'+$trad(3,i3GEOF.converteKml.dicionario) + '</b></p>' +
90 90 '<p class="paragrafo" > <textarea cols="55" rows="3" style=cursor:pointer onclick="javascript:this.select()">' + i3GEO.configura.locaplic + '/pacotes/kmlmapserver/kmlservice.php?map='+tema+'&typename='+tema+'&request=kml</textarea></p>';
91 91 if(tipo == "kmz"){
92   - ins += '<p class="paragrafo" ><b>'+$trad(4,i3GEOF.convertekml.dicionario)+' </b></p>' +
  92 + ins += '<p class="paragrafo" ><b>'+$trad(4,i3GEOF.converteKml.dicionario)+' </b></p>' +
93 93 '<p class="paragrafo" ><textarea cols="55" rows="3" style=cursor:pointer onclick="javascript:this.select()">' + i3GEO.configura.locaplic + '/pacotes/kmlmapserver/kmlservice.php?map='+tema+'&typename='+tema+'&request=kmz</textarea></p>';
94 94 }
95   - ins += '<p class="paragrafo" >'+$trad(5,i3GEOF.convertekml.dicionario) +
  95 + ins += '<p class="paragrafo" >'+$trad(5,i3GEOF.converteKml.dicionario) +
96 96 '<p class="paragrafo" ><textarea cols="55" rows="2" style=cursor:pointer onclick="javascript:this.select()">' + i3GEO.configura.locaplic + '/kml.php </textarea></p>';
97 97 $i(divid).innerHTML += ins;
98 98 },
... ... @@ -130,4 +130,4 @@ i3GEOF.converteKml = {
130 130 divid = janela[2].id;
131 131 i3GEOF.converteKml.html(divid,tema,tipo);
132 132 }
133   -};
134 133 \ No newline at end of file
  134 +};
... ...
ferramentas/convertemapakml/dicionario.js
1   -//+$trad(1,i3GEOF.convertemapakml.dicionario)+
  1 +//+$trad(1,i3GEOF.convertemapaKml.dicionario)+
2 2 i3GEOF.converteMapaKml.dicionario = {
3 3 1: [{
4 4 pt:"Voc&ecirc; pode utilizar os endere&ccedil;os para visualizar o mapa atual em softwares que aceitam o formato kml,",
... ... @@ -30,4 +30,4 @@ en:&quot;&quot;,
30 30 es:"",
31 31 it:""
32 32 }]
33   -};
34 33 \ No newline at end of file
  34 +};
... ...
ferramentas/convertemapakml/index.js
... ... @@ -12,7 +12,7 @@ Veja:
12 12  
13 13 Arquivo:
14 14  
15   -i3geo/ferramentas/convertemapakml/index.js.php
  15 +i3geo/ferramentas/converteMapaKml/index.js.php
16 16  
17 17 Licenca:
18 18  
... ... @@ -83,13 +83,13 @@ i3GEOF.converteMapaKml = {
83 83 var ins = "",lista,tema;
84 84 lista = i3GEO.arvoreDeCamadas.CAMADAS;
85 85 tema = lista[0].name;
86   - ins = '<p class="paragrafo" >' + $trad(1,i3GEOF.convertemapakml.dicionario) +
87   - 'como o <a href="http://earth.google.com/intl/pt/" target="_blank" > Google Earth</a>. ' + $trad(2,i3GEOF.convertemapakml.dicionario) +
88   - '<p class="paragrafo" >Googleearth <a href="'+i3GEO.configura.locaplic+'/documentacao/ajuda/googleearth.htm" target="blank" ></a> '+ $trad(3,i3GEOF.convertemapakml.dicionario) +
89   - '<p class="paragrafo" ><b>'+$trad(4,i3GEOF.convertemapakml.dicionario)+' </b></p>' +
  86 + ins = '<p class="paragrafo" >' + $trad(1,i3GEOF.converteMapaKml.dicionario) +
  87 + 'como o <a href="http://earth.google.com/intl/pt/" target="_blank" > Google Earth</a>. ' + $trad(2,i3GEOF.converteMapaKml.dicionario) +
  88 + '<p class="paragrafo" >Googleearth <a href="'+i3GEO.configura.locaplic+'/documentacao/ajuda/googleearth.htm" target="blank" ></a> '+ $trad(3,i3GEOF.converteMapaKml.dicionario) +
  89 + '<p class="paragrafo" ><b>'+$trad(4,i3GEOF.converteMapaKml.dicionario)+' </b></p>' +
90 90 '<p class="paragrafo" > <textarea cols="55" rows="3" style=cursor:pointer onclick="javascript:this.select()">' +
91 91 i3GEO.configura.locaplic + '/pacotes/kmlmapserver/kmlservice.php?map='+i3GEO.parametros.mapfile+'&typename='+tema+'&request=kml</textarea></p>';
92   - ins += '<p class="paragrafo" >'+$trad(5,i3GEOF.convertemapakml.dicionario) +
  92 + ins += '<p class="paragrafo" >'+$trad(5,i3GEOF.converteMapaKml.dicionario) +
93 93 '<p class="paragrafo" ><textarea cols="55" rows="2" style=cursor:pointer onclick="javascript:this.select()">' + i3GEO.configura.locaplic + '/kml.php </textarea></p>';
94 94 $i(divid).innerHTML += ins;
95 95 },
... ... @@ -121,4 +121,4 @@ i3GEOF.converteMapaKml = {
121 121 divid = janela[2].id;
122 122 i3GEOF.converteMapaKml.html(divid);
123 123 }
124   -};
125 124 \ No newline at end of file
  125 +};
... ...
temas/_lubs.map 0 → 100755
... ... @@ -0,0 +1,54 @@
  1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolos.sym"
  4 + LAYER
  5 + CONNECTION "user=guest_sala password=151617 dbname=dbspo host=10.1.2.25 port=5432"
  6 + CONNECTIONTYPE POSTGIS
  7 + DATA "the_geom from (
  8 + SELECT
  9 + st_geomfromtext('POINT(' || dbgeral.tb_estab_geo.long || ' ' || dbgeral.tb_estab_geo.lat || ')', 4326)as the_geom,
  10 + dbsismob.tb_sismob_unid_func.no_unidade,
  11 + tb_sismob_unid_func.co_cnes as gid,
  12 + dbgeral.tb_ibge.uf,
  13 + dbgeral.tb_ibge.cidade,
  14 + dbacoes_saude.tb_cnes_estabelecimento.no_logradouro,
  15 + dbacoes_saude.tb_cnes_estabelecimento.no_bairro
  16 + FROM
  17 + dbsismob.tb_sismob_unid_func
  18 + INNER JOIN dbacoes_saude.tb_cnes_estabelecimento ON
  19 + dbsismob.tb_sismob_unid_func.co_cnes = dbacoes_saude.tb_cnes_estabelecimento.co_cnes
  20 + INNER JOIN dbgeral.tb_ibge
  21 + ON dbsismob.tb_sismob_unid_func.co_ibge = dbgeral.tb_ibge.ibge
  22 + INNER JOIN dbgeral.tb_estab_geo
  23 + ON dbsismob.tb_sismob_unid_func.co_cnes = dbgeral.tb_estab_geo.co_cnes
  24 + WHERE dbsismob.tb_sismob_unid_func.co_sismob_programa = 1 limit 100
  25 + ) as foo using unique gid using srid=4326"
  26 + METADATA
  27 + "METAESTAT_ID_MEDIDA_VARIAVEL" ""
  28 + "CLASSE" "SIM"
  29 + "permitekmz" "nao"
  30 + "METAESTAT_CODIGO_TIPO_REGIAO" ""
  31 + "permitedownload" "sim"
  32 + "metaestat" ""
  33 + "permitekml" "sim"
  34 + "permiteogc" "sim"
  35 + "convcaracter" ""
  36 + "TEMA" "Teste UBS kml"
  37 + END # METADATA
  38 + NAME "_lubs"
  39 + STATUS DEFAULT
  40 + TEMPLATE "none.htm"
  41 + TILEITEM "location"
  42 + TYPE POINT
  43 + UNITS METERS
  44 + CLASS
  45 + NAME ""
  46 + STYLE
  47 + OUTLINECOLOR 255 0 0
  48 + SYMBOL "p0"
  49 + END # STYLE
  50 + END # CLASS
  51 + END # LAYER
  52 +
  53 +END # MAP
  54 +
... ...