<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Oi <br>
    <br>
    Tb tens a projection com numero 600613 e nao como 900913 ( dislexia
    ?????)<br>
    <br>
    Estive a ver um codigo (que tenho) que sobrepoe um WMS sobre Google
    Earth e tenho algo assim (isto sao partes do codigo)<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://pastebin.com/CWpPGXFs">http://pastebin.com/CWpPGXFs</a><br>
    <br>
    No meu caso nao defino a projeccao da camada WMS e o OpenLayers usa
    a projeccao da baseLayer da google para tudo, o meu WMS tem suporte
    nativo para 900913. Acho que devia ter tido mais atencao ao codigo e
    seria mais correcto adicionar a informacao da projeccao&nbsp; <br>
    <span role="presentation" class="objectBox objectBox-text "><br>
      projection: map.getProjectionObject()</span><br>
    <br>
    <br>
    Outra coisa, podes usar um WMS&nbsp; que so tenha um EPSG:4326 mas teras
    de usar uma differente tecnica basada en el OpenLayers.Layer.TMS<br>
    <br>
<a class="moz-txt-link-freetext" href="http://blog.sumbera.com/2010/02/17/overlay-wms-on-google-in-openlayers/">http://blog.sumbera.com/2010/02/17/overlay-wms-on-google-in-openlayers/</a><br>
    <br>
    Jorge<br>
    <br>
    On 09/12/11 01:25, Marco Afonso wrote:
    <blockquote
cite="mid:CAG6YeNxDA5eYrMog7=tpUY5QM0djFU3=_+S0XtcSt-Ve7TvxrQ@mail.gmail.com"
      type="cite">Viva Pedro,<br>
      <br>
      O caminho para o ficheiro OpenLayers.js na tag script deve ser
      acessivel pelo browser; o correcto dever&aacute; ser <a
        moz-do-not-send="true"
        href="http://localhost/openlayers/OpenLayers.js">http://localhost/openlayers/OpenLayers.js</a>
      caso esteja a trabalhar na m&aacute;quina onde se encontra a desenvolver
      (localhost).<br>
      O caminho fisico /var/www/ n&atilde;o &eacute; acessivel pelo browser. &Eacute;
      importante distiguir o que est&aacute;, e n&atilde;o est&aacute;, acess&iacute;vel para o
      browser (software cliente).<br>
      <br>
      Apenas vi esse problema por agora...<br>
      <br>
      <div class="gmail_quote">
        No dia 9 de Dezembro de 2011 00:44, Pedro Costa <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a>&gt;</span>
        escreveu:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#FFFFFF" text="#000000"> No seguimento das
            minhas d&uacute;vidas ser&aacute; que podiam dar uma vista de olhos a
            minha tentativa[falhada] de sobrepor um layer propriet&aacute;rio
            com um wms:<br>
            <br>
            <a moz-do-not-send="true"
              href="http://pastebin.com/dnDY5U85" target="_blank">http://pastebin.com/dnDY5U85</a><br>
            <br>
            Obrigado<br>
            <br>
            <br>
            <br>
            <br>
            -------- Original Message --------
            <table border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject:
                  </th>
                  <td>Re: [Portugal] duvidas sobre openlayers</td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date:
                  </th>
                  <td>Thu, 08 Dec 2011 23:59:44 +0000</td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From:
                  </th>
                  <td>Pedro Costa <a moz-do-not-send="true"
                      href="mailto:pedrocostaarma@sapo.pt"
                      target="_blank">&lt;pedrocostaarma@sapo.pt&gt;</a></td>
                </tr>
                <tr>
                  <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To:
                  </th>
                  <td><a moz-do-not-send="true"
                      href="mailto:portugal@lists.osgeo.org"
                      target="_blank">portugal@lists.osgeo.org</a></td>
                </tr>
              </tbody>
            </table>
            <div>
              <div class="h5"> <br>
                <br>
                Ol&aacute; pessoal,<br>
                <br>
                Mais umas d&uacute;vidas sobre openlayers (pelo menos enquanto
                n&atilde;o chega o livro). Eu estou a estudar a projec&ccedil;ao
                Spherical Mercator aqui:<br>
                <br>
                <a moz-do-not-send="true"
