(package private) static boolean |
ConditionFactory.PseudoClasses._new(Environment e) |
;new tests whether the object is new.
|
protected void |
Selector.ChildOrParentSelector.AbstractFinder.addToChildren(Environment e,
IPrimitive p) |
|
(package private) static boolean |
ConditionFactory.PseudoClasses.anticlockwise(Environment e) |
anticlockwise whether the way is closed and oriented anticlockwise,
or non-closed and the 1st, 2nd and last node are in anticlockwise order.
|
static Object |
Functions.any(Environment ignored,
Object... args) |
Returns the first non-null object.
|
boolean |
Condition.applies(Environment e) |
Checks if the condition applies in the given MapCSS Environment .
|
default boolean |
Condition.TagCondition.applies(Environment e) |
|
boolean |
ConditionFactory.ClassCondition.applies(Environment env) |
|
boolean |
ConditionFactory.ExpressionCondition.applies(Environment env) |
|
boolean |
ConditionFactory.IndexCondition.applies(Environment env) |
|
boolean |
ConditionFactory.OpenEndPseudoClassCondition.applies(Environment e) |
|
boolean |
ConditionFactory.PseudoClassCondition.applies(Environment e) |
|
boolean |
ConditionFactory.RoleCondition.applies(Environment env) |
|
static Float |
Functions.areasize(Environment env) |
Returns the area of a closed way or multipolygon in square meters or null .
|
(package private) static boolean |
ConditionFactory.PseudoClasses.areaStyle(Environment e) |
:area-style tests whether the object has an area style.
|
static boolean |
Functions.at(Environment env,
double lat,
double lon) |
Determines if the object centroid lies at given lat/lon coordinates.
|
static LatLon |
Functions.center(Environment env) |
Returns the center of the environment OSM primitive.
|
static String |
Functions.child_tag(Environment env,
String key) |
Gets the value of the key key from the object's child.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.clockwise(Environment e) |
clockwise whether the way is closed and oriented clockwise,
or non-closed and the 1st, 2nd and last node are in clockwise order.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.closed(Environment e) |
closed tests whether the way is closed or the relation is a closed multipolygon
|
(package private) static boolean |
ConditionFactory.PseudoClasses.closed2(Environment e) |
|
(package private) static boolean |
ConditionFactory.PseudoClasses.completely_downloaded(Environment e) |
|
static String |
Functions.concat(Environment ignored,
Object... args) |
Assembles the strings to one.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.connection(Environment e) |
:connection tests whether the object is a connection node.
|
static int |
Functions.count_roles(Environment env,
String... roles) |
Returns the number of primitives in a relation with the specified roles.
|
Object |
Expression.evaluate(Environment env) |
Evaluate this expression.
|
Object |
ExpressionFactory.AndOperator.evaluate(Environment env) |
|
Object |
ExpressionFactory.CondOperator.evaluate(Environment env) |
|
Object |
ExpressionFactory.IsInsideFunction.evaluate(Environment env) |
|
Object |
ExpressionFactory.LengthFunction.evaluate(Environment env) |
|
Object |
ExpressionFactory.MinMaxFunction.evaluate(Environment env) |
|
Object |
ExpressionFactory.NullExpression.evaluate(Environment env) |
|
Object |
ExpressionFactory.OrOperator.evaluate(Environment env) |
|
Object |
LiteralExpression.evaluate(Environment env) |
|
void |
Declaration.execute(Environment env) |
Executes the instructions against the environment env
|
void |
Instruction.AssignmentInstruction.execute(Environment env) |
|
void |
Instruction.execute(Environment env) |
Execute the instruction in the given environment.
|
void |
MapCSSRule.execute(Environment env) |
Executes the instructions against the environment env
|
private Area |
Selector.ChildOrParentSelector.CrossingFinder.getAreaEastNorth(IPrimitive p,
Environment e) |
|
String |
Subpart.ExpressionSubpart.getId(Environment env) |
|
String |
Subpart.getId(Environment env) |
Gets the ID of the subpart
|
String |
Subpart.StringSubpart.getId(Environment env) |
|
static double |
Functions.gpx_distance(Environment env) |
Returns the lowest distance between the OSM object and a GPX point
|
static boolean |
Functions.has_tag_key(Environment env,
String key) |
Determines whether the object has a tag with the given key.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.highlighted(Environment e) |
Check if the object is highlighted (i.e., is hovered over)
|
static Float |
Functions.index(Environment env) |
Returns the index of node in parent way or member in parent relation.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.inDownloadedArea(Environment e) |
in-downloaded-area tests whether the object is within source area ("downloaded area").
|
static boolean |
Functions.inside(Environment env,
String codes) |
Determines if the object is inside territories matching given ISO3166 codes.
|
static boolean |
Functions.is_anticlockwise(Environment env) |
|
static boolean |
Functions.is_clockwise(Environment env) |
|
static Boolean |
Functions.is_prop_set(Environment env,
String key) |
Determines whether property key is set.
|
static Boolean |
Functions.is_prop_set(Environment env,
String key,
String layer) |
Determines whether property key is set on layer layer .
|
static boolean |
Functions.is_right_hand_traffic(Environment env) |
check if there is right-hand traffic at the current location
|
static String |
Functions.join(Environment ignored,
String... args) |
Assembles the strings to one, where the first entry is used as separator.
|
static String |
Functions.JOSM_pref(Environment env,
String key,
String def) |
Obtains the JOSM'key Preferences string for key key ,
and defaults to def if that is null.
|
static Boolean |
Functions.JOSM_search(Environment env,
String searchStr) |
Determines whether the JOSM search with searchStr applies to the object.
|
static List<Object> |
Functions.list(Environment ignored,
Object... args) |
Creates a list of values, e.g., for the dashes property.
|
private static void |
MapCSSStyleSource.loadSettings(MapCSSRule r,
Selector.GeneralSelector gs,
Environment env) |
|
boolean |
MapCSSRule.matches(Environment env) |
Test whether the selector of this rule applies to the primitive.
|
boolean |
Selector.AbstractSelector.matches(Environment env) |
Determines if all conditions match the given environment.
|
boolean |
Selector.ChildOrParentSelector.matches(Environment e) |
|
boolean |
Selector.GeneralSelector.matches(Environment e) |
|
boolean |
Selector.LinkSelector.matches(Environment env) |
|
boolean |
Selector.matches(Environment env) |
Apply the selector to the primitive and check if it matches.
|
boolean |
Selector.GeneralSelector.matchesBase(Environment e) |
|
boolean |
Selector.GeneralSelector.matchesConditions(Environment e) |
|
(package private) static boolean |
ConditionFactory.PseudoClasses.modified(Environment e) |
:modified tests whether the object has been modified.
|
static int |
Functions.number_of_tags(Environment env) |
Get the number of tags for the current primitive.
|
static int |
Functions.osm_changeset_id(Environment env) |
Returns the id of the changeset the current object was last uploaded to.
|
static long |
Functions.osm_id(Environment env) |
Returns the OSM id of the current object.
|
static int |
Functions.osm_timestamp(Environment env) |
Returns the time of last modification to the current object, as timestamp.
|
static long |
Functions.osm_user_id(Environment env) |
Returns the OSM user id who last touched the current object.
|
static String |
Functions.osm_user_name(Environment env) |
Returns the OSM user name who last touched the current object.
|
static int |
Functions.osm_version(Environment env) |
Returns the version number of the current object.
|
static boolean |
Functions.outside(Environment env,
String codes) |
Determines if the object is outside territories matching given ISO3166 codes.
|
static Long |
Functions.parent_osm_id(Environment env) |
Returns the OSM id of the object's parent.
|
static String |
Functions.parent_tag(Environment env,
String key) |
Gets the first non-null value of the key key from the object's parent(s).
|
static List<String> |
Functions.parent_tags(Environment env,
String key) |
Gets a list of all non-null values of the key key from the object's parent(s).
|
static Object |
Functions.prop(Environment env,
String key) |
Returns the value of the property key , e.g., prop("width") .
|
static Object |
Functions.prop(Environment env,
String key,
String layer) |
Returns the value of the property key from layer layer .
|
(package private) static boolean |
ConditionFactory.PseudoClasses.righthandtraffic(Environment e) |
righthandtraffic checks if there is right-hand traffic at the current location.
|
static String |
Functions.role(Environment env) |
Returns the role of current object in parent relation, or role of child if current object is a relation.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.sameTags(Environment e) |
:same-tags tests whether the object has the same tags as its child/parent.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.selected(Environment e) |
|
static Object |
Functions.setting(Environment env,
String key) |
Get value of a setting.
|
static List<String> |
Functions.sort(Environment ignored,
String... sortables) |
Sort an array of strings
|
static String |
Functions.tag(Environment env,
String key) |
Gets the value of the key key from the object in question.
|
static List<String> |
Functions.tag_regex(Environment env,
String keyRegex) |
Get keys that follow a regex
|
static List<String> |
Functions.tag_regex(Environment env,
String keyRegex,
String flags) |
Get keys that follow a regex
|
(package private) static boolean |
ConditionFactory.PseudoClasses.tagged(Environment e) |
:tagged tests whether the object is tagged.
|
static String |
Functions.tr(Environment ignored,
String... args) |
Translates some text for the current locale.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.unclosed_multipolygon(Environment e) |
unclosed-multipolygon tests whether the object is an unclosed multipolygon.
|
(package private) static boolean |
ConditionFactory.PseudoClasses.unconnected(Environment e) |
unconnected : tests whether the object is a unconnected node.
|
static List<String> |
Functions.uniq(Environment ignored,
String... values) |
Get unique values
|
private void |
Selector.ChildOrParentSelector.visitBBox(Environment e,
Selector.ChildOrParentSelector.AbstractFinder finder) |
|
static Float |
Functions.waylength(Environment env) |
Returns the length of the way in metres or null .
|