Ciao Sandor,
sorry for not being able to get to you earleri, but I am constantly 3
days behind schedule with emails.
Read below.

On 10/18/06, Sándor Farkas <[EMAIL PROTECTED]> wrote:
>
>
> Hi Simone,
>
> Im Sándor from Hungary, I have some question about imaging and WCS image
> plugins.
> First I asked Alessio and He gave me your address as You are the imaging
> expert.
>
> I would like to publicate orthophoto GEOTIFF-s with WCS and I ask you to
> help me find the best way for quality/performance optimum.
>
> I have 112 pcs (orthophoto) GEOTIFF images , about 107 Mb of size each. I
> made them tiled whith
>
> C:\Progra~1\FWTools1.0.5\bin\tiffcp.exe -w 256 -l 256
> 65-324-111.tif
> 65-324-111_t.tif
> ...
>
>

k.

> and used
> c:\Progra~1\FWTools1.0.5\bin\gdaladdo.exe -r average
> d:\65-322-
> 431_t.tif 2 4 8 16 32 64
> ...
>

k.

>
> then I used
> c:\Progra~1\FWTools1.0.5\bin\gdaltindex.exe
> Budaors_tiled.shp *.tif
>

To create the mosaic the best thing to do is using the
MosaicIndexBuilder tool you can find at the link below. Otherwise you
would have to manually create the accompanying property file. Iwould
lik to remarck once again that all the images must have the same
resolution. This constraint could be relaxes but right now I have time
allocated for this taks (unless someone wants it badly and pays for it
:-) ).




> After then, when I made the Image mosaicking coverage and watched it in
> UDIG, I saw that all images are malformed which are at the boundary, but
> seems good in the middle, where they have adjacent images. I attached some
> pictures to the mail.
> What could I do with this?
>
Well, I fixed a bug in the ImageMosaic a couple of days ago, which
version of geotools,geoserver are you runing?.

>
> For testing I inserted a single image (same as in the mosaicking, with the
> same projection) and it looks good.

Then definitely the you are running into the bug I fixed lately.

> Furthermore I realized when I used Image Mosaicking, I didn't see gdaladdo-d
> levels.

If you attach the properties files the ImageMosaic plugin uses it to
exploit embedded overviews.

I know I should find time to write a guide for using the tools, but
for the moment I have no spare time to spend on this.

>
>
> I would like to try WCS Image pyramidal plugin.
> What is the difference between pyramidal images and gdaladdo -d images?
>

The ImagePyramid plugin is thought for being used with multiple mosaic
at different levels of resolutions.


> What file should I give in WCS Image pyramidal plugin (shapefile like
> mosaicking plugin or it supports only one file)?
>
>

Please, have a look at the example data provided with geotools. Anyway
the informations you need to provide are roughly explained in the
javadoc of the Imagepyramidreader, I am reporting them here for
simplicity:

This reader is repsonsible for providing access to a pyramid of
mosaics of georeferenced coverages that are read directly through
imageio readers, like tiff, pngs, etc...

Specifically this plugin relies on the image mosaic plugin to handle
each single level of resolutions avaible, hence all the magic is done
inside the mosaic plugin.

For information on how to build a mosaic, please refere to the
ImageMosaicReader documentation.

If you are looking for information on how to create a pyramid, here
you go. The pyramid itself does no magic. All the magic is performed
by the single mosaic readers that are polled depending on the requeste
resolution levels. Therefore the first step is having a mosaic of
images like geotiff, tiff, jpeg, or png which is going to be the base
for te pyramid.

The second step is to build the next (lower resolution) levels for the pyramid.
If you look inside the spike dire of the geotools project you will
find a (growing) set of tools that can be used for doing processing on
coverages.
Specifically there is one tool called PyramidBuilder that can be used
to build the pyramid level by level.

Last step is providing a prj file with the projection of the pyramid
(btw all the levels has to be in the same projection) as well as a
properties file with this structure:

           #
           #Mon Aug 21 22:23:27 CEST 2006
           #name of the coverage
           Name=ikonos
           #different resolution levels available in each mosaic
           Levels=1.2218682749859724E-5,9.220132503102996E-6
2.4428817977683634E-5,1.844026500620314E-5
4.8840552865873626E-5,3.686350299024973E-5
9.781791400307775E-5,7.372700598049946E-5
1.956358280061555E-4,1.4786360643866836E-4
3.901787184256844E-4,2.9572721287731037E-4
           #where all the levels reside
           LevelsDirs=0 2 4 8 16 32
           #number of levels availaible
           LevelsNum=5
           #envelope for this pyramid
           Envelope2D=13.398228477973406,43.591366397808976
13.537912459169803,43.67121274528585




> I got a coveragetool link
> http://svn.geotools.org/geotools/branches/2.3.x/ext/coverage_development/coveragetools/
> from Alessio, but I dont know how to use those command tools. (Im not
> familiar with java developing)
>
>
> Please help me to answer these questions.
>

I hope this will help to get ou started.


Regards,
Simone.
> Sándor
>
>
>


-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to