Commit d2d552347416035fc7c2a6f97581a3374c0a563d

Authored by Edmar Moretti
1 parent 734296ba

--no commit message

classesphp/classe_atributos.php
@@ -312,6 +312,7 @@ $tipolista - Indica se serão mostrados todos os registros ou apenas os seleciona @@ -312,6 +312,7 @@ $tipolista - Indica se serão mostrados todos os registros ou apenas os seleciona
312 */ 312 */
313 function listaRegistros($itemtema,$tipo,$unico,$inicio,$fim,$tipolista) 313 function listaRegistros($itemtema,$tipo,$unico,$inicio,$fim,$tipolista)
314 { 314 {
  315 + error_reporting(0);
315 if(!$this->layer){return "erro";} 316 if(!$this->layer){return "erro";}
316 $resultadoFinal = array(); 317 $resultadoFinal = array();
317 if ((!isset($tipolista)) || ($tipolista=="")){$tipolista = "tudo";} 318 if ((!isset($tipolista)) || ($tipolista=="")){$tipolista = "tudo";}
classesphp/funcoes_gerais.php
@@ -2852,6 +2852,8 @@ function retornaShapesMapext($objLayer,$objMapa){ @@ -2852,6 +2852,8 @@ function retornaShapesMapext($objLayer,$objMapa){
2852 function retornaShapesSelecionados($objLayer,$map_file,$objMapa){ 2852 function retornaShapesSelecionados($objLayer,$map_file,$objMapa){
2853 $shapes = array(); 2853 $shapes = array();
2854 $qyfile = dirname($map_file)."/".$objLayer->name.".php"; 2854 $qyfile = dirname($map_file)."/".$objLayer->name.".php";
  2855 + if(!file_exists($qyfile))
  2856 + {return $shapes;}
2855 $handle = fopen ($qyfile, "r"); 2857 $handle = fopen ($qyfile, "r");
2856 $conteudo = fread ($handle, filesize ($qyfile)); 2858 $conteudo = fread ($handle, filesize ($qyfile));
2857 fclose ($handle); 2859 fclose ($handle);
ferramentas/dissolve/exemplo.htm
@@ -1,13 +0,0 @@ @@ -1,13 +0,0 @@
1 -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
2 -<html>  
3 -<head>  
4 -<script type="text/javascript" src="../../classesjs/i3geo.js"></script>  
5 -</head>  
6 -<body name="ancora" id="i3geo" class=yui-skin-sam >  
7 -<script type="text/javascript">  
8 -i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";  
9 -i3GEO.parametros.mapfile = "x"  
10 -i3GEO.analise.dialogo.dissolve()  
11 -</script>  
12 -</body>  
13 -</html>  
14 \ No newline at end of file 0 \ No newline at end of file
temas/geonetworkindice.map 0 → 100644
@@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
  1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolos.sym"
  4 + LAYER
  5 + CONNECTION "user=postgres dbname=geonetwork264 host=localhost port=5432 password=postgres"
  6 + CONNECTIONTYPE POSTGIS
  7 + DATA "the_geom FROM (select id::integer as gid,the_geom,'http://localhost:8080/geonetwork/srv/br/metadata.show?id='||id as link from spatialindex) as foo USING UNIQUE gid USING SRID=4291"
  8 + METADATA
  9 + "CLASSE" "SIM"
  10 + "ITENS" "gid"
  11 + "ITENSDESC" "Metadado"
  12 + "ITENSLINK" "http://localhost:8080/geonetwork/srv/br/metadata.show?id=[gid]"
  13 + "TEMA" "Índice espacial do Geonetwork"
  14 + END
  15 + NAME "geonetworkindice"
  16 + STATUS OFF
  17 + TEMPLATE "none.htm"
  18 + TYPE POLYGON
  19 + UNITS METERS
  20 + CLASS
  21 + NAME ""
  22 + STYLE
  23 + ANGLE 360
  24 + OUTLINECOLOR 196 185 103
  25 + OPACITY 100
  26 + END
  27 + END
  28 + END
  29 +END