![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
earth-radius-at-geodetic-latitude
Advanced tools
Estimate the Earth radius at given latitude
$ npm install --save earth-radius-at-geodetic-latitude
const earthRadiusAtGeodeticLatitude = require('earth-radius-at-geodetic-latitude');
const latitudeNewYork = 40.730610;
earthRadiusAtGeodeticLatitude(latitudeNewYork);
//=> 6377880.978308504
const latitudeNewOrleans = 30.0154753;
earthRadiusAtGeodeticLatitude(latitudeNewOrleans);
//=> 6357371.8965936005
This function is based on the equation discussed on this GIS Stack Exchange thread and this wikipedia entry on Geocentric Earth radius:
The equation:
R = ( (a^2 cos(f))^2 + (b^2 sin(f))^2 ) / ( (a cos(f))^2 + (b sin(f))^2 )
where f
is the latitude and a
and b
are the equatorial radius and the polar radius, respectively.
Takes latitude (number) and returns an estimate of the Earth radius at that given latitude.
The radius is in meters.
FAQs
Estimate the Earth radius at given latitude
The npm package earth-radius-at-geodetic-latitude receives a total of 5 weekly downloads. As such, earth-radius-at-geodetic-latitude popularity was classified as not popular.
We found that earth-radius-at-geodetic-latitude demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.