From 7e3b7599c79d1134d60e6701af83fbb5e063e0f5 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 18 Apr 2023 21:17:27 -0400 Subject: [PATCH] Fix todos --- spatial-coordinate-systems/src/error.rs | 1 - spatial-coordinate-systems/src/lib.rs | 3 +-- web-frontend/src/lib/Map.svelte | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/spatial-coordinate-systems/src/error.rs b/spatial-coordinate-systems/src/error.rs index 995bff5..2777db4 100644 --- a/spatial-coordinate-systems/src/error.rs +++ b/spatial-coordinate-systems/src/error.rs @@ -16,7 +16,6 @@ pub enum Error { Pluscodes(pluscodes::Error), #[error("WSG84ToLatLon error: {0:?}")] WSG84ToLatLonError(utm::WSG84ToLatLonError), - // TODO: Does this one have to be a string? #[error("Error parsing: {0}")] NomErr(String), #[error("No UTM zone letter")] diff --git a/spatial-coordinate-systems/src/lib.rs b/spatial-coordinate-systems/src/lib.rs index 5ac6280..8f5258b 100644 --- a/spatial-coordinate-systems/src/lib.rs +++ b/spatial-coordinate-systems/src/lib.rs @@ -253,8 +253,7 @@ mod tests { p!("1 2"); p!(r#"0° 0' 0" N 100° 30' 1" W"#); p!(r#"0 0 0 N 100 30 1 W"#); - // TODO: Handle no bearings - // p!(r#"0° 0' 0" 100° 30' 1""#); + p!(r#"0° 0' 0" 100° 30' 1""#); // assert_eq!( // dms::Coordinate::try_from(Coordinate::from_str("0.000000 100.500278").unwrap()), diff --git a/web-frontend/src/lib/Map.svelte b/web-frontend/src/lib/Map.svelte index 6f62600..12adbde 100644 --- a/web-frontend/src/lib/Map.svelte +++ b/web-frontend/src/lib/Map.svelte @@ -114,9 +114,6 @@
-