Skip to content

Commit

Permalink
Merge pull request #802 from conveyal/pickup-delay-patch
Browse files Browse the repository at this point in the history
Fix condition for logging IndexedPolygonCollection attribute type errors
  • Loading branch information
ansoncfit authored Apr 26, 2022
2 parents 43068e1 + ff12cdc commit 5e4566f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void loadFromS3GeoJson() throws Exception {
boolean indexThisFeature = true;
if (id == null) {
allPolygonsHaveIds = false;
} else if (!(name instanceof String)) {
} else if (!(id instanceof String)) {
errors.add(String.format("Value '%s' of attribute '%s' of feature %d should be a string.",
id, idAttribute, featureNumber));
indexThisFeature = false;
Expand Down

0 comments on commit 5e4566f

Please sign in to comment.