href="http://docs.openlayers.org/library/spherical_mercator.html#spherical-mercator"
                  target="_blank">docs.openlayers.org/library/spherical_mercator.html#spherical-mercator</a><br>
                <br>
                <br>
                As minhas d&uacute;vidas s&atilde;o as seguintes:<br>
                <br>
                <br>
                Sempre que usamos um baselayer comercial (da google ou
                osm por exemplo) temos de definir no objecto map a
                projec&ccedil;&atilde;o respectiva (EPSG:900913)?Dar sempre suporte a
                esta projec&ccedil;&atilde;o correcto?<br>
                <br>
                <br>
                Se quisermos adicionar outros layers como por exemplo
                wms do geoserver (e que est&atilde;o noutra projec&ccedil;&atilde;o) &eacute; que
                n&atilde;o percebi como fazemos...Podem elucidar-me?<br>
                <br>
                <br>
                Obrigado<br>
                <br>
                ABra&ccedil;o<br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                On 05-12-2011 10:31, Pedro Mendes wrote:
                <blockquote type="cite">Pedro,
                  <div><br>
                  </div>
                  <div>Aconselho-te vivamente, a percorreres pelo menos
                    os capitulos iniciais do livro&nbsp;<span
                      style="font-family: 'Helvetica
                      neue',Helvetica,Arial,Verdana,sans-serif;
                      font-size: 14px; font-weight: bold; line-height:
                      18px; background-color: rgb(255, 255, 255);"><a
                        moz-do-not-send="true"
href="https://www.packtpub.com/openlayers-2-1-javascript-web-mapping-library-beginners-guide/book"
                        target="_blank">OpenLayers 2.10 Beginner's Guide</a></span>.
                    Est&aacute; muito bom e parece-me que vai esclarecer quase
                    automiaticamente muitas das tuas duvidas.</div>
                  <div><br>
                  </div>
                  <div>H&aacute; muitos recursos online sobre como lidar com o
                    bin&oacute;mio WMS/WFS para quando precisas de dar mais que
                    apenas visualiza&ccedil;&atilde;o ao utilizador, mas deixo-te aqui
                    dois que me parecem pertinentes:</div>
                  <blockquote style="margin: 0pt 0pt 0pt 40px; border:
                    medium none; padding: 0px;">
                    <div>Tim Schaub, OpenLayers Vector Mayhen @ FOSS4G
                      2009 &raquo;&nbsp;<a moz-do-not-send="true"
                        href="http://blip.tv/fosslc/2009-10-22-tim-schaub-openlayers-0-2817762"
                        target="_blank">http://blip.tv/fosslc/2009-10-22-tim-schaub-openlayers-0-2817762</a></div>
                    <div>Marc Jansen, Commom pitfalls for users of
                      OpenLayers @ FOSS4G 2011 &raquo;&nbsp;<a
                        moz-do-not-send="true"
href="http://www.fosslc.org/drupal/content/common-pitfalls-users-openlayers"
                        target="_blank">http://www.fosslc.org/drupal/content/common-pitfalls-users-openlayers</a></div>
                    <div><br>
                    </div>
                  </blockquote>
                  De qualquer das formas, estes videos fazem mais
                  sentido quando tiveres passado em revista algumas das
                  coisas mais fundamentais presentes no livro que
                  referi.
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div> Mendes<br>
                    <div><br>
                      <div class="gmail_quote">2011/12/4 Pedro Costa <span
                          dir="ltr">&lt;<a moz-do-not-send="true"
                            href="mailto:pedrocostaarma@sapo.pt"
                            target="_blank">pedrocostaarma@sapo.pt</a>&gt;</span><br>
                        <blockquote class="gmail_quote" style="margin:
                          0pt 0pt 0pt 0.8ex; border-left: 1px solid
                          rgb(204, 204, 204); padding-left: 1ex;">
                          <div bgcolor="#FFFFFF" text="#000000"> E com
                            este tipo de layers &eacute; possivel tamb&eacute;m os
                            mouse events?
                            <div>
                              <div><br>
                                <br>
                                <br>
                                <br>
                                <br>
                                <br>
                                On 04-12-2011 18:05, Giovanni Manghi
                                wrote: </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>
                                  <blockquote type="cite">
                                    <pre>Para permitir edi&ccedil;&atilde;o tem de ser como wfs?
</pre>
                                  </blockquote>
                                  <pre>wfs-t

se usas TinyOWS ha alguns exemplos de editing com OL no site oficial.


-- Giovanni --

</pre>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </div>
                              </div>
                              <div>
                                <pre>_______________________________________________
Portugal mailing list
<a moz-do-not-send="true" href="mailto:Portugal@lists.osgeo.org" target="_blank">Portugal@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/portugal" target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a>
</pre>
                              </div>
                            </blockquote>
                            <br>
                          </div>
                          <br>
_______________________________________________<br>
                          Portugal mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Portugal@lists.osgeo.org"
                            target="_blank">Portugal@lists.osgeo.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.osgeo.org/mailman/listinfo/portugal"
                            target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Portugal mailing list
<a moz-do-not-send="true" href="mailto:Portugal@lists.osgeo.org" target="_blank">Portugal@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/portugal" target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a>
</pre>
                </blockquote>
                <br>
                <br>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          Portugal mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/portugal"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/portugal</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Portugal mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Portugal@lists.osgeo.org">Portugal@lists.osgeo.org</a>
<a 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 href="http://www.pml.ac.uk">www.pml.ac.uk</a>
<br />
<a 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 face="Arial" size="1" color="green">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 forinfo@pml.ac.uk 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 /></body>
</html>