Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I always expect a transform from an arbitrary CRS to WGS84 to succeed?

0
10 Posted

Can I always expect a transform from an arbitrary CRS to WGS84 to succeed?

0
10

For 2D horizontal CRS created from the EPSG database, calls to CRS.findMathTransform(…, true) – where the true argument is for lenient datum shift – should generally succeed. For 3D CRS having any kind of height different than ellipsoid height, or for a 2D CRS of type EngineeringCRS, it may fail. Note however that even if the call to CRS.findMathTransform(…) succeed, the call to MathTransform.transform(…) may fail or produce NaN or infinity values if the coordinate to transform is far from the projection area of validity.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123