On Wed, Sep 26, 2012 at 10:10 AM, Jesse Eichar
<[email protected]>wrote:

> Hi,
>
> I am having problems with the EPSG HSQL database.  I want to transform
> from EPSG:21781 to EPSG:4326.
>
> When I create the EPSG:21781 CRS with:  CRS.decode("EPSG:21781") I get a
> Geometry like:  0.935 -82.713 1.166 -82.498 ...
>
> When I create the Geometry with the ESRI WKT from:
> http://spatialreference.org/ref/epsg/21781/esriwkt/  I get the expected
> result:  47.866 8.409 47.862 8.876 ...
>
> I just upgraded from Geotools 2.6.5 to 8.1.  Geotools
> 2.6.5  CRS.decode("EPSG:21781") worked correctly.  Any ideas why I might be
> experiencing this?  Any work arounds?


We did upgrade the EPSG database a few times in the meantime, but the thing
I see above seems more like
an axis flipping problem. How about you decode
with  CRS.decode("EPSG:21781", true)?

If it's not that you'll have to figure out what is different between the
two and fix it, a good starting point might be to
look at the toString of the MathTransform generated

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

-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to