<div dir="ltr">Obrigado Edmar!</div><div class="gmail_extra"><br><br><div class="gmail_quote">Em 24 de novembro de 2013 13:24, Edmar Moretti <span dir="ltr"><<a href="mailto:edmar.moretti@terra.com.br" target="_blank">edmar.moretti@terra.com.br</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Você não precisa alterar o OUTPUTFORMAT se vc está apenas querendo
    utilizar um arquivo svg como símbolo. Uma coisa não tem relação com
    a outra.<br>
    <br>
    Como explicado na documentação do Mapserver, o SYMBOL deve estar
    dentro de STYLE:<br>
    <br>
    <pre>    CLASS
      NAME "Vila"
      EXPRESSION ('[TIPO]'eq'Vila')
      STYLE
        COLOR 250 193 4
        SIZE 20
        SYMBOL "/var/www/i3geo/imagens/google/condominium.png"
      END # STYLE
    END # CLASS</pre>
    <br>
    <br>
    <br>
    <div>Em 24-11-2013 02:36, Rafael Dantas
      escreveu:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Olá Edmar e demais colegas,
        <div><br>
        </div>
        <div>tentei o seguinte:</div>
        <div><br>
        </div>
        <div>modifiquei a camada da seguinte forma</div>
        <div><br>
        </div>
        <div>
          <div>SYMBOL</div>
          <div><span style="white-space:pre-wrap"> </span> NAME
            "tile1"</div>
          <div><span style="white-space:pre-wrap"> </span> TYPE svg</div>
          <div><span style="white-space:pre-wrap"> </span> IMAGE
            "symbols/tile1.svg"</div>
          <div><span style="white-space:pre-wrap"> </span>END</div>
          <div><span style="white-space:pre-wrap"> </span>CLASS</div>
          <div><span style="white-space:pre-wrap"> </span> STYLE</div>
          <div><span style="white-space:pre-wrap"> </span> SYMBOL
            "tile1"</div>
          <div><span style="white-space:pre-wrap"> </span> END</div>
          <div><span style="white-space:pre-wrap"> </span>END</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>também inseri no mapfile as seguites linhas:</div>
          <div>IMAGETYPE svg<br>
          </div>
          <div>
            <div>OUTPUTFORMAT</div>
            <div><span style="white-space:pre-wrap"> </span>  <span style="white-space:pre-wrap"> </span>NAME "svg"</div>
            <div><span style="white-space:pre-wrap"> </span>  <span style="white-space:pre-wrap"> </span>DRIVER
              CAIRO/SVG</div>
            <div><span style="white-space:pre-wrap"> </span>  <span style="white-space:pre-wrap"> </span>MIMETYPE
              "image/svg+xml"</div>
            <div><span style="white-space:pre-wrap"> </span>  <span style="white-space:pre-wrap"> </span>IMAGEMODE RGB</div>
            <div><span style="white-space:pre-wrap"> </span>  <span style="white-space:pre-wrap"> </span>EXTENSION
              "svg"</div>
            <div><span style="white-space:pre-wrap"> </span>END</div>
          </div>
          <div><br>
          </div>
          <div><span style="white-space:pre-wrap"> </span></div>
          <div><span style="white-space:pre-wrap">porém, sem
              sucesso.</span></div>
          <div>
            <span style="white-space:pre-wrap"><br>
            </span></div>
          <div><span style="white-space:pre-wrap">Se alguém tiver um
              exemplo mapfile para compartilhar ficaria grato.</span></div>
          <div><span style="white-space:pre-wrap"><br>
            </span></div>
          <div><span style="white-space:pre-wrap">Saudações </span></div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/11/24 Rafael Dantas <span dir="ltr"><<a href="mailto:raffaeldantas@gmail.com" target="_blank">raffaeldantas@gmail.com</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Olá Edmar, 
              <div><br>
              </div>
              <div>grato pela resposta.</div>
              <div><br>
              </div>
              <div>Vou ler e ver o que consigo abstrair disso aí!</div>
              <div><br>
              </div>
              <div>Saudações</div>
            </div>
            <div class="gmail_extra">
              <div>
                <div><br>
                  <br>
                  <div class="gmail_quote">
                    2013/11/23 Edmar Moretti <span dir="ltr"><<a href="mailto:edmar.moretti@terra.com.br" target="_blank">edmar.moretti@terra.com.br</a>></span><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000"> Veja em:<br>
                        <br>
                        <a href="http://mapserver.org/mapfile/symbology/construction.html#sym-construction" target="_blank">http://mapserver.org/mapfile/symbology/construction.html#sym-construction</a><br>
                        <br>
                        <br>
                        <div>Em 23-11-2013 21:46, Rafael Dantas
                          escreveu:<br>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div>
                              <div dir="ltr">tentei o seguinte:
                                <div>
                                  <div>LAYER</div>
                                  <div><span style="white-space:pre-wrap"> </span>NAME

                                    eestaduais</div>
                                  <div><span style="white-space:pre-wrap"> </span>TYPE

                                    POINT</div>
                                  <div><span style="white-space:pre-wrap"> </span>STATUS

                                    DEFAULT</div>
                                  <div><span style="white-space:pre-wrap"> </span>CONNECTIONTYPE

                                    POSTGIS</div>
                                  <div><span style="white-space:pre-wrap"> </span>CONNECTION

                                    "user=postgres password=mulder
                                    host=localhost port=5432
                                    dbname=atlas "</div>
                                  <div><span style="white-space:pre-wrap"> </span>DATA

                                    "geom FROM (SELECT * FROM
                                    eestaduais) as foo USING UNIQUE gid
                                    SRID=32722"</div>
                                  <div><span style="white-space:pre-wrap"> </span>TEMPLATE

                                    "none.htm"</div>
                                  <div><span style="white-space:pre-wrap"> </span>#TRANSPARENCY

                                    75</div>
                                  <div><span style="white-space:pre-wrap"> </span>PROJECTION</div>
                                  <div><span style="white-space:pre-wrap"> </span>
                                       #"init=epsg:32722"</div>
                                  <div><span style="white-space:pre-wrap"> </span>
                                       "+proj=utm +zone=22 +south
                                    +datum=WGS84 +units=m +no_defs"</div>
                                  <div><span style="white-space:pre-wrap"> </span>END</div>
                                  <div><span style="white-space:pre-wrap"> </span>METADATA</div>
                                  <div><span style="white-space:pre-wrap"> </span>"TEMA"
                                           "Escolas Estaduais"</div>
                                  <div><span style="white-space:pre-wrap"> </span>"DESCRIPTION"

                                    "Escolas Estaduais"</div>
                                  <div><span style="white-space:pre-wrap"> </span>CLASSE

                                    "SIM"</div>
                                  <div><span style="white-space:pre-wrap"> </span>END
                                     # Metadata</div>
                                  <div><span style="white-space:pre-wrap"> </span>CLASS</div>
                                  <div><span style="white-space:pre-wrap"> </span>#Name

                                    'eestaduais'</div>
                                  <div><span style="white-space:pre-wrap"> </span>#SYMBOL

                                    "escola"</div>
                                  <div><span style="white-space:pre-wrap"> </span>#SIZE
                                    10</div>
                                  <div><span style="white-space:pre-wrap"> </span>#COLOR

                                    255 160 122</div>
                                  <div><span style="white-space:pre-wrap"> </span>#OUTLINECOLOR

                                    250 128 114</div>
                                  <div>                               
                                    Name 'eestaduais'</div>
                                  <div><span style="white-space:pre-wrap"> </span>SYMBOL</div>
                                  <div><span style="white-space:pre-wrap"> </span>
                                     NAME "tile1"</div>
                                  <div><span style="white-space:pre-wrap"> </span>
                                     TYPE SVG</div>
                                  <div><span style="white-space:pre-wrap"> </span>
                                     IMAGE "../symbols/tile1.svg"</div>
                                  <div><span style="white-space:pre-wrap"> </span>END
                                     # Class</div>
                                  <div><span style="white-space:pre-wrap"> </span>END
                                     # Layer</div>
                                </div>
                              </div>
                              <div class="gmail_extra"><br>
                                <br>
                                <div class="gmail_quote">Em 23 de
                                  novembro de 2013 21:44, Rafael Dantas
                                  <span dir="ltr"><<a href="mailto:raffaeldantas@gmail.com" target="_blank">raffaeldantas@gmail.com</a>></span>
                                  escreveu:<br>
                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                    <div dir="ltr">olá pessoal,
                                      <div><br>
                                      </div>
                                      <div>desenhei um svg para ser
                                        símbolo mas não sei como usar
                                        como símbolo de uma camada do
                                        mapserver. Alguém saberia como
                                        colocar um svg de uma camada?</div>
                                      <div><br>
                                      </div>
                                      <div>Saudações</div>
                                      <span><font color="#888888">
                                          <div>
                                            <div><br>
                                            </div>
                                            -- <br>
                                            Rafael Dantas </div>
                                        </font></span></div>
                                  </blockquote>
                                </div>
                                <br>
                                <br clear="all">
                                <div><br>
                                </div>
                                -- <br>
                                Rafael Dantas </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                            </div>
                          </div>
                          <pre>_______________________________________________
