Add additional comment to close nodes validation

This commit is contained in:
Quincy Morgan
2019-11-11 15:34:55 +01:00
parent 719ee3ebae
commit c32cca2a71

View File

@@ -56,6 +56,7 @@ export function validationCloseNodes(context) {
(way.isClosed() && way.nodes.length <= 4)) return false;
var featureType = featureTypeForWay(way);
// don't flag boundaries since they might be highly detailed and can't be easily verified
if (featureType === 'boundary') return false;
var bbox = way.extent(graph).bbox();