[PROJ] Determine if same celestial body, prior to 8.1

Lesparre, Jochem Jochem.Lesparre at kadaster.nl
Tue May 25 01:54:02 PDT 2021


True. However, a M10 nut for a car is a bit to generic than an ellipsoid for a celestial body. It would be more appropriate to compare a ellipsoid with a paint colour. You can paint a door of an Volkswagen with a paint from Ford, but that door won’t be matching with any existing car.

Regards, Jochem


From: PROJ <proj-bounces at lists.osgeo.org> On Behalf Of Thomas Knudsen
Sent: dinsdag 25 mei 2021 10:27
To: Nyall Dawson <nyall.dawson at gmail.com>
Cc: PROJ <proj at lists.osgeo.org>
Subject: Re: [PROJ] Determine if same celestial body, prior to 8.1

Not exactly trying to answer your question, but I will point out that the setting is slightly dubious, since you can use any ellipsoid for any celestial body (although with results as deserved :-)). The important thing is the datum/reference frame, not really the ellipsoid: While classical 2D datums are closely tied to an ellipsoid, modern 3D reference frames are based on cartesian coordinates, and the ellipsoid is purely an afterthought, necessary only for conversion to "geo"graphical coordinates.

So while "most useful" for celestial bodies with a physical surface resembling the ellipsoid at hand, in reality you can use any ellipsoid for any body (although your latitudes, longitudes, and ellipsoidal heights may look counterintuitive if using a mal-fitting ellipsoid). So having a "celestialBody" property on an ellipsoid is a bit like attaching a brand name to a generic component (e.g. "a 'Volkswagen' M10 nut")

Thomas


Den tir. 25. maj 2021 kl. 06.14 skrev Nyall Dawson <nyall.dawson at gmail.com<mailto:nyall.dawson at gmail.com>>:
Hi list,

I'm wondering if there's any way in proj versions < 8.1 to determine
(from the C api) whether two ellipsoid objects refer to the same
celestial body?

Ellipsoid::celestialBody() wasn't exposed to C api prior to 8.1, and
that's the method used by proj internally in
createOperationsGeodToGeod to determine whether two ellipsoids belong
to the same body.

Nyall
_______________________________________________
PROJ mailing list
PROJ at lists.osgeo.org<mailto:PROJ at lists.osgeo.org>
https://secure-web.cisco.com/1K06QEa_eSgZ0VE8ZsvFrg7eFnUcPtMxCrAhwE--CCRJ4CvKrlzUdc5nvUdraj88ZFaTNwkh7gOikn7Y3Fk3De5Qz8PpxjF6u6XXQWDFeJQTh0MIr81LneOgzb2xkgsYCJaRjOo-gM3hovmdlS39FQDEjwrhM6xcpHCq1AhHwEzB1n0N-pi3XkoxYfN8RhGiBn0BEv287rtoqmElJsPmaSIK7lkKRECFzq_wojP6-d2GsFUE_9FfUdLXfhN8YyasnkF9OPBx0y7oiQ4WeTPc6wx2X28gtev1QhBlybht2F3M/https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fproj


Disclaimer:
De inhoud van dit bericht is uitsluitend bestemd voor geadresseerde.
Gebruik van de inhoud van dit bericht door anderen zonder toestemming van het Kadaster
is onrechtmatig. Mocht dit bericht ten onrechte bij u terecht komen, dan verzoeken wij u
dit direct te melden aan de verzender en het bericht te vernietigen.
Aan de inhoud van dit bericht kunnen geen rechten worden ontleend.

Disclaimer:
The content of this message is meant to be received by the addressee only.
Use of the content of this message by anyone other than the addressee without the consent
of the Kadaster is unlawful. If you have received this message, but are not the addressee,
please contact the sender immediately and destroy the message.
No rights can be derived from the content of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20210525/2ed718ac/attachment-0001.html>


More information about the PROJ mailing list