Revision 976
org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.impl/src/main/java/org/gvsig/raster/cache/tile/impl/layer/TiledLayerImpl.java | ||
---|---|---|
188 | 188 |
struct.getEPSG() + |
189 | 189 |
struct.getFileSize()); |
190 | 190 |
} |
191 |
pathToDirLayer = basePath + File.separator + idLayer; |
|
191 |
int begin = struct.getLayerName().lastIndexOf(File.separator) + 1; |
|
192 |
int end = struct.getLayerName().lastIndexOf("."); |
|
193 |
end = end < 0 ? struct.getLayerName().length() : end; |
|
194 |
String name = struct.getLayerName().substring(begin, end); |
|
195 |
pathToDirLayer = basePath + File.separator + idLayer + "-" + name; |
|
192 | 196 |
} |
193 | 197 |
return pathToDirLayer; |
194 | 198 |
} |
Also available in: Unified diff