[Qgis-developer] Autocad DXF and Microstation DGN Save As

Maurício de Paulo mauricio.dev at gmail.com
Tue Feb 22 19:32:21 EST 2011


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 at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Mauricio de Paulo
Engenheiro Cartografo
MapeandoOBrasil <http://mapeandoobrasil.blogspot.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110222/12beaced/attachment-0001.html


More information about the Qgis-developer mailing list