-
I was adding some dtype checks to some tests that use pyproj and just realized something that should have been obvious a long time ago: does the transformation of an array of coordinates ( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
It depends on the precision you want. For a surveyor it makes no sense to use float32 for instance with UTM. |
Beta Was this translation helpful? Give feedback.
-
It is a double internally, so returning float64 gives you the same information that was calculated by PROJ. Probably opening a can of worms to try to return the same dtype as the precision isn't dependent on the input array dtype. |
Beta Was this translation helpful? Give feedback.
It is a double internally, so returning float64 gives you the same information that was calculated by PROJ.
Probably opening a can of worms to try to return the same dtype as the precision isn't dependent on the input array dtype.