public class SelfIntersectingPolylineCheck extends BaseCheck<java.lang.Long>
BaseCheck that identifies self-intersecting PolyLines within Areas,
Edges and Lines. Both shape point and non-shape point intersections are flagged.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
THREE |
PARAMETER_ACCEPT_PIERS, PARAMETER_BLACKLIST_COUNTRIES, PARAMETER_CHALLENGE, PARAMETER_FLAG, PARAMETER_WHITELIST_COUNTRIES, PARAMETER_WHITELIST_TAGS| Constructor and Description |
|---|
SelfIntersectingPolylineCheck(org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<CheckFlag> |
flag(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object) |
protected java.util.List<java.lang.String> |
getFallbackInstructions()
Method to implement for inheriting checks to return the default set of instruction formats
that will be the last resort in
BaseCheck.getLocalizedInstruction(int, Object[]) |
boolean |
validCheckForObject(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
Checks to see whether the atlas object has the prerequisites to be evaluated.
|
acceptPier, check, checkObjectFilter, clear, clearFlaggedIdentifiers, configurationKey, configurationKey, configurationValue, configurationValue, createFlag, createFlag, createFlag, createFlag, flags, getBlacklistCountries, getChallenge, getCheckName, getCountries, getFlaggedIdentifiers, getLocale, getLocalizedInstruction, getTaskIdentifier, getTaskIdentifier, getUniqueObjectIdentifier, getUniqueOSMIdentifier, isFlagged, logStatus, markAsFlagged, validCheckForCountrypublic SelfIntersectingPolylineCheck(org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
configuration - the JSON configuration for this checkpublic boolean validCheckForObject(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
BaseCheck.isFlagged(Object) that looks through a list of elements that have
been flagged by the check algorithm, and if the check has already looked at a specific
feature it can skip it here. This is useful if you are walking the graph in your check
algorithm and then can flag each feature that you visit while walking the graph.object - the AtlasObject you are checkingtrue if object should be checkedprotected java.util.Optional<CheckFlag> flag(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
protected java.util.List<java.lang.String> getFallbackInstructions()
BaseCheckBaseCheck.getLocalizedInstruction(int, Object[])getFallbackInstructions in class BaseCheck<java.lang.Long>