On Fri, 18 Jun 2021, 16:50 Andrea Aime, <andrea.a...@geo-solutions.it> wrote:
> On Fri, Jun 18, 2021 at 5:44 PM Ian Turton <ijtur...@gmail.com> 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 lives and I can't directly inspect a coordinate >> transform to see what the parameters are! >> > > But you can test that it's transforming well known points with a given > accuracy, shouldn't that be enough? > > If not, can't you cast the transformation to the expect type, take apart > the bits of ConcatenatedTransform (it has public fields!) > until you reach the MolondeskyTransform, gets its parameter group, and > check they are the expected ones? > Just thinking out loud, don't know if it's doable. > Turns out the real problem is that the latest version of the code or the database does not include the transform ID while 22.4 did. Not sure why, will have to continue to search tomorrow. Ian > > Cheers > Andrea > > == GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf > Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa > (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 > http://www.geo-solutions.it http://twitter.com/geosolutions_it > ------------------------------------------------------- *Con riferimento > alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - > Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, gli eventuali > allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i > destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per > errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le > sarei comunque grato se potesse darmene notizia. This email is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European Regulation 2016/679 > “GDPR” - copying, dissemination or use of this e-mail or the information > herein by anyone other than the intended recipient is prohibited. If you > have received this email by mistake, please notify us immediately by > telephone or e-mail.* >
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel