Enums

class maproulette.models.enums.Conditions

An enumeration of valid logical conditions for a priority rule object

class maproulette.models.enums.Types

An enumeration of valid types for a priority rule object

DOUBLE = 'double'
INTEGER = 'integer'
LONG = 'long'
STRING = 'string'
class maproulette.models.enums.StringOperators

An enumeration of valid string operators for a priority rule object

CONTAINS = 'contains'
EQUAL = 'equal'
IS_EMPTY = 'is_empty'
IS_NOT_EMPTY = 'is_not_empty'
NOT_CONTAINS = 'not_contains'
NOT_EQUAL = 'not_equal'
class maproulette.models.enums.NumericOperators

An enumeration of valid numeric operators for a priority rule object

EQUAL_TO = '=='
GREATER_THAN = '>'
GREATER_THAN_OR_EQUAL = '>='
LESS_THAN = '<'
LESS_THAN_OR_EQUAL = '<='
NOT_EQUAL_TO = '!='
class maproulette.models.enums.OSMObjects

An enumeration of valid OSM object types

NODE = 'node'
RELATION = 'relation'
WAY = 'way'
class maproulette.models.enums.OperationTypes

An enumeration of valid operation types

CREATE_ELEMENT = 'createElement'
DELETE_ELEMENT = 'deleteElement'
MODIFY_ELEMENT = 'modifyElement'
class maproulette.models.enums.Operations

An enumeration of valid operations

SET_TAGS = 'setTags'
UNSET_TAGS = 'unsetTags'
class maproulette.models.enums.CooperativeWorkTypes

An enumeration of valid cooperative work types

TYPE_ONE = 1
TYPE_TWO = 2