kopia lustrzana https://github.com/JOSM/MapWithAI
Don't run intensive routing check on upload
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head v1.0.0
rodzic
ddc9c4d98a
commit
b043714ee5
|
@ -100,8 +100,8 @@ public class RoutingIslandsTest extends Test {
|
||||||
errors.add(TestError.builder(this, SEVERITY_MAP.get(LONELY_WAY), LONELY_WAY).primitives(way)
|
errors.add(TestError.builder(this, SEVERITY_MAP.get(LONELY_WAY), LONELY_WAY).primitives(way)
|
||||||
.message(tr("MapWithAI (experimental)"), marktr("Routable way not connected to other ways"))
|
.message(tr("MapWithAI (experimental)"), marktr("Routable way not connected to other ways"))
|
||||||
.build());
|
.build());
|
||||||
} else if ((ValidatorPrefHelper.PREF_OTHER.get() || ValidatorPrefHelper.PREF_OTHER_UPLOAD.get()
|
} else if (((ValidatorPrefHelper.PREF_OTHER.get() || ValidatorPrefHelper.PREF_OTHER_UPLOAD.get()
|
||||||
|| !Severity.OTHER.equals(SEVERITY_MAP.get(ROUTING_ISLAND)))) {
|
|| !Severity.OTHER.equals(SEVERITY_MAP.get(ROUTING_ISLAND)))) && !isBeforeUpload) {
|
||||||
if (way.hasKey(HIGHWAY)) {
|
if (way.hasKey(HIGHWAY)) {
|
||||||
potentialHighways.add(way);
|
potentialHighways.add(way);
|
||||||
} else if (way.hasKey(WATERWAY)) {
|
} else if (way.hasKey(WATERWAY)) {
|
||||||
|
|
Ładowanie…
Reference in New Issue