Distance between two GPS points
The approximate distance of two GPS points as the crow flies can be easily calculated by the algorithm: PHP implementation function getCoordsDistance( float $lat1, float $lng1, float $lat2, float $lng2 ): float { $r = 6371; $lat1 = ($lat1 / 180) * M_PI; $lat2 = ($lat2 / 180) * M_PI; $lng1 = ($lng1 /…
Číst článekEditorial
Všechny článkyNové články
- PHP function is_array()9. 5. 2026
- How to select technologies? When do we switch to JavaScript?11. 2. 2023
- Inappropriate use of the Garbage Collector11. 2. 2023
- How to deal with sudden PHP script crashes11. 2. 2023
- Urgent repair of overloaded server11. 2. 2023
- Hacker attack on the agency11. 2. 2023
- Technology from Microsoft11. 2. 2023
- Motivation of the junior who brought the idea11. 2. 2023
- Changing the terms and conditions of hosting services11. 2. 2023
