Revision 2420 org.gvsig.raster.gdal/branches/org.gvsig.raster.gdal_dataaccess_refactoring/org.gvsig.raster.gdal.io/src/main/java/org/gvsig/raster/gdal/util/DefaultCRSUtils.java
DefaultCRSUtils.java | ||
---|---|---|
47 | 47 |
public class DefaultCRSUtils implements CRSUtils { |
48 | 48 |
public ICRSFactory factory = null; |
49 | 49 |
|
50 |
/* |
|
51 |
* (non-Javadoc) |
|
52 |
* @see org.gvsig.fmap.dal.coverage.util.CRSUtils#setCRSFactory(org.cresques.cts.ICRSFactory) |
|
53 |
*/ |
|
54 | 50 |
public void setCRSFactory(ICRSFactory factory) { |
55 | 51 |
this.factory = factory; |
56 | 52 |
} |
... | ... | |
68 | 64 |
return factory.get(code); |
69 | 65 |
} |
70 | 66 |
|
71 |
/* |
|
72 |
* (non-Javadoc) |
|
73 |
* @see org.gvsig.fmap.dal.coverage.util.CRSUtils#convertWktToIProjection(java.lang.String) |
|
74 |
*/ |
|
75 | 67 |
public IProjection convertWktToIProjection(String wkt) { |
76 | 68 |
if (wkt == null || wkt.equals("")) |
77 | 69 |
return null; |
... | ... | |
104 | 96 |
return null; |
105 | 97 |
} |
106 | 98 |
|
107 |
/* |
|
108 |
* (non-Javadoc) |
|
109 |
* @see org.gvsig.fmap.dal.coverage.util.CRSUtils#convertIProjectionToWkt(org.cresques.cts.IProjection) |
|
110 |
*/ |
|
111 | 99 |
public String convertIProjectionToWkt(IProjection projection) { |
112 | 100 |
if(projection == null) |
113 | 101 |
return null; |
Also available in: Unified diff