Revision 9056 branches/v10/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/RasterAdapter.java
RasterAdapter.java | ||
---|---|---|
53 | 53 |
import org.cresques.cts.ICoordTrans; |
54 | 54 |
import org.cresques.filter.RasterFilterStack; |
55 | 55 |
import org.cresques.io.GeoRasterFile; |
56 |
import org.cresques.io.data.Grid; |
|
56 | 57 |
|
57 | 58 |
import com.hardcode.driverManager.Driver; |
58 | 59 |
import com.iver.cit.gvsig.fmap.ViewPort; |
59 | 60 |
import com.iver.cit.gvsig.fmap.core.ISymbol; |
60 | 61 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
62 |
import com.iver.cit.gvsig.fmap.drivers.GeorreferencedRasterDriver; |
|
61 | 63 |
import com.iver.cit.gvsig.fmap.drivers.RasterDriver; |
62 | 64 |
import com.iver.utiles.swing.threads.Cancellable; |
63 | 65 |
|
... | ... | |
243 | 245 |
* @return true si est? georreferenciada y false si no lo est?. |
244 | 246 |
*/ |
245 | 247 |
public boolean isGeoreferenced() { |
246 |
return ((RasterDriver)driver).isGeoreferenced(); |
|
248 |
return ((GeorreferencedRasterDriver)driver).isGeoreferenced();
|
|
247 | 249 |
} |
250 |
|
|
251 |
/** |
|
252 |
* Obtiene el grid asociado |
|
253 |
* @return grid |
|
254 |
*/ |
|
255 |
public Grid getGrid(){ |
|
256 |
return ((RasterDriver)driver).getGrid(); |
|
257 |
} |
|
248 | 258 |
} |
Also available in: Unified diff