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 <[email protected]> wrote: > On Fri, 24 Aug 2018 at 05:42, C Hamilton <[email protected]> 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 > > [email protected] > > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
