<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Duarte,<br><br>O plugin é que acho que é relativamente lento. Não tem a ver com os serviços: é o que dá ter javascript misturado com python.<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Como já deves ter o OpenLayers plugin instalado, basta editar um dos ficheiros html disponíveis em "python\plugins\openlayers\html"<br><br>Neste exemplo vou utilizar um serviço REST do ArcGISOnline publicado em srs 102100.<br><br>Modifica, por exemplo o ficheiro yahoo_satellite.html<br><br>Apaga a layer do yahoo e substitui por<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var&nbsp;&nbsp;&nbsp; topoLayer = new OpenLayers.Layer.ArcGIS93Rest( "World_Topo_Map",<br><span>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; "<a target="_blank" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/export">http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/export</a>", </span><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {layers: "0", transparent: true},<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {isBaseLayer: true, visibility: true}<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map.addLayer(topoLayer);<br><br>Agora quando adicionares a layer Yahoo Satellite vai aparecer a topoLayer (demora um pouco a carregar). Simples não é?<br><br>O resto é trabalho de cosmética: substituir yahoo por topoLayer no código python, arranjar outro ícone que não o do yahoo, etc...<br><br><br>LT<br><br><div style="font-family: arial,helvetica,sans-serif;
 font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> dncarreira &lt;DCarreira@edia.pt&gt;<br><b><span style="font-weight: bold;">To:</span></b> portugal@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, July 4, 2011 6:53:39 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [Portugal] Re: Geoportal LNEG<br></font><br>
Luís,<br><br><br>Fica lento?? Estranho... não queres disponibilizar a tua alteração para<br>testar também por aqui?<br><br>Isso de pesquisar os serviços AGS tugas preocupa-me :)<br><br>Duarte<br><br>-----<br>Duarte<br>--<br><span>View this message in context: <a target="_blank" href="http://osgeo-org.1803224.n2.nabble.com/Re-Geoportal-LNEG-tp6541584p6546945.html">http://osgeo-org.1803224.n2.nabble.com/Re-Geoportal-LNEG-tp6541584p6546945.html</a></span><br>Sent from the OSGeo Portuguese Local Chapter mailing list archive at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Portugal mailing list<br><a ymailto="mailto:Portugal@lists.osgeo.org" href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a><br><span><a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/portugal">http://lists.osgeo.org/mailman/listinfo/portugal</a></span><br></div></div>
</div></body></html>