Last active
March 5, 2025 01:07
-
-
Save bonniss/99795e3d3853b77e51a65c1cc90a1606 to your computer and use it in GitHub Desktop.
Revisions
-
bonniss revised this gist
Feb 24, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -61,7 +61,7 @@ There are some **edge cases** where recognizing latitude and longitude can be tr - Standard format: **(longitude, latitude)** - But **some GIS systems** (e.g., GeoJSON) use **(latitude, longitude)** instead. Always check the format! #### Places with coordinates roughly close to each other Yes! There are places where **latitude and longitude have roughly the same absolute value** (i.e., |latitude| ≈ |longitude|). Here are some interesting examples: -
bonniss revised this gist
Feb 24, 2025 . 1 changed file with 25 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ So, the same tips **work anywhere**—you just need to check whether the numbers ### **Edge cases** There are some **edge cases** where recognizing latitude and longitude can be tricky. Here are a few: #### **1. Equator (0° Latitude) & Prime Meridian (0° Longitude)** - If **latitude = 0**, you're exactly on the **Equator** (e.g., **Quito, Ecuador**). @@ -61,4 +61,28 @@ There are some **edge cases** where recognizing latitude and longitude can be tr - Standard format: **(longitude, latitude)** - But **some GIS systems** (e.g., GeoJSON) use **(latitude, longitude)** instead. Always check the format! #### Places with coordinates roughly the same Yes! There are places where **latitude and longitude have roughly the same absolute value** (i.e., |latitude| ≈ |longitude|). Here are some interesting examples: ##### **1. Near the Gulf of Guinea (~0°N, ~0°E)** - Example: **Near Accra, Ghana** - **Coordinates:** ~5°N, -0.2°W - This is close to where the **Equator** (0° latitude) and **Prime Meridian** (0° longitude) meet! 🌍 ##### **2. Northern Hemisphere Examples** - **Bamako, Mali** → **12.65°N, -8.00°W** - **Mexico City, Mexico** → **19.43°N, -99.13°W** (Close, but longitude is much larger) - **Guangzhou, China** → **23.13°N, 113.27°E** (Again, somewhat close) ##### **3. Southern Hemisphere Examples** - **Luanda, Angola** → **8.83°S, 13.23°E** - **Brasília, Brazil** → **15.79°S, -47.88°W** ##### **4. The Best Match (~45° Latitude, ~45° Longitude)** - **Somewhere in Kazakhstan** → **45°N, 45°E** - **Somewhere in Argentina** → **-45°S, -45°W** These locations aren’t *exactly* equal, but they are quite close! The best matches are around **45° latitude and 45° longitude** due to how Earth is divided. 🌎✨ These edge cases don’t break the rules—they just require extra attention! 🚀 -
bonniss revised this gist
Feb 24, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ So, the same tips **work anywhere**—you just need to check whether the numbers ### **Edge cases** There are some **edge cases** where recognizing latitude and longitude can be tricky. Here are a few: #### **1. Equator (0° Latitude) & Prime Meridian (0° Longitude)** - If **latitude = 0**, you're exactly on the **Equator** (e.g., **Quito, Ecuador**). -
bonniss revised this gist
Feb 24, 2025 . 1 changed file with 31 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,3 +31,34 @@ Tips apply **globally** with a few adjustments depending on the **hemisphere**. - If you see **negative numbers**, use the hemisphere rules above So, the same tips **work anywhere**—you just need to check whether the numbers are positive or negative! 🌍🚀 ### **Edge cases** Great question! There are some **edge cases** where recognizing latitude and longitude can be tricky. Here are a few: #### **1. Equator (0° Latitude) & Prime Meridian (0° Longitude)** - If **latitude = 0**, you're exactly on the **Equator** (e.g., **Quito, Ecuador**). - If **longitude = 0**, you're on the **Prime Meridian** (e.g., **Greenwich, UK**). - If **both = 0**, you’re in the Atlantic Ocean near the Gulf of Guinea! 🌊 #### **2. Poles (90°N & 90°S)** - At the **North Pole** (`90°N, any longitude`), longitude is meaningless since **all longitudes converge to a point**. - Same for the **South Pole** (`90°S, any longitude`). #### **3. International Date Line (~180° Longitude)** - The **International Date Line (IDL)** is near **±180° longitude**, mostly in the Pacific Ocean. - Crossing it changes the **date by one day**, but in GPS coordinates, it's just **±180° longitude**. #### **4. Longitude Wraparound** - Technically, longitude runs **from -180° to 180°**. - But `-180°` and `180°` refer to the **same place** (IDL). #### **5. Small Countries with Large Longitude Differences** - Countries like **Russia (19°E - 169°W)** and **USA (67°W - 179°W, including Alaska)** span **both hemispheres**. - This means they have **both positive and negative longitudes**. #### **6. Some Mapping Systems Swap Lat/Long Order** - Standard format: **(longitude, latitude)** - But **some GIS systems** (e.g., GeoJSON) use **(latitude, longitude)** instead. Always check the format! These edge cases don’t break the rules—they just require extra attention! 🚀 -
bonniss created this gist
Feb 24, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ # Geo Location 101 Tips apply **globally** with a few adjustments depending on the **hemisphere**. Here's how you can recognize latitude and longitude anywhere: ## `Latitude` and `Longitude` ### **1. Latitude (Vĩ độ) — Measures North-South** - **Ranges:** `-90° to 90°` - **Northern Hemisphere (N):** Positive (`0° to 90°`) → e.g., **Vietnam, USA, Europe** - **Southern Hemisphere (S):** Negative (`0° to -90°`) → e.g., **Australia, Argentina** - **General rule:** The number usually falls between `-90 to 90`, and in most cases, it's the **smaller** absolute value in your coordinates. ### **2. Longitude (Kinh độ) — Measures East-West** - **Ranges:** `-180° to 180°` - **Eastern Hemisphere (E):** Positive (`0° to 180°`) → e.g., **Vietnam, China, India** - **Western Hemisphere (W):** Negative (`0° to -180°`) → e.g., **USA, Canada, Brazil** - **General rule:** If you're in Asia, Africa, or Australia, your longitude is positive. If you're in the Americas, it's negative. ### **Applying the Rules Globally** | **Region** | **Latitude (N/S)** | **Longitude (E/W)** | |-----------------|--------------------|--------------------| | **Vietnam** | `8°N to 23°N` | `100°E to 110°E` | | **USA** | `24°N to 49°N` | `-67°W to -125°W` | | **Europe** | `35°N to 71°N` | `-10°W to 60°E` | | **Australia** | `-10°S to -43°S` | `113°E to 153°E` | | **South America** | `-55°S to 12°N` | `-35°W to -81°W` | ### **Quick Recognition Guide** - **Latitude is smaller** (absolute value ≤90), indicates **North/South** - **Longitude is larger** (absolute value ≤180), indicates **East/West** - If you see **negative numbers**, use the hemisphere rules above So, the same tips **work anywhere**—you just need to check whether the numbers are positive or negative! 🌍🚀