<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Tentei assim:<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd"><br>
<html xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/xhtml">"http://www.w3.org/1999/xhtml"</a>><br>
<head><br>
<title>O meu primeiro mapa</title><br>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" /><br>
<script
src=<a class="moz-txt-link-rfc2396E" href="http://openlayers.org/api/OpenLayers.js">"http://openlayers.org/api/OpenLayers.js"</a>></script><br>
<script type="text/javascript"><br>
var map;<br>
function init() {<br>
<br>
var bounds = new OpenLayers.Bounds(<br>
-15699, 188532, -13689, 190828);<br>
<br>
var options = {<br>
controls: [ new OpenLayers.Control.Navigation(),<br>
new
OpenLayers.Control.PanZoom(),<br>
new
OpenLayers.Control.LayerSwitcher()],<br>
maxExtent: bounds,<br>
maxResolution: 9.61328125,<br>
projection: "EPSG:27492",<br>
units: 'm'<br>
<br>
};<br>
<br>
map = new OpenLayers.Map('map', options);<br>
var wms_ruas = new OpenLayers.Layer.WMS(<br>
"ruas",<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/geoserver/wms">"http://localhost:8080/geoserver/wms"</a>,<br>
{'layers': 'Vizela:ruas', 'format':'image/png',<br>
'transparent':'true',strategies:[new OpenLayers.Strategy.Fixed()]},<br>
{'opacity': 1.0, 'isBaseLayer': false, 'visibility':
true}<br>
);<br>
<br>
<br>
<br>
var wms_base = new OpenLayers.Layer.WMS(<br>
"base",<br>
<a class="moz-txt-link-rfc2396E" href="http://localhost:8080/geoserver/wms">"http://localhost:8080/geoserver/wms"</a>,<br>
{'layers': 'Vizela:base', 'format':'image/png',<br>
'transparent':'true',strategies:[new OpenLayers.Strategy.Fixed()]},<br>
{'opacity': 1.0, 'isBaseLayer': true, 'visibility': true}<br>
);<br>
<br>
var osm_layer = new OpenLayers.Layer.OSM(<br>
'OpenStreetMap Layer'<br>
);<br>
<br>
<br>
map.addLayers([wms_base,osm_layer,wms_ruas]);<br>
if(!map.getCenter()) {<br>
map.zoomToMaxExtent();<br>
}<br>
}<br>
</script><br>
</head><br>
<body onload='init();'><br>
<h1>Mapa mundo</h1><br>
<div id='map' style='width: 500px; height: 500px;'><br>
</div><br>
</body><br>
</html><br>
<br>
<br>
<br>
<br>
<br>
E funciona no entanto quando seleciono a camada OSM deixo de
conseguir ver as ruas...Existe alguma propriedade para mudar
isto?Tenho de colocar o layer osm transparente?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 02-12-2011 14:33, Jorge de Jesus wrote:
<blockquote cite="mid:4ED8E1C6.2020103@pml.ac.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Vou responder a este email e ao outro que mandaste<br>
<br>
Nunca trabalhei com OSM, acho que e' uma classe que e' herdada de
OpenLayers.Layer.XYZ portanto tera as mesmos options.<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example">http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example</a><br>
<br>
Podes meter a layer onde quiseres sem grandes problemas, ate podes
chegar a este ponto:<br>
<br>
map.addLayer(new OpenLayers.Layer.OSM());<br>
<br>
Eu nao sei o que estas a tentar fazer mas penso que queras que OSM
seja a baseLayer ? Talvez isto funcione ?<br>
<br>
map.addLayer(new
OpenLayers.Layer.OSM(options={'isBaseLayer':true}));<br>
<br>
Quanto ao erro:<br>
<br>
<br>
<div role="listitem" class="errorTitle focusRow subLogRow "><span
class="errorDuplication "></span><span aria-expanded="false"
class="errorMessage ">layer.div is undefined</span></div>
<span class=" "></span>
<div role="listitem" class="errorSourceBox errorSource-show
focusRow subLogRow "><a moz-do-not-send="true"
title="layer.div.className="olLayerDiv";layer.div.style.overflow="";this.setLayerZIndex(layer,this.layers.length);if(layer.isFixed){this.viewPortDiv.appendChild(layer.div);}else{this.layerContainerDiv.appendChild(layer.div);}"
class="errorSource a11yFocus ">layer.div.className="olLayerDiv";layer...ContainerDiv.appendChild(layer.div);}<br>
<br>
o problema esta aqui:<br>
<br>
map.<b>addLayer</b>([wms_ruas, wms_base]);<br>
<br>
addLayer --> Adiciona 1 layer e a funcao aceita um Layer
Object <br>
<br>
No teu caso estas a mandar uma lista de layers <br>
<br>
Tens de usar o metodo addLayers que aceita uma array com layer<br>
<br>
</a><a moz-do-not-send="true"
title="layer.div.className="olLayerDiv";layer.div.style.overflow="";this.setLayerZIndex(layer,this.layers.length);if(layer.isFixed){this.viewPortDiv.appendChild(layer.div);}else{this.layerContainerDiv.appendChild(layer.div);}"
class="errorSource a11yFocus ">map.<b>addLayers</b>([wms_ruas,
wms_base]);</a><a moz-do-not-send="true"
title="layer.div.className="olLayerDiv";layer.div.style.overflow="";this.setLayerZIndex(layer,this.layers.length);if(layer.isFixed){this.viewPortDiv.appendChild(layer.div);}else{this.layerContainerDiv.appendChild(layer.div);}"
class="errorSource a11yFocus "><br>
</a></div>
<br>
Agora tudo ao molho (e fe' em Deus) !!!<br>
<br>
<a moz-do-not-send="true"
title="layer.div.className="olLayerDiv";layer.div.style.overflow="";this.setLayerZIndex(layer,this.layers.length);if(layer.isFixed){this.viewPortDiv.appendChild(layer.div);}else{this.layerContainerDiv.appendChild(layer.div);}"
class="errorSource a11yFocus ">map.<b>addLayers</b>([wms_ruas,
wms_base,new OpenLayers.Layer.OSM() ]);</a><br>
<br>
<br>
E tudo por agora mais duvida ?! ^_^ <br>
<br>
Eu normalmente estou no free.node.irc no canal #pywps<br>
<br>
Jorge<br>
<br>
<br>
On 02/12/11 12:51, Pedro Costa wrote:
<blockquote cite="mid:4ED8C9B7.6030302@sapo.pt" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Jorge ajuda-me também no seguinte sff, estou a tentar agora
adicionar um layer osm no código em baixo:<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd"><br>
<html xmlns=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://www.w3.org/1999/xhtml">"http://www.w3.org/1999/xhtml"</a>><br>
<head><br>
<title>O meu primeiro mapa</title><br>
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" /><br>
<script src=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://openlayers.org/api/OpenLayers.js">"http://openlayers.org/api/OpenLayers.js"</a>></script><br>
<script type="text/javascript"><br>
var map;<br>
function init() {<br>
<br>
var bounds = new OpenLayers.Bounds(<br>
-15699, 188532, -13689, 190828);<br>
<br>
var options = {<br>
controls: [ new
OpenLayers.Control.Navigation(),<br>
new
OpenLayers.Control.PanZoom(),<br>
new
OpenLayers.Control.LayerSwitcher()],<br>
maxExtent: bounds,<br>
maxResolution: 9.61328125,<br>
projection: "EPSG:27492",<br>
units: 'm'<br>
<br>
};<br>
<br>
map = new OpenLayers.Map('map', options);<br>
var wms_ruas = new OpenLayers.Layer.WMS(<br>
"ruas",<br>
<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://localhost:8080/geoserver/wms">"http://localhost:8080/geoserver/wms"</a>,<br>
{'layers': 'Vizela:ruas', 'format':'image/png',<br>
'transparent':'true',strategies:[new
OpenLayers.Strategy.Fixed()]},<br>
{'opacity': 1.0, 'isBaseLayer': true, 'visibility':
true}<br>
);<br>
<br>
map.addLayer(wms_ruas);<br>
if(!map.getCenter()) {<br>
map.zoomToMaxExtent();<br>
}<br>
}<br>
</script><br>
</head><br>
<body onload='init();'><br>
<h1>Mapa mundo</h1><br>
<div id='map' style='width: 500px; height:
500px;'><br>
</div><br>
</body><br>
</html><br>
<br>
<br>
<br>
<br>
<br>
Mas sinceramente não sei bem onde o inserir, já tentei em vários
locais e não funciona.POdes ajudar?<br>
Estava a tentar adicionando o seguinte:<br>
<br>
<pre class="de1">var osm_layer = new OpenLayers.Layer.OSM(
                                'OpenStreetMap Layer'
                                );
Abraço
</pre>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 02-12-2011 12:37, Jorge de Jesus wrote:
<blockquote cite="mid:4ED8C67A.3020206@pml.ac.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Ok parece que o assunto esta resolvido<br>
<br>
On 02/12/11 11:42, Pedro Costa wrote:
<blockquote cite="mid:4ED8B99C.8040707@sapo.pt" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Consegui resolver...Tinha de mudar postgis para o nome da
store que tinha e já funciona:-)<br>
<br>
Obrigado pessoal<br>
Vou continuar o estudo <br>
<br>
ABraço<br>
<br>
<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>Re: [Portugal] duvidas sobre openlayers</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date:
</th>
<td>Fri, 02 Dec 2011 11:26:55 +0000</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From:
</th>
<td>Pedro Costa <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:pedrocostaarma@sapo.pt"><pedrocostaarma@sapo.pt></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To:
</th>
<td>Jorge de Jesus <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:jmdj@pml.ac.uk"><jmdj@pml.ac.uk></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
Obrigado Jorge. Já eliminei os erros no entanto o openlayers
não está a carregar o layer ruas, a página abre mas sem eu
conseguir ver o layer.<br>
<br>
Tentei wms_ruas.getExtent() no firebug e obtenho o seguinte
erro: <span role="presentation" class="objectBox
objectBox-errorMessage hasBreakSwitch "><span
class="errorMessage ">ReferenceError: wms_ruas is not
defined.<br>
Penso que não está a conseguir ir buscar o layer ao
geoserver, alguma segestão do que poderá ser?<br>
<br>
<br>
Obrigado pelas repostas de todos<br>
</span></span><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 02-12-2011 09:32, Jorge de Jesus wrote:
<blockquote cite="mid:4ED89B45.1080407@pml.ac.uk"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 02/12/11 00:37, Pedro Costa wrote:
<blockquote cite="mid:4ED81DC3.9090109@sapo.pt"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Pessoal podem ajudar-me também nas seguintes dúvidas:<br>
<br>
<br>
Eu tenho o html que segue em baixo, quando o abro, o
firebug indica um erro assim:<br>
<br>
<div role="listitem" class="errorTitle focusRow
subLogRow "><span class="errorMessage ">OpenLayers is
not defined</span></div>
<span class=" "></span>
<div role="listitem" class="errorSourceBox
errorSource-show focusRow subLogRow "><a
moz-do-not-send="true" title="var bounds = new
OpenLayers.Bounds(" class="errorSource a11yFocus "> var
bounds = new OpenLayers.Bounds(<br>
<br>
<br>
</a></div>
</blockquote>
"OpenLayers is not defined" acho que este e' o error que
tens, parece que a pagina nao carregou o OpenLayers.js.
Ve no tab "Net">js do firefox se ele carregou o
OpenLayers, experimenta usar a versao online: <br>
<br>
<br>
<script type="text/javascript" src=<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://openlayers.org/dev/OpenLayers.js">"http://openlayers.org/dev/OpenLayers.js"</a>></script><br>
<br>
<br>
Eu experimentei: var bounds = new
OpenLayers.Bounds(-23941, 208039,-21480, 210148);<br>
<br>
E esta tudo OK<br>
<br>
Quanto aos bounds, experimenta meter os bounds iguais aos
descritos no WMS (faz um pedido getCapabilites), depois de
teres adicionado o a layer wms_ruas, podes usar
wms_ruas.getExtent():<br>
<br>
map.zoomToExtent(wms_ruas.getExtent());<br>
<br>
So uma chamada de atencao o object wms_ruas so esta
totalmante operacional depois de adicionado ao mapa e
depois de feito o pedido ao servico pelo openlayers, ate
teres o objecto totalmente criado certas variaveis e
metodos dao error.<br>
<br>
Jorge<br>
<br>
<blockquote cite="mid:4ED81DC3.9090109@sapo.pt"
type="cite">
<div role="listitem" class="errorSourceBox
errorSource-show focusRow subLogRow "><a
moz-do-not-send="true" title="var bounds = new
OpenLayers.Bounds(" class="errorSource a11yFocus ">
Penso que seja porque os bounds estão mal definidos.
A minha dúvida é o seguinte, como posso saber os
bounds correctos? E em que src tenho de os
escrever?Igual ao src do layer que quero ir
buscar?Será que funciona se eu executar no firebug
map.zoomToMaxExtent e map.getExtent no layer preview
do geoserver?<br>
<br>
Tentei isso e dá-me os valores: topp right left e
bottom, mas porque ordem os escrevo?<br>
<br>
<br>
Podem tirar-me estas dúvidas?<br>
<br>
Obrigado<br>
</a></div>
<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "DTD/xhtml1-strict.dtd"><br>
<html xmlns=<a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://www.w3.org/1999/xhtml">"http://www.w3.org/1999/xhtml"</a>><br>
<head><br>
<title>O meu primeiro mapa</title><br>
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8" /><br>
<script src="/openlayers/lib/OpenLayers.js"
type="text/javascript"></script><br>
<script type="text/javascript"><br>
var map;<br>
function init() {<br>
<br>
var bounds = new OpenLayers.Bounds(<br>
-23941, 208039,<br>
-21480, 210148<br>
);<br>
<br>
var options = {<br>
controls: [ new
OpenLayers.Control.Navigation(),<br>
new
OpenLayers.Control.PanZoom(),<br>
new
OpenLayers.Control.LayerSwitcher()],<br>
maxExtent: bounds,<br>
maxResolution: 9.61328125,<br>
projection: "EPSG:27492",<br>
units: 'm'<br>
<br>
};<br>
<br>
map = new OpenLayers.Map('map',
options);<br>
var wms = new OpenLayers.Layer.WMS(<br>
'OpenLayers WMS',<br>
'<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>',
{<br>
layers: 'topp:ruas'<br>
}, {} );<br>
map.addLayer(wms);<br>
if(!map.getCenter()) {<br>
map.zoomToMaxExtent();<br>
}<br>
}<br>
</script><br>
</head><br>
<body onload='init();'><br>
<h1>Mapa mundo</h1><br>
<div id='map' style='width: 500px; height:
500px;'><br>
</div><br>
</body><br>
</html><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 01-12-2011 13:22, Jorge de Jesus wrote:
<blockquote cite="mid:4ED77F7F.8030107@pml.ac.uk"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Algumas respostas peco desculpas pelo email meio
algarviado<br>
<br>
<br>
On 01/12/11 12:41, Pedro Costa wrote:
<blockquote cite="mid:4ED77615.6010209@sapo.pt"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Pessoal será que podiam ajudar-me com as seguintes
dúvidas do openlayeres, as dúvidas são relativas ao
exemplo disponivel aqui:<br>
<br>
<a moz-do-not-send="true"
href="http://geobox.geospot.pt/pt/index.php/Edi%C3%A7%C3%A3o_com_OpenLayers">http://geobox.geospot.pt/pt/index.php/Edi%C3%A7%C3%A3o_com_OpenLayers</a><br>
<br>
<br>
<b>1) O que sgnificam estas diferentes partes do
código:</b><br>
<pre class="de1"><span class="sc2"><<span class="kw2">link</span> <span class="kw3">rel</span><span class="sy0">=</span><span class="st0">"stylesheet"</span> <span class="kw3">href</span><span class="sy0">=</span><span class="st0">"/openlayers/theme/default/style.css"</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">"text/css"</span> <span class="sy0">/</span>></span></pre>
<pre class="de1"><span class="sc2">
</span></pre>
</blockquote>
Isto e' un link pro CSS (cascade style sheet) que
define como varios elementos vao ser rendizados
(rendered), ou seja cores, tipos de letras icons, e
onde os menus (exemplo: LayerSwitcher) vao aparecer
etc. Da uma vista de olhos ao ficheiro e experimenta a
fazer alteracoes :) .Se nao sabes trabalhar com CSS da
uma vista de olhos a: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.w3schools.com/css/">http://www.w3schools.com/css/</a><br>
<blockquote cite="mid:4ED77615.6010209@sapo.pt"
type="cite">
<pre class="de1"><span class="sc2"></span><span class="sc2"><pre class="de1">OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";
</pre></span></pre>
</blockquote>
Aiiiiiii a santa bendita proxy !!! Da uma vista de
olhos aqui: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost">http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost</a>
<br>
<br>
Basicamente em Javascript tu nao podes chamar um URL
que nao esteja no mesmo dominio, por exemplo se o teu
site esta em <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://localhost">http://localhost</a> mas o
WFS esta em <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://WFSsite.pt">http://WFSsite.pt</a> o
codigo de javascipript nao pode aceder a <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://WFSsite.pt">http://WFSsite.pt</a>, esta
situacao eh conhecida por "cross domain" da uma vista
de olhos na internet<br>
<br>
Actualmente os browsers mais recentes podem contactar
outros dominios se o servidor no outro dominio
suportar a norma CORS: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html">http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html</a><br>
<br>
Basicamente, a melhor estrategia eh de instalar a
proxy no teu servidor e deixar que o openlayers trate
do assunto.<br>
<br>
Normalmente, o firebug manda-te um erro quando tens
cross-domain (normalmente o browser nao diz nada e nao
faz nada quando tens cross-domain)<br>
<blockquote cite="mid:4ED77615.6010209@sapo.pt"
type="cite">
<pre class="de1"><span class="sc2"><pre class="de1"><b>2) Porquê é que aqui a classe map é nula?</b>
</pre></span></pre>
</blockquote>
<br>
var map=null; Bem uns gostam cozido outros gosta de
assado :0 eh so um estilo de programacao, se usares
var map; vai dar ao mesmo. Uma chamada de atencao, o
var map=null; esta fora da funcao init(), quer dizer
que eh uma variable global, que pode ser acedida por
qualquer funcao. Normalmente um erro comum e' meter
"var map" dentro do init()<br>
<br>
Pessoalmente meto o map e as layers sempre fora da
funcao de inicializacao, ja que variaveis globais
parecem logo no firebug.<br>
<br>
<br>
<blockquote cite="mid:4ED77615.6010209@sapo.pt"
type="cite">
<pre class="de1"><span class="sc2"><pre class="de1"><span class="sc2"><pre class="de1"><pre class="de1">var map = null;
<b>3) NO exemplo em questão que segue em baixo, temos de por o schema para o layer do geoserver em questão, trata-se de
um url? Como posso descobrir url para o layer que pretendo? Tentei trocar o nome deste exemplo (participante)
por um layer que tenho e colar no browser mas não abre nada...
POdem dar-me uma dicas?
</b></pre></pre></span></pre></span></pre>
</blockquote>
<br>
Eu raramente trabalho com WFS e estive a ver no codigo
do openlayers (Protocol/WFS/v1.js) temos a seguinte
definicao da propriedade schema:<br>
<br>
/**<br>
* Property: schema<br>
* {String} Optional schema location that will be
included in the<br>
* schemaLocation attribute value. Note that
the feature type schema<br>
* is required for a strict XML validator (on
transactions with an<br>
* insert for example), but is *not* required
by the WFS specification<br>
* (since the server is supposed to know about
feature type schemas).<br>
*/<br>
schema: null,<br>
<br>
<br>
Basicamente e' um URL que define o schema dos dados em
XML e que pode ser usado para validar os conteudos, no
exemplo passas um DescribeFeatureType que gera un
esquema que define a estrutura do XML dos teus dados.
Em varios exemplos nunca vi o uso do schema:<br>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://workshops.opengeo.org/stack-intro/openlayers.html">http://workshops.opengeo.org/stack-intro/openlayers.html</a><br>
<br>
Eu uso mais mapserver, ja que nao me dou muito bem com
o JAVA (serei demasiado calhau?) <br>
<br>
<blockquote cite="mid:4ED77615.6010209@sapo.pt"
type="cite">
<pre class="de1"><span class="sc2"><pre class="de1"><span class="sc2"><pre class="de1"><pre class="de1"><b>
4)Quando devo utilizar a livraria do openlayers no localhost e quando devo utilizar a online?Tanto faz ou quais as vantagens
de um e de outro?
Obrigado
Bom feriado a todos
</b>
</pre></pre></span></pre></span></pre>
</blockquote>
uma livraria no localhost e' mais rapida para fazer o
upload e nao estas dependente de "terceiros" <br>
<br>
E para concluir: O firebug e' o melhor amigo do Homem
(depois do cao e' claro)<br>
<br>
<br>
Bom feriado, eu vou marfar <br>
<br>
Jorge<br>
<br>
<pre class="moz-signature" cols="72">--
PGP public key: 0x595FF9D3</pre>
<br>
<hr>
<p><font face="Arial" size="1"> Plymouth Marine
Laboratory<br>
Registered Office: <br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH </font></p>
<p><font face="Arial" size="1">Website: <a
moz-do-not-send="true"
href="http://www.pml.ac.uk">www.pml.ac.uk</a> <br>
<a moz-do-not-send="true"
href="http://www.pml.ac.uk/pdf/PMLAR2010.pdf">Click
here for PML Annual Review</a> <br>
Registered Charity No. 1091222<br>
PML is a company limited by guarantee<br>
registered in England & Wales<br>
company number 4178503</font></p>
<p><font color="green" face="Arial" size="1">Please
think before you print.</font></p>
<hr>
<p><font face="Arial" size="1">This e-mail, its
content and any file attachments are confidential.</font></p>
<p><font face="Arial" size="1">If you have received
this e-mail in error please do not copy, disclose
it to any third party or use the contents or
attachments in any way. Please notify the sender
by replying to this e-mail or e-mail <a
moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a>
and then delete the email without making any
copies or using it in any other way.</font></p>
<p><font face="Arial" size="1">The content of this
message may contain personal views which are not
the views of Plymouth Marine Laboratory unless
specifically stated.</font></p>
<p><font face="Arial" size="1">You are reminded that
e-mail communications are not secure and may
contain viruses. Plymouth Marine Laboratory
accepts no liability for any loss or damage which
may be caused by viruses.</font></p>
<hr> <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
PGP public key: 0x595FF9D3</pre>
<br>
<hr>
<p><font face="Arial" size="1"> Plymouth Marine Laboratory<br>
Registered Office: <br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH </font></p>
<p><font face="Arial" size="1">Website: <a
moz-do-not-send="true" href="http://www.pml.ac.uk">www.pml.ac.uk</a>
<br>
<a moz-do-not-send="true"
href="http://www.pml.ac.uk/pdf/PMLAR2010.pdf">Click
here for PML Annual Review</a> <br>
Registered Charity No. 1091222<br>
PML is a company limited by guarantee<br>
registered in England & Wales<br>
company number 4178503</font></p>
<p><font color="green" face="Arial" size="1">Please think
before you print.</font></p>
<hr>
<p><font face="Arial" size="1">This e-mail, its content
and any file attachments are confidential.</font></p>
<p><font face="Arial" size="1">If you have received this
e-mail in error please do not copy, disclose it to any
third party or use the contents or attachments in any
way. Please notify the sender by replying to this
e-mail or e-mail <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a>
and then delete the email without making any copies or
using it in any other way.</font></p>
<p><font face="Arial" size="1">The content of this message
may contain personal views which are not the views of
Plymouth Marine Laboratory unless specifically stated.</font></p>
<p><font face="Arial" size="1">You are reminded that
e-mail communications are not secure and may contain
viruses. Plymouth Marine Laboratory accepts no
liability for any loss or damage which may be caused
by viruses.</font></p>
<hr> <br>
<br>
</blockquote>
<br>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Portugal mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/portugal">http://lists.osgeo.org/mailman/listinfo/portugal</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
PGP public key: 0x595FF9D3</pre>
<br>
<hr>
<p><font face="Arial" size="1"> Plymouth Marine Laboratory<br>
Registered Office: <br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH </font></p>
<p><font face="Arial" size="1">Website: <a
moz-do-not-send="true" href="http://www.pml.ac.uk">www.pml.ac.uk</a>
<br>
<a moz-do-not-send="true"
href="http://www.pml.ac.uk/pdf/PMLAR2010.pdf">Click here
for PML Annual Review</a> <br>
Registered Charity No. 1091222<br>
PML is a company limited by guarantee<br>
registered in England & Wales<br>
company number 4178503</font></p>
<p><font color="green" face="Arial" size="1">Please think
before you print.</font></p>
<hr>
<p><font face="Arial" size="1">This e-mail, its content and
any file attachments are confidential.</font></p>
<p><font face="Arial" size="1">If you have received this
e-mail in error please do not copy, disclose it to any
third party or use the contents or attachments in any way.
Please notify the sender by replying to this e-mail or
e-mail <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a>
and then delete the email without making any copies or
using it in any other way.</font></p>
<p><font face="Arial" size="1">The content of this message may
contain personal views which are not the views of Plymouth
Marine Laboratory unless specifically stated.</font></p>
<p><font face="Arial" size="1">You are reminded that e-mail
communications are not secure and may contain viruses.
Plymouth Marine Laboratory accepts no liability for any
loss or damage which may be caused by viruses.</font></p>
<hr> <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
PGP public key: 0x595FF9D3</pre>
<br>
<hr>
<p><font face="Arial" size="1">
Plymouth Marine Laboratory<br>
Registered Office: <br>
Prospect Place<br>
The Hoe<br>
Plymouth PL1 3DH
</font></p>
<p><font face="Arial" size="1">Website: <a moz-do-not-send="true"
href="http://www.pml.ac.uk">www.pml.ac.uk</a>
<br>
<a moz-do-not-send="true"
href="http://www.pml.ac.uk/pdf/PMLAR2010.pdf">Click here for
PML Annual Review</a>
<br>
Registered Charity No. 1091222<br>
PML is a company limited by guarantee<br>
registered in England & Wales<br>
company number 4178503</font></p>
<p><font color="green" face="Arial" size="1">Please think before
you print.</font></p>
<hr>
<p><font face="Arial" size="1">This e-mail, its content and any
file attachments are confidential.</font></p>
<p><font face="Arial" size="1">If you have received this e-mail in
error please do not copy, disclose it to any third party or
use the contents or attachments in any way. Please notify the
sender by replying to this e-mail or e-mail <a class="moz-txt-link-abbreviated" href="mailto:forinfo@pml.ac.uk">forinfo@pml.ac.uk</a>
and then delete the email without making any copies or using
it in any other way.</font></p>
<p><font face="Arial" size="1">The content of this message may
contain personal views which are not the views of Plymouth
Marine Laboratory unless specifically stated.</font></p>
<p><font face="Arial" size="1">You are reminded that e-mail
communications are not secure and may contain viruses.
Plymouth Marine Laboratory accepts no liability for any loss
or damage which may be caused by viruses.</font></p>
<hr>
<br>
<br>
</blockquote>
<br>
</body>
</html>