skualos wrote > Is there any way to change GRASS default parameters that come pre-filled > in > the toolboxes ? > > v.in.ogr min area > v.in.ogr min tolerance
Hi Stephane, those values are set in Grass7Algorithm.py that should be in you installation folder depending on you OS. On Windows is \qgis\apps\qgis-ltr\python\plugins\processing\algs\grass7\Grass7Algorithm.py or \qgis\apps\qgis\python\plugins\processing\algs\grass7\Grass7Algorithm.py In the following lines of Grass7Algorithm.py the default value for both the parameters are set: param = QgsProcessingParameterNumber(self.GRASS_SNAP_TOLERANCE_PARAMETER, self.tr('v.in.ogr snap tolerance (-1 = no snap)'), type=QgsProcessingParameterNumber.Double, minValue=-1.0, maxValue=sys.float_info.max + 1, defaultValue=-1.0) param.setFlags(param.flags() | QgsProcessingParameterDefinition.FlagAdvanced) self.params.append(param) param = QgsProcessingParameterNumber(self.GRASS_MIN_AREA_PARAMETER, self.tr('v.in.ogr min area'), type=QgsProcessingParameterNumber.Double, minValue=0.0, maxValue=sys.float_info.max + 1, defaultValue=0.0001) Regards. Andrea Giudiceandrea -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user