Item da tabela de atributos que será utilizado para compor a expressão de seleção de cada classe
";
+ ins += "";
+ ins += "
Item da tabela de atributos que será utilizado para compor o nome de cada classe
";
+ ins += "";
+ $i("editor_bd").innerHTML = ins;
+ core_carregando("desativa");
+ }
+ catch(e){core_handleFailure(o,o.responseText);core_carregando("desativa");}
+ },
+ failure:core_handleFailure,
+ argument: { foo:"foo", bar:"bar" }
};
core_makeRequest(sUrl,callback);
}
@@ -941,14 +941,14 @@ function limparCacheMapfile(codigoMap)
core_carregando(mensagem);
var callback =
{
- success:function(o)
- {
- try
- {core_carregando("desativa");}
- catch(e){core_handleFailure(o,o.responseText);}
- },
- failure:core_handleFailure,
- argument: { foo:"foo", bar:"bar" }
+ success:function(o)
+ {
+ try
+ {core_carregando("desativa");}
+ catch(e){core_handleFailure(o,o.responseText);}
+ },
+ failure:core_handleFailure,
+ argument: { foo:"foo", bar:"bar" }
};
core_makeRequest(sUrl,callback);
};
@@ -1004,17 +1004,17 @@ function clonarMapfile(codigoMap)
core_carregando("Copiando...");
var callback =
{
- success:function(o)
- {
- try
- {
+ success:function(o)
+ {
+ try
+ {
core_carregando("desativa");
initMenu();
}
- catch(e){core_handleFailure(o,o.responseText);}
- },
- failure:core_handleFailure,
- argument: { foo:"foo", bar:"bar" }
+ catch(e){core_handleFailure(o,o.responseText);}
+ },
+ failure:core_handleFailure,
+ argument: { foo:"foo", bar:"bar" }
};
core_makeRequest(sUrl+"&novomap="+novonome,callback);
};
@@ -1451,21 +1451,26 @@ function montaEditorDispo(dados)
function montaEditorDados(dados)
{
- var idsForms = ["connection","data","tileitem","tileindex","type","tipooriginal","metaestat_id_medida_variavel"],
+ var limg = i3GEO.configura.locaplic+"/imagens/crialeg.jpg",
+ idsForms = ["connection","data","tileitem","tileindex","type","tipooriginal","metaestat_id_medida_variavel"],
idsMetaestat = ["connection","data","tileitem","tileindex","tipooriginal"],
limg=i3GEO.configura.locaplic+"/imagens/crialeg.jpg",
param = {
"linhas":[
{ajuda:"Indica se as definições da camada estão relacionadas ao sistema de metadados estatísticos. Se estiver, alguns parâmetros são obtidos de forma automática, como a conexão e o SQL de acesso aos dados.",
titulo:"Esse mapfile está integrado ao sistema de metadados estatísticos?",id:"",value:dados.metaestat,tipo:"text",div:""},
+
{ajuda:"ID da medida da variável que relaciona a camada ao sistema de metadados estatísticos. Só deve ser definido se o mapfile for integrado a esse sistema.",
- titulo:"ID da variável no sistema de metadados estatísticos ",id:"metaestat_id_medida_variavel",value:dados.metaestat_id_medida_variavel,tipo:"text",div:""},
+ titulo:"ID da variável no sistema de metadados estatísticos ",id:"",value:"",tipo:"text",div:""},
+
{ajuda:"Type of connection. Default is local.",
titulo:"Connectiontype",id:"",value:"",div:"",tipo:"text"},
{ajuda:"Aplica a conversão de caracteres nas ferramentas que obtém os dados descritivos referentes aos elementos do LAYER. Em alguns casos, a conversão pode provocar problemas de acentuação. Se isso ocorrer, na ferramenta tabela por exemplo, experimente marcar essa opção como 'nao'",
titulo:"Conversão de caracteres (METADATA: CONVCARACTER)",id:"",value:dados.convcaracter,tipo:"text",div:""},
- {ajuda:"Database connection string to retrieve remote data.An SDE connection string consists of a hostname, instance name, database name, username and password separated by commas.A PostGIS connection string is basically a regular PostgreSQL connection string, it takes the form of 'user=nobody password=****** dbname=dbname host=localhost port=5432' An Oracle connection string: user/pass[@db] . Se vc tiver problemas com acentuação, experimente algo como: user=postgres password=postgres dbname=pgutf8 host=localhost port=5432 options='-c client_encoding=LATIN1'",
- titulo:"Connection",id:"connection",value:dados.connection,tipo:"text"},
+
+ {ajuda:"Você pode digitar apenas o 'alias' para esconder a string de conexão. Database connection string to retrieve remote data.An SDE connection string consists of a hostname, instance name, database name, username and password separated by commas.A PostGIS connection string is basically a regular PostgreSQL connection string, it takes the form of 'user=nobody password=****** dbname=dbname host=localhost port=5432' An Oracle connection string: user/pass[@db] . Se vc tiver problemas com acentuação, experimente algo como: user=postgres password=postgres dbname=pgutf8 host=localhost port=5432 options='-c client_encoding=LATIN1'",
+ titulo:"Connection ",id:"",value:"",tipo:"text",div:""},
+
{ajuda:"Full filename of the spatial data to process. No file extension is necessary for shapefiles. Can be specified relative to the SHAPEPATH option from the Map Object.If this is an SDE layer, the parameter should include the name of the layer as well as the geometry column, i.e. 'mylayer,shape,myversion'.If this is a PostGIS layer, the parameter should be in the form of ' from ', where 'columnname' is the name of the column containing the geometry objects and 'tablename' is the name of the table from which the geometry data will be read.For Oracle, use 'shape FROM table' or 'shape FROM (SELECT statement)' or even more complex Oracle compliant queries! Note that there are important performance impacts when using spatial subqueries however. Try using MapServer's FILTER whenever possible instead. You can also see the SQL submitted by forcing an error, for instance by submitting a DATA parameter you know won't work, using for example a bad column name. Exemplo postgis: the_geom FROM (select * FROM biomas) as foo USING UNIQUE gid USING SRID=4291 . Exemplo shapefile: c://ms4w/Apache/htdocs/geodados/brasil/limitespol/localidades.shp",
titulo:"Data",id:"data",value:dados.data,tipo:"text"},
{ajuda:"Specifies how the data should be drawn. Need not be the same as the shapefile type. For example, a polygon shapefile may be drawn as a point layer, but a point shapefile may not be drawn as a polygon layer. Common sense rules. Annotation means that a label point will be calculated for the features, but the feature itself will not be drawn although a marker symbol can be optionally drawn. this allows for advanced labeling like numbered highway shields. Points are labeled at that point. Polygons are labeled first using a centroid, and if that doesn't fall in the polygon a scanline approach is used to guarantee the label falls within the feature. Lines are labeled at the middle of the longest arc in the visible portion of the line. Query only means the layer can be queried but not drawn.In order to differentiate between POLYGONs and POLYLINEs (which do not exist as a type), simply respectively use or ommit the COLOR keyword when classifying. If you use it, it's a polygon with a fill color, otherwise it's a polyline with only an OUTLINECOLOR.For CHART layers, see the Dynamic Charting howto.A circle must be defined by a a minimum bounding rectangle. That is, 2 points that define the smallest square that can contain it. These 2 points are the two opposite corners of said box",
@@ -1489,14 +1494,7 @@ function montaEditorDados(dados)
var ins = "";
ins += " ";
- if(dados.postgis_mapa.length > 0)
- {
- ins += "
Os seguintes 'alias' estão definidos em ms_configura como nomes de conexões: ";
- ins += dados.postgis_mapa;
- ins += "
Os seguintes 'alias' estão definidos em ms_configura como nomes de conexões: ";
+ temp += ""+dados.postgis_mapa+". Para definir um novo, é necessário editar o arquivo i3geo/ms_configura.php, consulte o administrador do servidor";
+ temp += "