index.html 9.54 KB
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title>Mashups</title>
<link rel="stylesheet" type="text/css" href="../css/input.css" />
<link rel="stylesheet" type="text/css" href="../css/geral.css">
<style>
P {
	text-align: justify;
	font-size: 14px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

fieldset {
	border: 1px solid #F0F0F0;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 1px 1px 1px 1px lightgray;
	margin: auto;
	margin-top: 20px;
	padding: 5px;
	background-color: white;
	font-size: 0.4cm;
	display: block;
	width: 80%;
}
.borda {
	background-color: #4682b4;
	padding: 5px 0px 5px 0px;
	text-align: left;
	width: 100%;
}
#bandeiras img {
	margin-left: 7px;
}

#bandeiras {
	width: 100px;
	text-align: left;
	position: absolute;
	left: 0.2cm;
	z-index: 10;
}

a {
	margin: 0px auto;
	text-decoration: none;
	font-size: 14px;
	color: #26298D;
	outline: doted;
}

A:hover {
	color: #4142ff;
}

body {
	padding-top: 0px;
	COLOR: #2F4632;
	text-align: center;
	font-size: 0.6cm;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: rgb(250, 250, 250);
	margin: auto;
}

legend {
	font-size: 14px;
}
</style>
</head>
<body>
	<div class="borda">
		<div id="bandeiras"></div>
		<div style="text-align: center; color: white;">
			<b>Mashups do i3geo</b>
		</div>
	</div>
	<div style="text-align: left; margin: auto; width: 100%;">
		<fieldset>
			<p>Mashups s&atilde;o pequenos programas que podem ser facilmente inseridos em p&aacute;ginas HTML e que mostram determinados
				conte&uacute;dos.</p>
			<p>No caso do i3Geo, os mashups mostram mapas tendo como base o conjunto de temas existentes no diret&oacute;rio i3geo/temas.</p>
		</fieldset>
		<fieldset>
		<legend>OpenLayers</legend>
				<p>
					O <a href="http://openlayers.org" target=_blank>OpenLayers</a> &eacute; uma biblioteca em javascript bastante popular. Possu&iacute;
					uma interface simples mas que pode conter um grande n&uacute;mero de funcionalidades.
				</p>
				<p>
					Para ver todos os par&acirc;metros: <a target=_blank href="openlayers.php">i3geo/mashups/openlayers.php</a>
				</p>
				<p>
					Para usar o Open Street Map (OSM) utilize o endere&ccedil;o <a target=_blank href="osm.php">i3geo/mashups/osm.php</a>
				</p>
				<p>Nos exemplos, basta substituir openlayers.php por osm.php:</p>
				<p class="m">
					Windows: <a target=_blank href="osm.php?temas=_wbiomashp&largura=800&altura=500">osm.php?temas=_wbiomashp&amp;largura=800&amp;altura=500</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="osm.php?temas=_lbiomashp&largura=800&altura=500">osm.php?temas=_lbiomashp&amp;largura=800&amp;altura=500</a>
				</p>
				<p>O gerador de Web Services do i3GEO pode ser utilizado para abrir o mashup.</p>
				<p class="m">
					Windows: <a target=_blank href="../ogc.php?temas=_wbiomashp&format=application/openlayers&bbox=-54,-14,-50,-10">ogc.php?temas=_wbiomashp&amp;format=application/openlayers&amp;bbox=-54,-14,-50,-10</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="../ogc.php?temas=_lbiomashp&format=application/openlayers&bbox=-54,-14,-50,-10">ogc.php?temas=_lbiomashp&amp;format=application/openlayers&amp;bbox=-54,-14,-50,-10</a>
				</p>
			</fieldset>
			<fieldset>
			<legend>Filtro</legend>
				<p>Cada tema pode receber filtros seguindo-se a sintaxe &amp;map_layer_{codigo do tema}_filter=<br>
				Em camadas com origem em arquivos shapefile o valor do filtro segue o padr&atilde;o (('[nome_da_coluna]'='valor_do_registro'))<br>
				Camadas baseadas em Postgis seguem o padr&atilde;o nome_da_coluna=valor_do_registro.
				</p>
				<p class="m">
					Windows: <a target=_blank href="http://localhost/i3geo/mashups/openlayers.php?map_layer__wbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&amp;temas=_wbiomashp&amp;layers=_wbiomashp">openlayers.php?map_layer__lbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&amp;temas=_wbiomashp&amp;layers=_wbiomashp</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="http://localhost/i3geo/mashups/openlayers.php?map_layer__lbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&amp;temas=_lbiomashp&amp;layers=_lbiomashp">openlayers.php?map_layer__lbiomashp_filter=(('[CD_LEGENDA]'='CAATINGA'))&amp;temas=_lbiomashp&amp;layers=_lbiomashp</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Todas as op&ccedil;&otilde;es e um tema adicionado</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp&largura=800&altura=500">openlayers.php?temas=_wbiomashp&amp;largura=800&amp;altura=500</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp&largura=800&altura=500">openlayers.php?temas=_lbiomashp&amp;largura=800&amp;altura=500</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Duas camadas mas com apenas uma vis&iacute;vel na inicializa&ccedil;&atilde;o do mapa</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp,_wlocali&largura=800&altura=500&visiveis=_wbiomashp">openlayers.php?temas=_wbiomashp,_wlocali&amp;largura=800&amp;altura=500&amp;visiveis=_wbiomashp</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp,_llocali&largura=800&altura=500&visiveis=_lbiomashp">openlayers.php?temas=_lbiomashp,_llocali&amp;largura=800&amp;altura=500&amp;visiveis=_lbiomashp</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Zoom para uma regi&atilde;o</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp&largura=800&mapext=-68.39967%20-12.16172%20-62.67402%20-5.366808">openlayers.php?temas=_wbiomashp&amp;largura=800&amp;mapext=-68.39967
						-12.16172 -62.67402 -5.366808</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp&largura=800&mapext=-68.39967%20-12.16172%20-62.67402%20-5.366808">openlayers.php?temas=_lbiomashp&amp;largura=800&amp;mapext=-68.39967
						-12.16172 -62.67402 -5.366808</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Bot&otilde;es principais e barra de zoom maior</legend>
				<p class="m">
					Windows: <a target=_blank
						href="openlayers.php?temas=_wbiomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10">openlayers.php?temas=_wbiomashp&amp;largura=800&amp;botoes=pan,zoombox,zoomtot,distancia,area,identifica&amp;numzoomlevels=10</a>
				</p>
				<p class="m">
					Linux: <a target=_blank
						href="openlayers.php?temas=_lbiomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10">openlayers.php?temas=_lbiomashp&amp;largura=800&amp;botoes=pan,zoombox,zoomtot,distancia,area,identifica&amp;numzoomlevels=10</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Inclus&atilde;o de pontos</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp&largura=800&pontos=-54%20-12%20-56%20-15">openlayers.php?temas=_wbiomashp&amp;largura=800&amp;pontos=-54
						-12 -56 -15</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp&largura=800&pontos=-54%20-12%20-56%20-15">openlayers.php?temas=_lbiomashp&amp;largura=800&amp;pontos=-54
						-12 -56 -15</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>Camada adicional como fundo</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp&largura=800&fundo=_wbiomashp">openlayers.php?temas=_wbiomashp&amp;largura=800&amp;fundo=_wbiomashp</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp&largura=800&fundo=_lbiomashp&amp;largura=800&amp;fundo=_lbiomashp">openlayers.php?temas=_lbiomashp&amp;largura=800&amp;fundo=_lbiomashp</a>
				</p>
			</fieldset>
			<fieldset>
				<legend>KML</legend>
				<p class="m">
					Windows: <a target=_blank href="openlayers.php?temas=_wbiomashp&largura=700&kml=http://localhost/i3geo/aplicmap/dados/sundials.kml">openlayers.php?temas=_wbiomashp&amp;largura=700&amp;kml=http://localhost/i3geo/aplicmap/dados/sundials.kml</a>
				</p>
				<p class="m">
					Linux: <a target=_blank href="openlayers.php?temas=_lbiomashp&largura=700&kml=http://localhost/i3geo/aplicmap/dados/sundials.kml">openlayers.php?temas=_lbiomashp&amp;largura=700&amp;kml=http://localhost/i3geo/aplicmap/dados/sundials.kml</a>
				</p>

			</fieldset>
		</div>

		<script>
			/*
			 Title: Mashups

			 Como usar os mashups do i3geo
			 Link:

			 http://localhost/i3geo/mashup

			 Arquivo:

			 mashup/index.htm

			 Licenca:

			 GPL2

			 I3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet

			 Direitos Autorais Reservados (c) 2006 Minist&eacute;rio do Meio Ambiente Brasil
			 Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br

			 Este programa &eacute; software livre; voc&ecirc; pode redistribu&iacute;-lo
			 e/ou modific&aacute;-lo sob os termos da Licen&ccedil;a P&uacute;blica Geral
			 GNU conforme publicada pela Free Software Foundation;

			 Este programa &eacute; distribu&iacute;do na expectativa de que seja &uacute;til,
			 por&eacute;m, SEM NENHUMA GARANTIA; nem mesmo a garantia impl&iacute;cita
			 de COMERCIABILIDADE OU ADEQUA&Ccedil;&Atilde;O A UMA FINALIDADE ESPEC&Iacute;FICA.
			 Consulte a Licen&ccedil;a P&uacute;blica Geral do GNU para mais detalhes.
			 Voc&ecirc; deve ter recebido uma c&oacute;pia da Licen&ccedil;a P&uacute;blica Geral do
			 GNU junto com este programa; se n&atilde;o, escreva para a
			 Free Software Foundation, Inc., no endere&ccedil;o
			 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.

			 */
		</script>
</body>
</html>