Hi Jürgen,
There is several problems with libdxfrw:
1. The library have GPLv2 license which is incompatible with GDAL X/MIT
2. The library support only DWG from r14 to the last 2003 version
3. This is third party dependency for GDAL.
4. There is already the DXF driver in GDAL.
The GPLv2 is ok for QGIS, but it'll be nice to not duplicate efforts.
The GDAL is used widely in many projects and a DWG driver from GDAL will
be available there (including QGIS).
During GSoC we plan to create not 100% featured driver (this is
impossible for such small period), but something close to GDAL DXF driver.
No idea what is best to do now.
Best regards,
Dmitry
16.03.2016 17:07, Jürgen E. Fischer пишет:
Hi Alexander,
On Wed, 16. Mar 2016 at 12:40:39 +0000, Борзых Александр Андреевич wrote:
Overall idea
DWG is very wide-spread format and it seems like there is a lot of requests
for a good conversion tools from DWG to more common spatial data. I think
that current implementations of DWG support are not optimal. For example
libdwg (abandoned), libredwg (GPLv3 incompatible with X/MIT).
There are near 7 versions of DWG format (R13, R14, R2000, R2004, R2007,
R2010, R2013) with differencies in file organisation, so driver should be
able to read from and write to all of them.
There's also libdxfrw that supports these. It's what we will use to do a
DWG/DXF import in QGIS.
Jürgen
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev