[Qgis-developer] DWG/DXF Import on Linux

Nyall Dawson nyall.dawson at gmail.com
Thu Dec 22 13:47:43 PST 2016


On 23 Dec 2016 01:15, "Régis Haubourg" <regis.haubourg at gmail.com> wrote:

Hi,
Tested here on 2.18.2 and master and it works (ubuntu, compiled from source)
Anyway I found some UX issues:

- Input (dwg) and output (gpkg) should be switched in UI. It is strange -
to me at least - to first find output.


+1
This stood out to me when I was briefly testing this feature.

I think the dialog should also offer the option to create a new gpkg (or
even better would be to change the output selector from an open file
chooser to a save file chooser and mimic the current behaviour of the save
vector dialog, where choosing to save using an existing filename gives
options for overwriting or appending to the existing file).

Nyall






- DWG input is called "Drawing". Could we call it "DWG drawing" ?
- Import step is triggered from inside the ficle dialog chooser, which is
quite uncommon. It lets user think there is some freeze when in fact real
work is being done
- If we continue to play with the import window after having choosen the
dwg file - already converted to gpkg then - it will import an empty group
to the canvas.

My proposal is to do the work only with "reload" and "import" buttons, not
when double clicking on the file when inside the file chooser dialog.

Thanks for that awesome work (and funding)
Régis

2016-12-22 15:46 GMT+01:00 Andreas Neumann <a.neumann at carto.net>:

> Hi Pedro,
>
> What version of GDAL are you using? Geopackage support needs >= 2.0, for
> some geopackage features even higher. Many Linux distros ship with older
> GDAL releases.
>
> Do you have the libdxfrw libray installed?
>
> On Linux your best bet to test the very latest releases of the libs and
> QGIS would be to self-compile all the necessary libraries (GDAL/libdxfrw)
> and QGIS. I did it that way and it works fine.
>
> Andreas
> On 22.12.2016 15:41, Pedro Venâncio wrote:
>
> Hi Jürgen
>
> I'm testing DWG/DXF Import tool, and it works great on Windows!
>
> But it does not work here on Linux. On Linux, when I try to import the
> DWG, it says:
> "Could not open layer list" and then
> "Drawing import failed ()".
>
> Also, when I try to open (on Linux) a geopackagofe created with DWG/DXF
> Import on Windows, it says:
> "Invalid Data Source: /home/pedro/.../xxx.gpkg is not a valid or
> recognized data source".
>
> It's not ready for Linux yet?
>
> Another great work! Thank you very much!
>
> Best regards,
> Pedro Venâncio
>
>
> _______________________________________________
> Qgis-developer mailing listQgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>


_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161223/c0302076/attachment.html>


More information about the Qgis-developer mailing list