Revision 1419 org.gvsig.raster.gdal/trunk/org.gvsig.raster.gdal/org.gvsig.raster.gdal.io/src/main/java/org/gvsig/raster/gdal/io/GdalNative.java
GdalNative.java | ||
---|---|---|
603 | 603 |
int widthBuffer = (int)(getRasterXSize() * scale); |
604 | 604 |
int heightBuffer = (int)(blockHeight * scale); |
605 | 605 |
|
606 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().toString());
|
|
606 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().getId() + "");
|
|
607 | 607 |
|
608 | 608 |
GdalRasterBand[] gdalBand = new GdalRasterBand[bBandNr]; |
609 | 609 |
for (int iBand = 0; iBand < gdalBand.length; iBand++) |
... | ... | |
1126 | 1126 |
int stpY, |
1127 | 1127 |
int[] stepBuffer) throws GdalException, ProcessInterruptedException { |
1128 | 1128 |
|
1129 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().toString());
|
|
1129 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().getId() + "");
|
|
1130 | 1130 |
FileUtils fUtil = RasterLocator.getManager().getFileUtils(); |
1131 | 1131 |
|
1132 | 1132 |
GdalBuffer gdalBuf = null; |
... | ... | |
1228 | 1228 |
private void readDataByLine(Buffer buf, BandList bandList, int x, int y, int w, int yMax) throws GdalException, ProcessInterruptedException { |
1229 | 1229 |
GdalBuffer gdalBuf = null; |
1230 | 1230 |
int rasterBufLine; |
1231 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().toString());
|
|
1231 |
RasterTask task = RasterTaskQueue.get(Thread.currentThread().getId() + "");
|
|
1232 | 1232 |
FileUtils fUtil = RasterLocator.getManager().getFileUtils(); |
1233 | 1233 |
|
1234 | 1234 |
for(int iBand = 0; iBand < gdalBands.length; iBand++) { |
Also available in: Unified diff