Statistics
| Revision:

svn-gvsig-desktop / branches / v10 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / crs / CRSFactory.java @ 9005

History | View | Annotate | Download (532 Bytes)

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

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

    
7
/**
8
 * Fabrica de CRS.
9
 * Centraliza las peticiones de creaci?n de objetos CRS de todo fmap.
10
 * @author luisw
11
 *
12
 */
13
public class CRSFactory {
14
        public static ICRSFactory cp = new ProjectionPool();
15
        
16
        public static IProjection getCRS(String code) {
17
                return cp.get(code);
18
        }
19
        
20
        public static boolean doesRigurousTransformations() {
21
                return cp.doesRigurousTransformations();
22
        }
23
}