Ciao Scott,
please, read below inline my comments...

Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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


On Thu, Nov 1, 2012 at 9:16 PM, Stricker, Scott (IS)
<[email protected]> wrote:
> Apologies if this is not the right forum for this question.
>
> I'm trying to setup geoserver environment for demo purposes to display
> satellite imagery such as truemarble imagery
> (http://www.unearthedoutdoors.net/global_data/true_marble/download).
>
> I'd like to set it up as follows
> Scale > A - show one set of tiles
> Scale range < A and > B higher res set of tiles Scale range < B and > C even
> higher res set of tiles And so on.
>
> Initial thinking was to create an image pyramid so I took the high res
> (250m) TrueMarble tiles and did
>
> gdal_translate -stats  -co "TILED=YES" filename new_filename
>
> because I was getting warnings
>
> Warning 1: TIFFReadDirectoryCheckOrder:Invalid TIFF directory; tags are not
> sorted in ascending order ERROR 1: MissingRequired:TIFF directory is missing
> required "ImageLength" field ERROR 1: Bogus block size; unable to allocate a
> buffer.
> ERROR 1: Bogus block size; unable to allocate a buffer.
> ERROR 1: Bogus block size; unable to allocate a buffer.
> ERROR 1: FillEmptyTiles() failed because panByteCounts == NULL
> E:\MAP_TM\A1_01_34.tif : 67584|0-->2048-2048
>
> And thought the translate would fix these issues.  After translating all
> files, I did
>
> gdal_retile.py -v -levels 4 -ps 2048 2048 -targetDir E:\MAP_TM A1.tif A2.tif
> ... H3.tif H4.tif
>
> And get above errors ending with
>
> E:\MAP_TM\A1_02_82.tif : 165888|2048-->2048-2048 Warning 1:
> TIFFReadDirectoryCheckOrder:Invalid TIFF directory; tags are not sorted in
> ascending order ERROR 1: MissingRequired:TIFF directory is missing required
> "ImageLength" field ERROR 1: Bogus block size; unable to allocate a buffer.
> ERROR 1: Bogus block size; unable to allocate a buffer.
> More than 1000 errors or warnings have been reported. No more will be
> reported from now.
> E:\MAP_TM\A1_02_83.tif : 167936|2048-->2048-2048 E:\MAP_TM\A1_02_84.tif :
> 169984|2048-->2048-2048 E:\MAP_TM\A1_02_85.tif : 172032|2048-->768-2048
> E:\MAP_TM\A1_03_01.tif : 0|4096-->2048-2048
>
> .
> .
> .
> Finishing up with
>
> E:\MAP_TM\A1_32_10.tif : 18432|63488-->2048-2048 Traceback (most recent call
> last):
>   File "c:\Program Files\gdal\gdal_retile.py", line 1001, in <module>
>     sys.exit(main(sys.argv))
>   File "c:\Program Files\gdal\gdal_retile.py", line 911, in main
>     dsCreatedTileIndex = tileImage(minfo,ti)
>   File "c:\Program Files\gdal\gdal_retile.py", line 349, in tileImage
>     createTile(minfo, offsetX, offsetY, width, height,tilename,OGRDS)
>   File "c:\Program Files\gdal\gdal_retile.py", line 494, in createTile
>     dec.uly+offsetY*dec.scaleY)
>   File "c:\Program Files\gdal\gdal_retile.py", line 256, in getDataSet
>     data = s_band.ReadRaster( readOffsetX,readOffsetY,readX,readY,
> readX,readY, self.band_type )
> AttributeError: 'NoneType' object has no attribute 'ReadRaster'
>
> Am I doing something wrong?
>
> Can I build an 'image pyramid' data set manually? For example, configure
> geoserver to use 32km TIFF for lowest resolution 1km TIFF tiles for next
> 500m tiles for next resolution level 250m tiles for highest resolution
>
> Seems like it should be fairly straightforward - what am I missing?
>
> Thanks for any help/pointers/links that can be provided?

You can find some generic info inside these slides http://goo.gl/TXJRS

Anyway, I would do this:
- create the single mosaics in geoserver for the various level. Put
all the images into single directories under the same root directory
- point the imagepyramid plugin to the root directory

GeoServer should create a pyramid by picking the single mosaics. One
thing, make sure the subsampling step between two levels is 2
otherwise if the jump is too high the pyramid could slow down.

>
> E. Scott Stricker
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to