<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Obrigado pelo esclarecimento.<br>
    cumprimentos<br>
    Carlos vaz<br>
    <br>
    Em 12-11-2010 17:13, Giovanni Manghi escreveu:
    <blockquote cite="mid:1289581991.13050.50.camel@sibirica"
      type="cite">
      <pre wrap="">Estamos a discutir este assunto neste momento no canal irc #qgis.

A resposta parece estar na pagina do formato dgn no site da biblioteca
OGR

<a class="moz-txt-link-freetext" href="http://www.gdal.org/ogr/drv_dgn.html">http://www.gdal.org/ogr/drv_dgn.html</a>

"Creation Issues
2D DGN files may be written with OGR with significant limitations:

      * Output features have the usual fixed DGN attributes. Attempts to
        create any other fields will fail.
      * ...
      * ...
      * ..."

me parece que não se possam arbitrariamente apagar todas as colunas de
um vector (shape, postgis, etc.) imagino que seja obrigatório que as
colunas se chamem de uma forma especifica, nomes provavelmente definidos
nas especificações do formato dgn, imagino eu.

De qualquer forma parece-me tb que possa haver problemas na biblioteca
ogr: abri um dgn em QGIS, que guardei como shapefile e tentei de guardar
outra vez como dgn... e deu o mesmo erro. A mesma coisa acontece ao
correr o programa ogr2ogr manualmente...

Será melhor perguntar na mailing list gdal/ogr.


Entretanto directamente do qgis hackfest

<a class="moz-txt-link-freetext" href="https://trac.osgeo.org/qgis/changeset/14562/">https://trac.osgeo.org/qgis/changeset/14562/</a>

[FEATURE] allow OGR save as without attributes (for eg. DGN/DXF)


cumprimentos

-- Giovanni --



On Fri, 2010-11-12 at 15:06 +0000, Carlos Vaz wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Olá boa tarde,

Sou um utilizador recente de QGIS (v1.5,  r13923M) e tenho tentado
exportar shapefile para dgn sem sucesso, obtendo o seguinte erro:
Export to vector file failed.
Error: creation of field Level failed (OGR error: CreateField() not
supported by this layer.)

Já alguém conseguiu realizar esta operação em ambiente QGIS?

obrigado
Carlos Vaz

-- 
*********************************************************************************************************************************************************************************

PREGALE, Lda.

Rua Professor Rómulo de Carvalho, 5A 

2740-125 Porto Salvo 

Oeiras · Portugal

tel: (+351) 214 210 565

fax: (+351) 214 417 485

email: <a class="moz-txt-link-abbreviated" href="mailto:pregale@pregale.com">pregale@pregale.com</a> 

<a class="moz-txt-link-freetext" href="http://www.pregale.com">http://www.pregale.com</a> 

WGS84 38º 44’ 15’’,90N   09º 18’ 29’’,70W

 

A presente mensagem de correio electrónico, bem como os respectivos
ficheiros anexos, podem conter informação restrita ou confidencial

destinada exclusivamente ao respectivo destinatário. Se recebeu esta
mensagem por engano, por favor apague-a e comunique a 

ocorrência a <a class="moz-txt-link-abbreviated" href="mailto:pregale@pregale.com">pregale@pregale.com</a> 
This e-mail and any files attached to it may contain privileged or
confidential information intended solely for the use of its addressee.

If you have received this e-mail in error, please delete it and kindly
notify <a class="moz-txt-link-abbreviated" href="mailto:pregale@pregale.com">pregale@pregale.com</a> 

 


_______________________________________________
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>
      <pre wrap="">

