On Tue, Mar 22, 2011 at 3:04 PM,  <[email protected]> wrote:
> Dear all,
>
> I have a bunch of raster files (right now for testing only a few later 100s) 
> which I would like to publish with Geoserver using the ImageMosaic plugin.
> So far I was following different ways, sadly all ended up with only black 
> images showing up in the layer preview. What I did so far is the following:
> 1. Way: By using gedal_retile I generated tiles and a Shape-Index-file. The 
> resulting folders and images were transferred to the data dir (Indexfile with 
> relative path names). After adding the ImageMosaic store and the Layer 
> pointing to the directory containing the tiles the layer preview only showed 
> black images.
> 2. Way: Same as in 1, but I used the Index-file generated by Geoserver. Same 
> result, only black images.
> 3. Way: I didn't use gedal_retile but put 4 adjacent raster images (not 
> tiles) in one folder. I published the data with Geoserver again by using the 
> ImageMosaic store and using different ways for the Connection parameters. 
> First, I pointed to the folder containing the data. Then, I pointed to the 
> generated Index-file. Both had the same result, only black images showing up 
> in the layer preview.

Option 3 should be working... are your raster data georeferenced?
What is the output of gdalinfo on one of the files?
It would help to be able to get our hands on that data and try it out
locally, can you share just those four files?

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to