On Fri, 18 Jun 2021, 16:50 Andrea Aime,
wrote:
> On Fri, Jun 18, 2021 at 5:44 PM Ian Turton wrote:
>
>> I've got some code to handle the look up, the hard bit is finding
>> somewhere to test it as I need a EPSG authority to test against so I can
>> put the test in gt-referencing but
On Fri, Jun 18, 2021 at 5:44 PM Ian Turton wrote:
> I've got some code to handle the look up, the hard bit is finding
> somewhere to test it as I need a EPSG authority to test against so I can
> put the test in gt-referencing but gt-epsg-hsql has no depedency on gt-main
> where JTS.transform
On Fri, 18 Jun 2021 at 15:53, Andrea Aime
wrote:
> Hi Ian,
> the code can only handle one transformation right now, but I don't think
> it's random, it should
> be picking one with good accuracy and wide area coverage, see the sorting
> here:
>
>
Hi Ian,
the code can only handle one transformation right now, but I don't think
it's random, it should
be picking one with good accuracy and wide area coverage, see the sorting
here:
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
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.