Re: [Geotools-devel] Is there an easy way to choose the transformation used in a coordinate transformation?

2021-06-13 Thread Jody Garnett
The decode and find math transform methods are only utility class to avoid messing around with the factories directly. In this case with specific needs you may wish to mess around with the factories directly and get exactly the math transform you want. You may be able to get exactly what you want

[Geotools-devel] Is there an easy way to choose the transformation used in a coordinate transformation?

2021-06-13 Thread Ian Turton
I'm looking at how to pick out a specific transform for a coordinate reference system (e.g. https://epsg.io/21036) EPSG:21036 has 4 transforms defined in the EPSG database and currently GeoTools picks the Kenyan onshore one (https://epsg.io/21036-1284) presumably because it has the best accuracy.

Re: [Geotools-devel] Interest in null checks?

2021-06-13 Thread Roar Brænden
Hi, My experience with NullPointerExceptions in Geotools suggest that better Javadocs could make a huge difference. The hard part isn't to find why or where you get an NullPointerException. That will be clear from the stack trace. The hard part is often to figure out how to properly set the