[QGIS-Developer] QgsProcessingParameterFile - Multiple extensions
C Hamilton
adenaculture at gmail.com
Mon Aug 27 13:09:00 PDT 2018
That's too bad. It would be useful. I will need to not use an extension in
this case because it need to import more than one.
Calvin
On Sun, Aug 26, 2018 at 9:41 PM, Nyall Dawson <nyall.dawson at gmail.com>
wrote:
> On Fri, 24 Aug 2018 at 05:42, C Hamilton <adenaculture at gmail.com> wrote:
> >
> > Does QgsProcessingParameterFile support more than one extensioin ie
> *.kml, *.kmz? I've tried various things but none have worked.
>
> That's not currently supported, unfortunately.
>
> Nyall
>
> >
> > self.addParameter(
> > QgsProcessingParameterFile(
> > self.PrmInputLayer,
> > tr('Import KML/KMZ file'),
> > extension='kml')
> > )
> >
> > Thanks,
> >
> > Calvin
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180827/cc3ceafe/attachment.html>
More information about the QGIS-Developer
mailing list