Skip to content
Permalink
Browse files

Improve wording of spatial location alg parameters

  • Loading branch information
nyalldawson committed Sep 12, 2017
1 parent 95ab232 commit 1983d8f522e4a2cd03ebfd66070869c3c6ffa1c0
Showing with 9 additions and 9 deletions.
  1. +9 −9 src/core/processing/qgsnativealgorithms.cpp
@@ -1527,7 +1527,7 @@ void QgsLocationBasedAlgorithm::process( QgsFeatureSource *targetSource,
void QgsLocationBasedAlgorithm::addPredicateParameter()
{
std::unique_ptr< QgsProcessingParameterEnum > predicateParam( new QgsProcessingParameterEnum( QStringLiteral( "PREDICATE" ),
QObject::tr( "Where the features are (geometric predicate)" ),
QObject::tr( "Where the features (geometric predicate)" ),
predicateOptionsList(), true, QVariant::fromValue( QList< int >() << 0 ) ) );

QVariantMap predicateMetadata;
@@ -1568,14 +1568,14 @@ QgsLocationBasedAlgorithm::Predicate QgsLocationBasedAlgorithm::reversePredicate

QStringList QgsLocationBasedAlgorithm::predicateOptionsList() const
{
return QStringList() << QObject::tr( "intersects" )
<< QObject::tr( "contains" )
<< QObject::tr( "is disjoint" )
<< QObject::tr( "equals" )
<< QObject::tr( "touches" )
<< QObject::tr( "overlaps" )
<< QObject::tr( "within" )
<< QObject::tr( "crosses" );
return QStringList() << QObject::tr( "intersect" )
<< QObject::tr( "contain" )
<< QObject::tr( "disjoint" )
<< QObject::tr( "equal" )
<< QObject::tr( "touch" )
<< QObject::tr( "overlap" )
<< QObject::tr( "are within" )
<< QObject::tr( "cross" );
}


0 comments on commit 1983d8f

Please sign in to comment.
You can’t perform that action at this time.