Re: [Geotools-gt2-users] Custom CRS registration

2009-03-31 Thread Eugene B
thorityFactory.java:729) at org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179) at org.geotools.referencing.CRS.decode(CRS.java:420) at org.geotools.referencing.CRS.decode(CRS.java:348) at com.myproject.udig.common.MapOpenInterceptor.run(MapOpenInterceptor.java:70)

[Geotools-gt2-users] Custom CRS registration

2009-03-31 Thread Eugene B
Hello! I'm trying to create custom crs from WKT using steps from http://docs.codehaus.org/display/GEOTDOC/11+Referencing+FAQ. But after all CRS.decode(...) method throws org.opengis.referencing.NoSuchAuthorityCodeException . Here is my code : Hints hints = new Hints(Hints.CRS_AUTHORITY_FAC

Re: [Geotools-gt2-users] GCTP Projection

2009-03-30 Thread Eugene B
Hello! I don't want to create new thread, because my question relates to this topic. I have coordinates dataset stored in WGS84. And in my application I need to scale them with a specific factor. As I understand, to make this scaling I should create my custom projection. I had a look at htt