From c5c4ec20a618dde1ad81776e875d32d27d08f1a8 Mon Sep 17 00:00:00 2001 From: Kyler Chin <7539174+kylerchin@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:17:52 -0700 Subject: [PATCH] Ensure feeds have polygons of 4 or more points --- src/maple/refresh_metadata_tables.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maple/refresh_metadata_tables.rs b/src/maple/refresh_metadata_tables.rs index af74095f..8554338d 100644 --- a/src/maple/refresh_metadata_tables.rs +++ b/src/maple/refresh_metadata_tables.rs @@ -104,7 +104,7 @@ pub async fn refresh_metadata_assignments( let hulls_from_static_geo_types: Vec> = hulls_from_static .iter() .filter(|x| x.rings.len() > 0) - .filter(|x| x.rings[0].len() > 0) + .filter(|x| x.rings[0].len() >= 4) .map(|x| { let mut points = vec![]; for point in x.rings[0].iter() {