Revision 9524 branches/piloto3d/libraries/libFMap/src/com/iver/cit/gvsig/fmap/crs/CRSFactory.java

View differences:

CRSFactory.java
1 1
package com.iver.cit.gvsig.fmap.crs;
2 2

  
3
import org.cresques.cts.ICRSFactory;
3 4
import org.cresques.cts.IProjection;
4 5
import org.cresques.cts.ProjectionPool;
5 6

  
......
10 11
 *
11 12
 */
12 13
public class CRSFactory {
14
	public static ICRSFactory cp = new ProjectionPool();
15
	
13 16
	public static IProjection getCRS(String code) {
14
		return ProjectionPool.get(code);
17
		return cp.get(code);
15 18
	}
19
	
20
	public static boolean doesRigurousTransformations() {
21
		return cp.doesRigurousTransformations();
22
	}
16 23
}

Also available in: Unified diff