Andreas, But QGIS reads DGN files directly, I assume through OGR, and with all geometry types in a single layer. We can then filter each geometry type and save to shapefile. Can't QGIS work the same way with DWG theoretically? If/when OGR provides a dwg driver that is similar to the dgn driver, then I would assume this would work.
Duarte -----Mensagem original----- De: Andreas Neumann [mailto:[email protected]] Enviada: sábado, 4 de Setembro de 2010 22:36 Para: herman palaquium Cc: [email protected] Assunto: Re: [Qgis-user] FILE .dwg and .cad Hi, Currently, the dxf2shp plugin is more or less the only way to import dxf data to QGIS, by converting the dxf to multiple shapefiles. OGR (GDAL) recently included improvements for reading and writing in QGIS, but because QGIS cannot read several geometry types from one single file, it cannot be loaded directly from OGR without additional work in QGIS. DWG is again a different beast. There is the opendwg library (that needs to be licensed), and there are the attempts of other OS projects. However, DWG is a complex format, and it changes with every new Autocad releases. Not fun to write a reader/converter for. It is therefore unlikely that QGIS will soon have DWG support. You should ask the supplier of the file to deliver it in dxf or other more readable formats. Andreas On Fri, September 3, 2010 5:10 pm, herman palaquium wrote: > hi all > > how to import to the data view from file extension dwg and extension cad > > i cannot open that from add vector command or add raster command icon > > lovely QGIS "thetys" > > HERMAN > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > -- Andreas Neumann http://www.carto.net/neumann/ http://www.svgopen.org/ _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
