diff --git a/lib/object.js b/lib/object.js index f40a2ab..ae5f766 100644 --- a/lib/object.js +++ b/lib/object.js @@ -202,6 +202,7 @@ function hint(gj, options) { message: 'the first and last positions in a LinearRing of coordinates must be the same', line: line }); + return true; } } else if (type === 'Line' && coords.length < 2) { return errors.push({ @@ -216,8 +217,11 @@ function hint(gj, options) { line: line }); } else { - coords.forEach(function(c) { - positionArray(c, type, depth - 1, c.__line__ || line); + var results = coords.map(function(c) { + return positionArray(c, type, depth - 1, c.__line__ || line); + }); + return results.some(function(r) { + return r; }); } } diff --git a/lib/rhr.js b/lib/rhr.js index 45d4c18..5ddab48 100644 --- a/lib/rhr.js +++ b/lib/rhr.js @@ -18,10 +18,10 @@ function isRingClockwise (coords) { function isPolyRHR (coords) { if (coords && coords.length > 0) { - if (!isRingClockwise(coords[0])) + if (isRingClockwise(coords[0])) return false; var interiorCoords = coords.slice(1, coords.length); - if (interiorCoords.some(isRingClockwise)) + if (!interiorCoords.every(isRingClockwise)) return false; } return true; diff --git a/test/data/bad/bad-polygon-interiorring-rhr.cli-output-json b/test/data/bad/bad-polygon-interiorring-rhr.cli-output-json new file mode 100644 index 0000000..916b415 --- /dev/null +++ b/test/data/bad/bad-polygon-interiorring-rhr.cli-output-json @@ -0,0 +1,7 @@ +[ + { + "message": "Polygons and MultiPolygons should follow the right-hand rule", + "level": "message", + "line": 1 + } +] diff --git a/test/data/bad/bad-polygon-interiorring-rhr.cli-output-pretty b/test/data/bad/bad-polygon-interiorring-rhr.cli-output-pretty new file mode 100644 index 0000000..07b50b3 --- /dev/null +++ b/test/data/bad/bad-polygon-interiorring-rhr.cli-output-pretty @@ -0,0 +1,3 @@ + 1:1 warning Polygons and MultiPolygons should follow the right-hand rule + +⚠ 1 warning diff --git a/test/data/bad/bad-polygon-interiorring-rhr.geojson b/test/data/bad/bad-polygon-interiorring-rhr.geojson new file mode 100644 index 0000000..1d67fb9 --- /dev/null +++ b/test/data/bad/bad-polygon-interiorring-rhr.geojson @@ -0,0 +1,6 @@ +{ "type": "Polygon", + "coordinates": [ + [[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], + [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]] + ] + } diff --git a/test/data/bad/bad-polygon-interiorring-rhr.result b/test/data/bad/bad-polygon-interiorring-rhr.result new file mode 100644 index 0000000..916b415 --- /dev/null +++ b/test/data/bad/bad-polygon-interiorring-rhr.result @@ -0,0 +1,7 @@ +[ + { + "message": "Polygons and MultiPolygons should follow the right-hand rule", + "level": "message", + "line": 1 + } +] diff --git a/test/data/bad/bad-polygon-interiorring-rhr.result-object b/test/data/bad/bad-polygon-interiorring-rhr.result-object new file mode 100644 index 0000000..41bd4c9 --- /dev/null +++ b/test/data/bad/bad-polygon-interiorring-rhr.result-object @@ -0,0 +1,6 @@ +[ + { + "message": "Polygons and MultiPolygons should follow the right-hand rule", + "level": "message" + } +] diff --git a/test/data/bad/bad-polygonloop.cli-output-json b/test/data/bad/bad-polygonloop.cli-output-json index 4bebc97..1794b02 100644 --- a/test/data/bad/bad-polygonloop.cli-output-json +++ b/test/data/bad/bad-polygonloop.cli-output-json @@ -1442,10 +1442,5 @@ { "message": "a number was found where a coordinate array should have been found: this needs to be nested more deeply", "line": 1445 - }, - { - "message": "Polygons and MultiPolygons should follow the right-hand rule", - "level": "message", - "line": 2 } ] diff --git a/test/data/bad/bad-polygonloop.cli-output-pretty b/test/data/bad/bad-polygonloop.cli-output-pretty index 83d121c..a625876 100644 --- a/test/data/bad/bad-polygonloop.cli-output-pretty +++ b/test/data/bad/bad-polygonloop.cli-output-pretty @@ -1,364 +1,363 @@ - 2:1 warning Polygons and MultiPolygons should follow the right-hand rule - 5:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 9:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 13:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 17:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 21:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 25:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 29:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 33:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 37:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 41:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 45:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 49:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 53:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 57:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 61:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 65:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 69:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 73:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 77:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 81:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 85:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 89:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 93:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 97:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 101:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 105:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 109:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 113:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 117:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 121:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 125:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 129:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 133:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 137:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 141:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 145:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 149:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 153:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 157:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 161:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 165:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 169:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 173:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 177:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 181:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 185:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 189:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 193:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 197:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 201:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 205:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 209:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 213:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 217:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 221:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 225:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 229:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 233:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 237:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 241:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 245:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 249:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 253:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 257:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 261:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 265:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 269:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 273:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 277:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 281:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 285:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 289:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 293:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 297:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 301:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 305:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 309:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 313:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 317:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 321:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 325:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 329:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 333:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 337:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 341:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 345:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 349:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 353:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 357:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 361:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 365:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 369:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 373:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 377:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 381:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 385:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 389:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 393:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 397:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 401:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 405:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 409:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 413:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 417:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 421:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 425:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 429:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 433:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 437:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 441:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 445:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 449:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 453:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 457:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 461:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 465:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 469:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 473:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 477:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 481:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 485:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 489:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 493:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 497:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 501:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 505:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 509:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 513:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 517:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 521:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 525:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 529:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 533:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 537:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 541:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 545:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 549:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 553:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 557:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 561:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 565:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 569:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 573:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 577:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 581:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 585:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 589:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 593:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 597:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 601:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 605:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 609:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 613:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 617:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 621:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 625:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 629:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 633:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 637:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 641:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 645:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 649:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 653:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 657:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 661:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 665:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 669:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 673:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 677:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 681:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 685:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 689:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 693:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 697:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 701:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 705:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 709:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 713:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 717:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 721:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 725:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 729:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 733:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 737:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 741:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 745:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 749:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 753:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 757:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 761:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 765:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 769:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 773:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 777:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 781:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 785:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 789:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 793:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 797:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 801:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 805:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 809:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 813:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 817:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 821:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 825:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 829:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 833:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 837:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 841:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 845:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 849:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 853:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 857:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 861:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 865:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 869:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 873:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 877:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 881:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 885:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 889:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 893:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 897:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 901:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 905:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 909:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 913:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 917:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 921:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 925:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 929:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 933:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 937:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 941:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 945:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 949:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 953:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 957:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 961:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 965:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 969:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 973:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 977:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 981:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 985:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 989:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 993:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 997:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1001:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1005:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1009:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1013:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1017:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1021:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1025:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1029:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1033:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1037:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1041:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1045:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1049:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1053:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1057:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1061:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1065:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1069:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1073:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1077:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1081:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1085:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1089:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1093:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1097:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1101:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1105:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1109:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1113:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1117:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1121:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1125:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1129:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1133:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1137:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1141:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1145:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1149:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1153:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1157:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1161:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1165:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1169:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1173:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1177:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1181:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1185:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1189:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1193:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1197:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1201:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1205:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1209:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1213:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1217:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1221:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1225:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1229:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1233:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1237:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1241:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1245:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1249:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1253:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1257:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1261:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1265:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1269:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1273:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1277:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1281:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1285:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1289:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1293:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1297:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1301:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1305:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1309:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1313:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1317:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1321:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1325:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1329:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1333:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1337:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1341:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1345:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1349:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1353:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1357:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1361:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1365:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1369:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1373:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1377:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1381:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1385:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1389:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1393:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1397:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1401:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1405:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1409:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1413:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1417:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1421:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1425:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1429:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1433:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1437:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1441:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply - 1445:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 5:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 9:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 13:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 17:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 21:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 25:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 29:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 33:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 37:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 41:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 45:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 49:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 53:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 57:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 61:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 65:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 69:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 73:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 77:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 81:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 85:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 89:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 93:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 97:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 101:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 105:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 109:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 113:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 117:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 121:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 125:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 129:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 133:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 137:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 141:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 145:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 149:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 153:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 157:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 161:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 165:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 169:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 173:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 177:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 181:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 185:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 189:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 193:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 197:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 201:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 205:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 209:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 213:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 217:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 221:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 225:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 229:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 233:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 237:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 241:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 245:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 249:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 253:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 257:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 261:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 265:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 269:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 273:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 277:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 281:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 285:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 289:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 293:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 297:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 301:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 305:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 309:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 313:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 317:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 321:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 325:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 329:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 333:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 337:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 341:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 345:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 349:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 353:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 357:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 361:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 365:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 369:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 373:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 377:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 381:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 385:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 389:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 393:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 397:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 401:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 405:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 409:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 413:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 417:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 421:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 425:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 429:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 433:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 437:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 441:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 445:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 449:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 453:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 457:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 461:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 465:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 469:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 473:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 477:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 481:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 485:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 489:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 493:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 497:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 501:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 505:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 509:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 513:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 517:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 521:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 525:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 529:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 533:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 537:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 541:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 545:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 549:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 553:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 557:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 561:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 565:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 569:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 573:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 577:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 581:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 585:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 589:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 593:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 597:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 601:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 605:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 609:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 613:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 617:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 621:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 625:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 629:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 633:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 637:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 641:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 645:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 649:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 653:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 657:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 661:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 665:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 669:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 673:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 677:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 681:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 685:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 689:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 693:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 697:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 701:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 705:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 709:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 713:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 717:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 721:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 725:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 729:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 733:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 737:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 741:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 745:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 749:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 753:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 757:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 761:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 765:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 769:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 773:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 777:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 781:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 785:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 789:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 793:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 797:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 801:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 805:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 809:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 813:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 817:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 821:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 825:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 829:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 833:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 837:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 841:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 845:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 849:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 853:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 857:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 861:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 865:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 869:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 873:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 877:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 881:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 885:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 889:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 893:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 897:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 901:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 905:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 909:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 913:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 917:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 921:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 925:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 929:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 933:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 937:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 941:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 945:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 949:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 953:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 957:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 961:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 965:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 969:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 973:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 977:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 981:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 985:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 989:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 993:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 997:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1001:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1005:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1009:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1013:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1017:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1021:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1025:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1029:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1033:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1037:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1041:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1045:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1049:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1053:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1057:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1061:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1065:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1069:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1073:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1077:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1081:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1085:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1089:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1093:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1097:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1101:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1105:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1109:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1113:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1117:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1121:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1125:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1129:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1133:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1137:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1141:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1145:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1149:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1153:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1157:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1161:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1165:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1169:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1173:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1177:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1181:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1185:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1189:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1193:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1197:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1201:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1205:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1209:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1213:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1217:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1221:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1225:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1229:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1233:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1237:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1241:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1245:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1249:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1253:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1257:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1261:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1265:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1269:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1273:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1277:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1281:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1285:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1289:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1293:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1297:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1301:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1305:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1309:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1313:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1317:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1321:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1325:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1329:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1333:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1337:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1341:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1345:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1349:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1353:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1357:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1361:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1365:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1369:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1373:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1377:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1381:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1385:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1389:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1393:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1397:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1401:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1405:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1409:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1413:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1417:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1421:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1425:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1429:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1433:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1437:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1441:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply + 1445:1 error a number was found where a coordinate array should have been found: this needs to be nested more deeply -362 messages (✖ 361 errors, ⚠ 1 warning) +✖ 361 errors diff --git a/test/data/bad/bad-polygonloop.result b/test/data/bad/bad-polygonloop.result index d884c08..1794b02 100644 --- a/test/data/bad/bad-polygonloop.result +++ b/test/data/bad/bad-polygonloop.result @@ -1442,10 +1442,5 @@ { "message": "a number was found where a coordinate array should have been found: this needs to be nested more deeply", "line": 1445 - }, - { - "message": "Polygons and MultiPolygons should follow the right-hand rule", - "level": "message", - "line": 2 } -] \ No newline at end of file +] diff --git a/test/data/bad/bad-polygonloop.result-object b/test/data/bad/bad-polygonloop.result-object index 86b4d77..6ced95d 100644 --- a/test/data/bad/bad-polygonloop.result-object +++ b/test/data/bad/bad-polygonloop.result-object @@ -1081,9 +1081,5 @@ }, { "message": "a number was found where a coordinate array should have been found: this needs to be nested more deeply" - }, - { - "message": "Polygons and MultiPolygons should follow the right-hand rule", - "level": "message" } -] \ No newline at end of file +] diff --git a/test/data/bad/different-first-last.geojson b/test/data/bad/different-first-last.geojson index afc6e81..a04a2a8 100644 --- a/test/data/bad/different-first-last.geojson +++ b/test/data/bad/different-first-last.geojson @@ -1,5 +1,5 @@ { "type": "Polygon", "coordinates": [ - [ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0] ] + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0] ] ] } diff --git a/test/data/bad/different-first-size.geojson b/test/data/bad/different-first-size.geojson index 5e8e145..ac0f2c5 100644 --- a/test/data/bad/different-first-size.geojson +++ b/test/data/bad/different-first-size.geojson @@ -1,7 +1,7 @@ { "type": "MultiPolygon", "coordinates": [ - [[[102.0, 2.0], [102.0, 3.0], [103.0, 3.0], [103.0, 2.0], [102.0, 2.0]]], + [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], [[[100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0, 4.9]], - [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]] + [[100.2, 0.2], [100.2, 0.8], [100.8, 0.8], [100.8, 0.2], [100.2, 0.2]]] ] } diff --git a/test/data/bad/featurecollection_changed_semantics.geojson b/test/data/bad/featurecollection_changed_semantics.geojson index 3ac93a3..f949a05 100644 --- a/test/data/bad/featurecollection_changed_semantics.geojson +++ b/test/data/bad/featurecollection_changed_semantics.geojson @@ -22,7 +22,7 @@ "geometry": { "type": "Polygon", "coordinates": [ - [ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0] ] + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ] ] }, "properties": { diff --git a/test/data/bad/polygon_winding_order.geojson b/test/data/bad/polygon_winding_order.geojson index dc238af..6862725 100644 --- a/test/data/bad/polygon_winding_order.geojson +++ b/test/data/bad/polygon_winding_order.geojson @@ -1,3 +1,3 @@ { "type":"Polygon", - "coordinates":[[[100,0],[101,0],[101,1],[100,1],[100,0]]] + "coordinates":[[[100,0],[100,1],[101,1],[101,0],[100,0]]] } diff --git a/test/data/good/good-featurecollection-extensions.geojson b/test/data/good/good-featurecollection-extensions.geojson index d29b620..a44a52a 100644 --- a/test/data/good/good-featurecollection-extensions.geojson +++ b/test/data/good/good-featurecollection-extensions.geojson @@ -27,8 +27,8 @@ "type": "Polygon", "custom": true, "coordinates": [ - [ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], - [101.0, 0.0], [100.0, 0.0] ] + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], + [100.0, 1.0], [100.0, 0.0] ] ] }, "properties": { diff --git a/test/data/good/good-featurecollection.geojson b/test/data/good/good-featurecollection.geojson index fc19eaa..48d407d 100644 --- a/test/data/good/good-featurecollection.geojson +++ b/test/data/good/good-featurecollection.geojson @@ -20,7 +20,7 @@ "geometry": { "type": "Polygon", "coordinates": [ - [ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0] ] + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ] ] }, "properties": { diff --git a/test/data/good/good-polygon.geojson b/test/data/good/good-polygon.geojson index fdb30ec..a52dd42 100644 --- a/test/data/good/good-polygon.geojson +++ b/test/data/good/good-polygon.geojson @@ -1,5 +1,5 @@ { "type": "Polygon", "coordinates": [ - [ [100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0] ] + [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ] ] } diff --git a/test/data/good/multipolygon.geojson b/test/data/good/multipolygon.geojson index 5406589..b28bc48 100644 --- a/test/data/good/multipolygon.geojson +++ b/test/data/good/multipolygon.geojson @@ -1,7 +1,7 @@ { "type": "MultiPolygon", "coordinates": [ - [[[102.0, 2.0], [102.0, 3.0], [103.0, 3.0], [103.0, 2.0], [102.0, 2.0]]], - [[[100.0, 0.0], [100.0, 1.0], [101.0, 1.0], [101.0, 0.0], [100.0, 0.0]], - [[100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2]]] + [[[102.0, 2.0], [103.0, 2.0], [103.0, 3.0], [102.0, 3.0], [102.0, 2.0]]], + [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]], + [[100.2, 0.2], [100.2, 0.8], [100.8, 0.8], [100.8, 0.2], [100.2, 0.2]]] ] }