Hi Martin,
I can confirm that the new specification of the projection works finie. 
Could you submit a fix to the GT snapshot, or how should we proceed? I 
have never done that... WOuld be interested to find out how to proceed.
Thanks again,
Martin

Martin Desruisseaux wrote:
> Hello Martin Tomko
>
> I finally had a chance to look at your issue. The issue is that the projection
> you are using should be "Oblique_Mercator", not "Hotine_Oblique_Mercator" 
> (this
> is not the same). Actually the projection name are somewhat confusing:
>
> What OGC calls "Oblique_Mercator", ESRI calls that
> "Hotine_Oblique_Mercator_Azimuth_Center".
>
> What OGC calls "Hotine_Oblique_Mercator", ESRI calls that
> "Hotine_Oblique_Mercator_Azimuth_Natural_Origin"
>
> There is the WKT that I got from the EPSG database (I included a TOWGS84 
> element
> which was not in your original WKT):
>
> PROJCS["CH1903 / LV03",
>   GEOGCS["CH1903",
>     DATUM["CH1903",
>       SPHEROID["Bessel 1841", 6377397.155, 299.1528128, 
> AUTHORITY["EPSG","7004"]],
>       TOWGS84[674.4, 15.1, 405.3, 0.0, 0.0, 0.0, 0.0],
>       AUTHORITY["EPSG","6149"]],
>     PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
>     UNIT["degree", 0.017453292519943295],
>     AXIS["Geodetic latitude", NORTH],
>     AXIS["Geodetic longitude", EAST],
>     AUTHORITY["EPSG","4149"]],
>   PROJECTION["Oblique Mercator", AUTHORITY["EPSG","9815"]],
>   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],
>   UNIT["m", 1.0],
>   AXIS["Easting", EAST],
>   AXIS["Northing", NORTH],
>   AUTHORITY["EPSG","21781"]]
>
>
> I added your test case to the test script which is run everytime geotidy is
> built (to be ported to Geotools later, but they were no fundamental changes in
> the formulas so Geotools 2.x should be okay). Scroll down at the bottom of 
> that
> page:
>
> http://hg.geomatys.fr/geotidy/file/88c080fc48b5/modules/referencing/gt-referencing/src/test/resources/org/geotools/referencing/operation/test-data/ObliqueMercator.txt
>
>       Regards,
>
>               Martin
>
>
>
>   


-- 
Martin Tomko
Postdoctoral Research Assistant 
    
Geographic Information Systems Division
Department of Geography
University of Zurich - Irchel
Winterthurerstr. 190
CH-8057 Zurich, Switzerland

email:  [EMAIL PROTECTED]
site:   http://www.geo.uzh.ch/~mtomko
mob:    +41-788 629 558
tel:    +41-44-6355256
fax:    +41-44-6356848


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to