[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-developer
Subject:    Re: [Qgis-developer] Autocad DXF and Microstation DGN Save As
From:       Maurício_de_Paulo <mauricio.dev () gmail ! com>
Date:       2011-02-23 0:32:21
Message-ID: AANLkTimngmw62N6nKphisCVcwt3bN8yFW4iMvM-YHzMR () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


IMHO svg, dxf and dgn are pretty much the same. They are all graphics based
formats.
Of course dxf and dgn also have 3D drawings, but information is stored in
style, colour and thickness.
This way I think that it's more representative to have a dxf with the styled
data (as svg) than a dxf with just the lines.
Well, playing a little with ogr and dxf I can see that it looks similar to
dgn.
It may be only an impression, but ogr could be used to represent the
information in a graphic way.
Not exactly as svg as I supose it uses the format in it's full
implementation to represent some hard graphics.
Do you think it's possible? Something like a simple exporter to fill the
default attributes (Layer, SubClasses, ExtendedEntity, Linetype,
EntityHandle, Text)? Wouldn't it mean more than the regular "You can't
export" message?
Best regards,
Mauricio

On Tue, Feb 22, 2011 at 6:37 PM, Jürgen E. <jef@norbit.de> wrote:

> Hi Maurício,
>
> On Tue, 22. Feb 2011 at 17:26:14 -0300, Maurício de Paulo wrote:
> >    I think the Save Layer As option for dxf and dgn are a little bit
> >    confusing for users.
>
> Well, that dialog just lists what OGR offers.  And uses our OGR based
> vector
> file writer to export the data.   As such it mostly format agnostic.
>
> BTW there's even online help pointing that out and even pointing to the
> online
> documentation of OGR's formats.
>
> >    Some users have asked me "Why does it complain that the dxf can't hold
> >    this field that I really need in the exported file?". I suppose it's
> >    because dxf don't hold fields at al.
>
> Right.
>
> >   They should be translated to text data at most.
>
> DXF and DGN are CAD formats - very different from and much more versatile
> than
> GIS simple features.  I don't think there can be any one-fits-all way to
> import
> or export GIS simple features from or to DXF/DGN.
>
>
> >    As these two filetypes are together with other GIS formats people find
> it
> >    hard to understand the difference.
>
> There are probably a lot of other formats in that list most people know
> nothing
> about - every format of which has it's own set of restrictions and mapping
> problems from the source to the destination format.   So this sounds more
> like
> a documentation or educational problem to me.
>
>
> >    Could I sugest to remove them from "Save layer as" and try to write an
> >    exporter based on the SVG exporter?
>
> How would SVG relate to DXF/DGN?
>
>
> Jürgen
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
> Software Engineer         D-26506 Norden
> http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Mauricio de Paulo
Engenheiro Cartografo
MapeandoOBrasil <http://mapeandoobrasil.blogspot.com>

[Attachment #5 (text/html)]

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>



_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic