IMHO svg, dxf and dgn are pretty much the same. They are all graphics based formats.<br>Of course dxf and dgn also have 3D drawings, but information is stored in style, colour and thickness.<br>This way I think that it&#39;s more representative to have a dxf with the styled data (as svg) than a dxf with just the lines.<br>
Well, playing a little with ogr and dxf I can see that it looks similar to dgn.<br>It may be only an impression, but ogr could be used to represent the information in a graphic way.<br>Not exactly as svg as I supose it uses the format in it&#39;s full implementation to represent some hard graphics. <br>
Do you think it&#39;s possible? Something like a simple exporter to fill the default attributes (Layer, SubClasses, ExtendedEntity, Linetype, EntityHandle, Text)? Wouldn&#39;t it mean more than the regular &quot;You can&#39;t export&quot; message?<br>
Best regards,<br>Mauricio<br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 6:37 PM, Jürgen E. <span dir="ltr">&lt;<a href="mailto:jef@norbit.de">jef@norbit.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Hi Maurício,<br>
<br>
On Tue, 22. Feb 2011 at 17:26:14 -0300, Maurício de Paulo wrote:<br>
</div><div class="im">&gt;    I think the Save Layer As option for dxf and dgn are a little bit<br>
&gt;    confusing for users.<br>
<br>
</div><div class="im">Well, that dialog just lists what OGR offers.  And uses our OGR based vector<br>
file writer to export the data.   As such it mostly format agnostic.<br>
<br>
BTW there&#39;s even online help pointing that out and even pointing to the online<br>
documentation of OGR&#39;s formats.<br>
<br>
</div><div class="im">&gt;    Some users have asked me &quot;Why does it complain that the dxf can&#39;t hold<br>
&gt;    this field that I really need in the exported file?&quot;. I suppose it&#39;s<br>
&gt;    because dxf don&#39;t hold fields at al.<br>
<br>
</div>Right.<br>
<div class="im"><br>
&gt;   They should be translated to text data at most.<br>
<br>
</div><div class="im">DXF and DGN are CAD formats - very different from and much more versatile than<br>
GIS simple features.  I don&#39;t think there can be any one-fits-all way to import<br>
or export GIS simple features from or to DXF/DGN.<br>
<br>
<br>
</div><div class="im">&gt;    As these two filetypes are together with other GIS formats people find it<br>
&gt;    hard to understand the difference.<br>
<br>
</div><div class="im">There are probably a lot of other formats in that list most people know nothing<br>
about - every format of which has it&#39;s own set of restrictions and mapping<br>
problems from the source to the destination format.   So this sounds more like<br>
a documentation or educational problem to me.<br>
<br>
<br>
</div><div class="im">&gt;    Could I sugest to remove them from &quot;Save layer as&quot; and try to write an<br>
&gt;    exporter based on the SVG exporter?<br>
<br>
</div><div class="im">How would SVG relate to DXF/DGN?<br>
<br>
<br>
Jürgen<br>
<br>
--<br>
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20<br>
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50<br>
Software Engineer         D-26506 Norden               <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br>
<br>
--<br>
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>
Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br>
<br>
</div>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mauricio de Paulo<br>Engenheiro Cartografo<br><a href="http://mapeandoobrasil.blogspot.com" target="_blank">MapeandoOBrasil</a><br><br>