On Mon, Oct 29, 2012 at 6:34 PM, Ziegler Stefan <[email protected]> wrote: >> No way to log the calculations, but you can have a look at the calculator >> and get the >> WKT definition of the transformation being used > > Thanks for the hint. I created a custom transformation with the first math > tranformation of the whole transformation process: > > 21781,4326=INVERSE_MT[PARAM_MT["Hotine_Oblique_Mercator", \ > PARAMETER["semi_major", 6377397.155],\ > PARAMETER["semi_minor", 6356078.962818189],\ > PARAMETER["longitude_of_center", 7.439583333333333],\ > PARAMETER["latitude_of_center", 46.952405555555565],\ > PARAMETER["azimuth", 90.0],\ > PARAMETER["scale_factor", 1.0],\ > PARAMETER["false_easting", 600000.0],\ > PARAMETER["false_northing", 200000.0],\ > PARAMETER["rectified_grid_angle", 90.0]]] > > This delivers wrong results. It seems that the hotine oblique mercator has > some problems. Parameters in the transformations seems to be fine. > > Is the reprojection console in the 2.1.x version? So I would try to check > this in the latest 2.1.
Nope, the reprojection console is available only in 2.2.x. The sources for the hotine oblique mercator are here: https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/HotineObliqueMercator.java https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/main/java/org/geotools/referencing/operation/projection/ObliqueMercator.java They have not been changed in quite some time and it has tests to check the transformation works fine here: https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/test/resources/org/geotools/referencing/test-data/scripts/ObliqueMercator.txt Mumble mumble... Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- ------------------------------------------------------------------------------ The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