_______________________________________________
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>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="ProgId" content="Word.Document">
      <meta name="Generator" content="Microsoft Word 11">
      <meta name="Originator" content="Microsoft Word 11">
      <link rel="File-List"
        href="assinatura_email_ficheiros/filelist.xml">
      <title>PREGALE</title>
      <o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="metricconverter">
        <!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>carlos vaz</o:Author>
  <o:LastAuthor>carlos vaz</o:LastAuthor>
  <o:Revision>16</o:Revision>
  <o:TotalTime>33</o:TotalTime>
  <o:Created>2007-06-22T10:01:00Z</o:Created>
  <o:LastSaved>2009-05-07T08:37:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>173</o:Words>
  <o:Characters>940</o:Characters>
  <o:Company>pregale</o:Company>
  <o:Lines>7</o:Lines>
  <o:Paragraphs>2</o:Paragraphs>
  <o:CharactersWithSpaces>1111</o:CharactersWithSpaces>
  <o:Version>11.5606</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:Zoom>150</w:Zoom>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]--><!--[if !mso]><object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
        <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
        {mso-style-name:"Tabela normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
        <meta http-equiv="Content-Language" content="pt">
        <!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="8194"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]-->
        <div class="Section1">
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Arial; color: gray;">*********************************************************************************************************************************************************************************<b><o:p></o:p></b></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><b><span
                style="font-size: 7pt; font-family: Arial; color: gray;">PREGALE</span></b><span
              style="font-size: 7pt; font-family: Arial; color: gray;">,
              Lda.</span><span style="font-family: Arial;"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Arial; color: gray;">Rua
              Professor Rómulo de
              Carvalho, 5A </span><span style="font-family: Arial;"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Arial; color: gray;">2740-125
              Porto Salvo </span><span style="font-family: Arial;"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Arial; color: gray;">Oeiras
              · Portugal</span><span style="font-family: Arial;"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              class="SpellE"><span style="font-size: 7pt; font-family:
                Arial; color: gray;">tel</span></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;">:
              (+351) 214 210
              565</span><span style="font-family: Arial;"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              class="GramE"><span style="font-size: 7pt; font-family:
                Arial; color: gray;" lang="EN-GB">fax</span></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;"
              lang="EN-GB">: (+351) 214 417 485<o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              class="GramE"><span style="font-size: 7pt; font-family:
                Arial; color: gray;" lang="EN-GB">email</span></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;"
              lang="EN-GB">: </span><span style="font-size: 7pt;
              font-family: Arial; color: gray;"><a
                href="mailto:pregale@pregale.com"><span style="color:
                  gray;" lang="EN-GB">pregale@pregale.com</span></a></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;">
            </span><span style="font-family: Arial;" lang="EN-GB"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Arial;"><a
                href="http://www.pregale.com/"><span style="color:
                  gray;" lang="EN-GB">http://www.pregale.com </span></a></span><span
              style="font-size: 7pt; font-family: Arial;" lang="EN-GB"><o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Tahoma; color: gray;">WGS84
              38º <st1:metricconverter productid="44’" w:st="on">44’</st1:metricconverter>
              15’’,<span class="GramE">90N<span style="">   </span>09º</span>
              <st1:metricconverter productid="18’" w:st="on">18’</st1:metricconverter>
              29’’,70W<o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="font-size: 7pt; font-family: Tahoma;"><o:p> </o:p></span></p>
          <p class="MsoNormal"><span style="font-size: 7pt; font-family:
              Arial; color: gray;">A presente mensagem de correio
              electrónico, bem como
              os respectivos ficheiros anexos, podem conter informação
              restrita ou
              confidencial<o:p></o:p></span></p>
          <p class="MsoNormal"><span class="GramE"><span
                style="font-size: 7pt; font-family: Arial; color: gray;">destinada</span></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;">
              exclusivamente ao respectivo destinatário. Se recebeu esta
              mensagem por engano,
              por favor apague-a e comunique a <o:p></o:p></span></p>
          <p class="MsoNormal"><span class="SpellE"><span class="GramE"><span
                  style="font-size: 7pt; font-family: Arial; color:
                  gray;" lang="EN-GB">ocorrência</span></span></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;"
              lang="EN-GB"> a </span><span style="font-size: 7pt;
              font-family: Arial; color: gray;"><a
                href="mailto:pregale@pregale.com"><span style=""
                  lang="EN-GB">pregale@pregale.com</span></a></span><span
              style="font-size: 7pt; font-family: Arial; color: gray;"
              lang="EN-GB"> <br>
            </span><span style="font-size: 7pt; font-family: Arial;
              color: gray;" lang="EN-US">This e-mail and any files
              attached to it may contain privileged or confidential
              information intended
              solely for the use of its addressee.</span><span
              style="font-size: 7pt; font-family: Arial; color: gray;"
              lang="EN-GB"><o:p></o:p></span></p>
          <p class="MsoNormal"><span style="font-size: 7pt; font-family:
              Arial; color: gray;" lang="EN-GB">If you have
              received this e-mail in error, please delete it and kindly
              notify <a href="mailto:pregale@pregale.com">pregale@pregale.com</a>
              <o:p></o:p></span></p>
          <p class="MsoFooter" style="margin: 0cm 0cm 0.0001pt;"><span
              style="" lang="EN-GB"><o:p> </o:p></span></p>
        </div>
      </o:smarttagtype></div>
  </body>
</html>