i3geo mailing list
<a href="mailto:i3geo@lists.osgeo.org" target="_blank">i3geo@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a></pre>
                          <span><font color="#888888"> </font></span></blockquote>
                        <span><font color="#888888"> <br>
                            <div>-- <br>
                              <br>
                              e-mails:<br>
                              <a href="mailto:emoretti@gvsig.com" target="_blank">emoretti@gvsig.com</a><br>
                              <a href="mailto:edmar.moretti@gmail.com" target="_blank">edmar.moretti@gmail.com</a><br>
                              <br>
                              <a>http://edmarmoretti.com.br</a><br>
                              <a>http://www.i3geo.com.br</a><br>
                              Skype, Gtalk: edmar.moretti</div>
                          </font></span></div>
                      <br>
                      _______________________________________________<br>
                      i3geo mailing list<br>
                      <a href="mailto:i3geo@lists.osgeo.org" target="_blank">i3geo@lists.osgeo.org</a><br>
                      <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                </div>
              </div>
              <span><font color="#888888">Rafael Dantas
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Rafael Dantas
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
i3geo mailing list
<a href="mailto:i3geo@lists.osgeo.org" target="_blank">i3geo@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a></pre>
    </blockquote>
    <br>
    <div>-- <br>
      <br>
      e-mails:<br>
      <a href="mailto:emoretti@gvsig.com" target="_blank">emoretti@gvsig.com</a><br>
      <a href="mailto:edmar.moretti@gmail.com" target="_blank">edmar.moretti@gmail.com</a><br>
      <br>
      <a>http://edmarmoretti.com.br</a><br>
      <a>http://www.i3geo.com.br</a><br>
      Skype, Gtalk: edmar.moretti</div>
  </div></div></div>

<br>_______________________________________________<br>
i3geo mailing list<br>
<a href="mailto:i3geo@lists.osgeo.org">i3geo@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Rafael Dantas
</div>