Comments (2)
This bug does not seem to have an impact the distance geodesic calculations.
IPython console:
In [1]: >>> from pyproj import Geod
In [2]: >>> g = Geod(ellps='clrk66') # Use Clarke 1966 ellipsoid.
In [3]: g.a
Out[3]: 6378206.4
In [4]: mercury = Geod(a=2439700) # Mercury
In [5]: mercury.a
Out[5]: 2439700
In [6]: g.a
Out[6]: 2439700
In [7]: >>> boston_lat = 42.+(15./60.); boston_lon = -71.-(7./60.)
In [8]: >>> portland_lat = 45.+(31./60.); portland_lon = -123.-(41./60.)
In [9]: >>> az12,az21,dist = g.inv(boston_lon,boston_lat,portland_lon,portland_l
at)
In [10]: dist
Out[10]: 4164192.7080994677
In [11]: >>> az12,az21,dist = mercury.inv(boston_lon,boston_lat,portland_lon,por
tland_lat)
In [12]: dist
Out[12]: 1590283.286640561
In [13]: >>> az12,az21,dist = g.inv(boston_lon,boston_lat,portland_lon,portland_
lat)
In [14]: dist
Out[14]: 4164192.7080994677
The distance calculations look smaller for Mercury, as expected. I am very aware that Boston and Portland aren't on Mercury, but it illustrates the point.
I should have a PR soon that will fix this bug.
from pyproj.
This was patched in PR #65.
from pyproj.
Related Issues (20)
- Help with PROJ 9.3 CRS comparison issue HOT 26
- Request: release a patch version that pins cython<3.0 HOT 24
- error installl pyproj==3.2.1 on debian:12 HOT 3
- UserWarning: Valid PROJ data directory not found HOT 16
- What happened to the `pyproj/aoi.py` module in releases? HOT 1
- Deprecation warning when transforming a single point enclosed in numpy array HOT 1
- LibTiff Vulnerabilities and Dependencies HOT 4
- DOC: Converting from fiona CRS to pyproj.crs.CRS HOT 7
- Add JSON serializeability with PROJJSON? HOT 7
- to_CF for polar_stereographic, with latitude_true_scale, should include latitude_of_projection_origin HOT 2
- Reverse transformation does not produce initial coordinates
- DeprecationWarning: pkg_resources is deprecated as an API. HOT 1
- Support for deprecated and non-deprecated objects HOT 3
- Invert lat lon "Transformer" HOT 1
- Internal Proj Error: proj_create: unrecognized format / unknown name HOT 4
- Inverted x/y for transformation from WSG84 to LV95 (EPSG:2056) HOT 3
- muslinux wheel missing HOT 1
- test_azimuthal_equidistant fails with PROJ 9.4.0 HOT 1
- test failure in test_crs_cf.py HOT 2
- Add proj_query_geodetic_crs_from_datum HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyproj.