Hi Tisham,
ive just tried module, it works ok for dds havent still tried with bil format but ill test it soon also.
Just few notices i had:
dds files are pretty large for transport (several times larger then jpegs, even larger then pngs), why wouldnt we make dds-zip format also?
I got 2-10 times smaller files then uncompressed dds.
That way we would have format that wwj client wont have to process much (only decompress which isnt so expensive) and it would be pretty smaller then normal dds files.
I think there is allready some code in WWJ that takes in account dds-zip format, but i dont know if its implmented somewhere yet. If you can take a look at:
wwj\src\gov\nasa\worldwind\layers\BasicTiledImageLayer.java
else if (contentType.contains("zip"))
{
// Assume it's zipped DDS, which the retriever would have unzipped into the buffer.
this.layer.saveBuffer(buffer, outFile);
}
and methods:
wwj\src\gov\nasa\worldwind\util
public static void deflateBufferToFile
public static ByteBuffer readZipEntryToBuffer
(Also, in AnalyticsSurface demo there is example how to read zipped bil entry)
What do you think?
Oh and by the way I guess GWC support for dds is coming (...you probably allready knew about it
:
http://geowebcache.org/trac/changeset/826
Regards,
Ivan
BIL and DDS support compiled jar and source. Needs worldwind.jar as a dependency.