Revision 11331
branches/F2/libraries/libJCRS/src/org/gvsig/crs/CrsFactory.java | ||
---|---|---|
45 | 45 |
import org.cresques.cts.ICRSFactory; |
46 | 46 |
import org.cresques.cts.IProjection; |
47 | 47 |
import org.gvsig.crs.repository.EpsgRepository; |
48 |
import org.gvsig.crs.repository.EpsgRepositoryGT; |
|
48 | 49 |
import org.gvsig.crs.repository.EsriRepository; |
49 | 50 |
import org.gvsig.crs.repository.ICrsRepository; |
50 | 51 |
import org.gvsig.crs.repository.Iau2000Repository; |
... | ... | |
80 | 81 |
Crs crs = null; |
81 | 82 |
|
82 | 83 |
if(repoId.equals("EPSG")){ |
83 |
repo = new EpsgRepository();
|
|
84 |
repo = new EpsgRepositoryGT();
|
|
84 | 85 |
crs = (Crs)repo.getCrs(crsCode); |
86 |
if (crs==null) { |
|
87 |
repo = new EpsgRepository(); |
|
88 |
crs = (Crs)repo.getCrs(crsCode); |
|
89 |
} |
|
85 | 90 |
}else if (repoId.equals("IAU2000")){ |
86 | 91 |
repo = new Iau2000Repository(); |
87 | 92 |
crs = (Crs)repo.getCrs(crsCode); |
Also available in: Unified diff