[Geoserver-users] Help Mosaic

Hi,

I’m a geoserver newbie and I’m trying to make a mosaic using the mosaicindexbuilder tool included in gt-imagemosaic-2.5.5.jar installed in C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib.

I’m running it on the cmd and this was the command:

C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib> java -jar gt-imagemosaic-2.5.5
.jar MosaicIndexBuilder -s C:\GeoServer 1.7.4\data_dir\coverages\ortos -w *.t
if -name test

This is the error message that appears to me:

Failed to load Main-Class manifest attribute from gt-imagemosaic-2.5.5.jar

What I’m doing wrong? Do you have any tips for me to build the mosaic?

Is there any other way to build a mosaic from .tiff images in geoserver?

Thank you in advance,

Toze

Hi,

It looks like just the running of the command is wrong. Using the -jar command will look for a class to run in the manifest. If you use a command like:

java -cp "gt-imagemosaic-2.5.5.jar;<rest of geotools libs>" org.geotools.utils.imagemosaic.MosaicIndexBuilder <options>

Then it should work. Although I could be wrong, I have never actually run it. You may want to check out:

http://geoserver.org/display/GEOSDOC/Using+the+ImageMosaic+plugin

Simone: is there an easier way to run it? I seem to remember something about the image mosaic plugin building up the mosaic on the fly?

Antonio Jose Silva (Toze) wrote:

Hi,

I'm a geoserver newbie and I’m trying to make a mosaic using the mosaicindexbuilder tool included in gt-imagemosaic-2.5.5.jar installed in C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib\.

I'm running it on the cmd and this was the command:

C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib> *java -jar gt-imagemosaic-2.5.5
.jar MosaicIndexBuilder \-s C:\GeoServer 1.7.4\data_dir\coverages\ortos \-w \*.t
if \-name test*

This is the error message that appears to me:

*Failed to load Main-Class manifest attribute from **gt-imagemosaic-2.5.5.jar*

What I’m doing wrong? Do you have any tips for me to build the mosaic?

Is there any other way to build a mosaic from .tiff images in geoserver?

Thank you in advance,

Toze

------------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

The imageosiac-jdbc has also some utilites.

I solved the problem with the jar files in the manifest. Look at the pom.xml

The advantage is that you can use java -jar gt-imagemosaic-jdbc.ar without setting the classpath.

Justin Deoliveira writes:

Hi,

It looks like just the running of the command is wrong. Using the -jar command will look for a class to run in the manifest. If you use a command like:

java -cp "gt-imagemosaic-2.5.5.jar;<rest of geotools libs>" org.geotools.utils.imagemosaic.MosaicIndexBuilder <options>

Then it should work. Although I could be wrong, I have never actually run it. You may want to check out:

http://geoserver.org/display/GEOSDOC/Using+the+ImageMosaic+plugin

Simone: is there an easier way to run it? I seem to remember something about the image mosaic plugin building up the mosaic on the fly?

Antonio Jose Silva (Toze) wrote:

Hi,

I'm a geoserver newbie and I’m trying to make a mosaic using the mosaicindexbuilder tool included in gt-imagemosaic-2.5.5.jar installed in C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib\.

I'm running it on the cmd and this was the command:

C:\GeoServer 1.7.4\webapps\geoserver\WEB-INF\lib> *java -jar gt-imagemosaic-2.5.5
.jar MosaicIndexBuilder \-s C:\GeoServer 1.7.4\data_dir\coverages\ortos \-w \*.t
if \-name test*

This is the error message that appears to me:

*Failed to load Main-Class manifest attribute from **gt-imagemosaic-2.5.5.jar*

What I’m doing wrong? Do you have any tips for me to build the mosaic?

Is there any other way to build a mosaic from .tiff images in geoserver?

Thank you in advance,

Toze

------------------------------------------------------------------------

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users