From a7204b53a9de15e42a4e6b0e3c4befbabed32247 Mon Sep 17 00:00:00 2001 From: sjbalagit Date: Fri, 30 Jan 2026 20:25:43 -0800 Subject: [PATCH 1/2] Add instructions for starting python session and replaced degree symbol with d Updated usage instructions for geospatial-toolkit in README.md. Add instructions for starting python session and replaced degree symbol with d. Addresses Limor and Mara's reviews --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a262b2..1afdfb4 100644 --- a/README.md +++ b/README.md @@ -42,14 +42,19 @@ You can install this package into your preferred Python environment using pip: pip install geospatial_toolkit ``` -To use geospatial-toolkit in your code: +To use geospatial-toolkit in your code, start a Python session: + +``` +python +``` +Then run: ```python import geospatial_toolkit as gst import pandas as pd # Standardize latitude and longitude -gst.standardize_latlong("34°3'8\"N", "118°14'37\"W") +gst.standardize_latlong("34d3'8\"N", "118d14'37\"W") # Calculate Haversine distance between two points point_a = (49.2827, -123.1207) # Vancouver From c9098c6414bba38081e09eca693d1ca037f105e0 Mon Sep 17 00:00:00 2001 From: sjbalagit Date: Fri, 30 Jan 2026 21:26:26 -0800 Subject: [PATCH 2/2] Update README with explanation of d Update README with explanation of d. Added example usage for standardizing latitude and longitude. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1afdfb4..f177248 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ import geospatial_toolkit as gst import pandas as pd # Standardize latitude and longitude +# 'd' stands for degree gst.standardize_latlong("34d3'8\"N", "118d14'37\"W") # Calculate Haversine distance between two points