Revision 1865
org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.multifile/src/main/java/org/gvsig/raster/tools/app/multifile/panel/BandSelectorListener.java | ||
---|---|---|
225 | 225 |
ProviderServices provServ = RasterLocator.getManager().getProviderServices(); |
226 | 226 |
RasterDataParameters storeParameters = provServ.createParameters(file); |
227 | 227 |
storeParameters.setSRS(fLayer.getDataStore().getProjection()); |
228 |
RasterDataStore dataStore = RasterLocator.getManager().open(storeParameters); |
|
228 |
RasterDataStore dataStore = RasterLocator.getManager().getProviderServices().open(storeParameters);
|
|
229 | 229 |
|
230 | 230 |
Extent extentNewFile = dataStore.getExtent(); |
231 | 231 |
|
org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/properties/RemoteStoreHistogram.java | ||
---|---|---|
72 | 72 |
storeParameters.setSRS(provider.getProjection()); |
73 | 73 |
|
74 | 74 |
try { |
75 |
RasterDataStore mrs = RasterLocator.getManager().open(storeParameters); |
|
75 |
RasterDataStore mrs = RasterLocator.getManager().getProviderServices().open(storeParameters);
|
|
76 | 76 |
lastBufferHistogram = mrs.getHistogramComputer(); |
77 | 77 |
BufferHistogram bh = lastBufferHistogram.getBufferHistogram(); |
78 | 78 |
mrs.close(); |
... | ... | |
129 | 129 |
storeParameters.setSRS(provider.getProjection()); |
130 | 130 |
|
131 | 131 |
try { |
132 |
RasterDataStore mrs = RasterLocator.getManager().open(storeParameters); |
|
132 |
RasterDataStore mrs = RasterLocator.getManager().getProviderServices().open(storeParameters);
|
|
133 | 133 |
double res = mrs.getHistogramComputer().getMaximum(); |
134 | 134 |
mrs.close(); |
135 | 135 |
return res; |
... | ... | |
159 | 159 |
storeParameters.setSRS(provider.getProjection()); |
160 | 160 |
|
161 | 161 |
try { |
162 |
RasterDataStore mrs = RasterLocator.getManager().open(storeParameters); |
|
162 |
RasterDataStore mrs = RasterLocator.getManager().getProviderServices().open(storeParameters);
|
|
163 | 163 |
double res = mrs.getHistogramComputer().getMinimum(); |
164 | 164 |
mrs.close(); |
165 | 165 |
return res; |
org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/DefaultRasterStore.java | ||
---|---|---|
1441 | 1441 |
RasterManager manager = (DefaultRasterManager)RasterLocator.getManager(); |
1442 | 1442 |
RasterDataStore newDataStore = null; |
1443 | 1443 |
try { |
1444 |
newDataStore = manager.open((DataStoreParameters)parameters); |
|
1444 |
newDataStore = manager.getProviderServices().open((DataStoreParameters)parameters);
|
|
1445 | 1445 |
if(newDataStore instanceof DefaultRasterStore) { |
1446 | 1446 |
((DefaultRasterStore)newDataStore).setStatistics(getStatistics()); |
1447 | 1447 |
} |
org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.fmap/src/main/java/org/gvsig/raster/fmap/layers/DefaultFLyrRaster.java | ||
---|---|---|
324 | 324 |
|
325 | 325 |
try { |
326 | 326 |
if(!getDataStore().isOpen()) |
327 |
dataStore = rManager.open(params); |
|
327 |
dataStore = rManager.getProviderServices().open(params);
|
|
328 | 328 |
} catch (NotSupportedExtensionException e) { |
329 | 329 |
throw new LoadLayerException(this.getName()); |
330 | 330 |
} catch (RasterDriverException e) { |
... | ... | |
1970 | 1970 |
public void setOpenRasterStore(DataStore dataStore) throws LoadLayerException { |
1971 | 1971 |
if(dataStore instanceof CoverageStoreProviderServices) { |
1972 | 1972 |
try { |
1973 |
this.dataStore = rManager.open(((CoverageStoreProviderServices) dataStore).getProvider(), dataStore.getParameters()); |
|
1973 |
this.dataStore = rManager.getProviderServices().open( |
|
1974 |
((CoverageStoreProviderServices) dataStore).getProvider(), |
|
1975 |
dataStore.getParameters()); |
|
1974 | 1976 |
} catch (NotSupportedExtensionException e) { |
1975 | 1977 |
throw new LoadLayerException("Extension not supported", e); |
1976 | 1978 |
} catch (RasterDriverException e) { |
Also available in: Unified diff