[Geoserver-devel] DDS (DirectDraw Surface) plugin for geoserver for using with WorldWind

Hi everyone. I've published on the NASA WorldWind Community forum (
http://forum.worldwindcentral.com/showthread.php?p=61605 ) a plugin
for geoserver that allows it to serve DDS images. NASA WorldWind .net
and Java 3D globes works internally with this format because it's a
format that a 3D graphic card could decompress. So serve DDS images
instead of other compression formats avoids NASA WorldWind to
recompress them and allows better performance.

Technically i've implemented a DDSMapProducerFactory and a
DDSMapProducer class. The compression work is done by a class of the
WorldWind Java sdk so my plugin is dependent of it.

Andrea Aime suggest that my plugin could become a GeoServer community
module. I hope the dependence to WWJ SDK wich is licensed under NOSA
will not pose problem.

Cheers,
Nicolas CASTEL

Hi Nicolas,

This sounds GREAT!! Contributions are always welcome. So yes, I suggest we get you a community module. To do that you need:

1. a +1 from one PSC member, which you already have
2. version control access to the community space

To get version control all you need is to sign up for codehaus account here:

http://xircles.codehaus.org/signup

Then let one of the projects despots know your login id (myself or Andrea will do).

As for the dependency on the world wind java sdk... the way we typically handle dependencies is with maven, and do not store them in the version control repository itself. So two ways to proceed:

1. set your community module up with a maven pom which can build and download all the dependencies you need

or

2. include an INSTALL.txt which can explain for people how to download the dependencies and build the community module manually.

Looking the worldwind SDK, it seems there are some native dependencies so I think option 2 will be the easiest route for you... and you will not have to learn maven that way :).

-Justin

Nicolas CASTEL wrote:

Hi everyone. I've published on the NASA WorldWind Community forum (
http://forum.worldwindcentral.com/showthread.php?p=61605 ) a plugin
for geoserver that allows it to serve DDS images. NASA WorldWind .net
and Java 3D globes works internally with this format because it's a
format that a 3D graphic card could decompress. So serve DDS images
instead of other compression formats avoids NASA WorldWind to
recompress them and allows better performance.

Technically i've implemented a DDSMapProducerFactory and a
DDSMapProducer class. The compression work is done by a class of the
WorldWind Java sdk so my plugin is dependent of it.

Andrea Aime suggest that my plugin could become a GeoServer community
module. I hope the dependence to WWJ SDK wich is licensed under NOSA
will not pose problem.

Cheers,
Nicolas CASTEL

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:4007,48334fab163422092453641!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

Justin Deoliveira ha scritto:
...

1. set your community module up with a maven pom which can build and download all the dependencies you need

or

2. include an INSTALL.txt which can explain for people how to download the dependencies and build the community module manually.

Looking the worldwind SDK, it seems there are some native dependencies so I think option 2 will be the easiest route for you... and you will not have to learn maven that way :).

I'm wondering if the native dependencies are needed at all for a module
that just wants to generate DDS files. OGL is surely needed for display,
does it play a role with DDS file generation as well?

If we go pure java pushing the jars into the maven repository is going to be relatively simple (more a matter of having the proper rights to
do so).

Cheers
Andrea

2008/5/22 Andrea Aime <aaime@anonymised.com>:

Justin Deoliveira ha scritto:
...

1. set your community module up with a maven pom which can build and
download all the dependencies you need

or

2. include an INSTALL.txt which can explain for people how to download the
dependencies and build the community module manually.

Looking the worldwind SDK, it seems there are some native dependencies so
I think option 2 will be the easiest route for you... and you will not have
to learn maven that way :).

I'm wondering if the native dependencies are needed at all for a module
that just wants to generate DDS files. OGL is surely needed for display,
does it play a role with DDS file generation as well?

If we go pure java pushing the jars into the maven repository is going to be
relatively simple (more a matter of having the proper rights to
do so).

Cheers
Andrea

No JOGL isn't used by the worldwind SDK for producing DDS. So this is
pure java. I don't understand very well how maven works but i will try
to use it.

Hi Nicolas,

We can help you out. If you put together a list of third-party libraries other then geotools that your plugin requires, I would be happy to whip up a maven pom.xml for you... unless of course you are dying to learn about maven yourself ;).

-Justin

Nicolas CASTEL wrote:

2008/5/22 Andrea Aime <aaime@anonymised.com>:

Justin Deoliveira ha scritto:
...

1. set your community module up with a maven pom which can build and
download all the dependencies you need

or

2. include an INSTALL.txt which can explain for people how to download the
dependencies and build the community module manually.

Looking the worldwind SDK, it seems there are some native dependencies so
I think option 2 will be the easiest route for you... and you will not have
to learn maven that way :).

I'm wondering if the native dependencies are needed at all for a module
that just wants to generate DDS files. OGL is surely needed for display,
does it play a role with DDS file generation as well?

If we go pure java pushing the jars into the maven repository is going to be
relatively simple (more a matter of having the proper rights to
do so).

Cheers
Andrea

No JOGL isn't used by the worldwind SDK for producing DDS. So this is
pure java. I don't understand very well how maven works but i will try
to use it.

!DSPAM:4007,4835c35d21791637810514!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com