public class SharpAngleCheck extends BaseCheck<java.lang.Long>
PolyLine. Sharp angles may
indicate inaccurate digitization once this threshold is exceeded. There may be other factors in
play here, such as number of intersections, type of highway, etc. But the main breaking point is
any angles that are less than 83 degrees.PARAMETER_ACCEPT_PIERS, PARAMETER_BLACKLIST_COUNTRIES, PARAMETER_CHALLENGE, PARAMETER_FLAG, PARAMETER_WHITELIST_COUNTRIES, PARAMETER_WHITELIST_TAGS| Constructor and Description |
|---|
SharpAngleCheck(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 supplied object class type is valid for this particular check
|
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 SharpAngleCheck(org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
configuration - the JSON configuration for this checkpublic boolean validCheckForObject(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
Checkobject - The AtlasObject you are checkingprotected 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>