[gdal-dev] Re: Flashy colors in a pyramid
christian.mueller at nvoe.at
Wed Aug 19 08:34:23 EDT 2009
The thing I want to know is if you have the blue or green areas in the
output files of gdal_retile.py or if you see them when looking at the images
with geoserver. So, is at problem of gdal_retile.py or of geoserver loading
the output from gdal_retile.py.
Btw, you use the option -co "TILED=YES". Why ?. Each output tile of
gdal_retile.py has again tiles in it ?
> Hi Christian,
> Thanks for your reply and thanks for writing gdal_retile. I use it a lot and
> it works great.
> I'm not sure I understand you well. On the highest level of the pyramid (the
> top) there's only one file. Gdal_retile already created the files needed for
> the mosaic (shp, shx, dbf and prj). Would you like me to re-create them ?
> Or do you mean at the base of the pyramid ?
> Christian Müller wrote:
>> Hi, Christian speaking, I wrote the gdal_retile.py utility.
>> Could you try to run a gdal_merge.py on the highest pyramid level
>> this strange area. What is the result.? I want to know if the problem is
>> gdal_retile.py or geoserver.
>> acangi writes:
>>> Hello list,
>>> I created a pyramid of aerial photos using gdal_retile.py and now see
>>> are strange zones in the pyramid. I'm trying to understand why I got this
>>> strange results and how I can fix it (Bombing the area to make sure it
>>> like what I have ?). Description :
>>> 1. The command I used was gdal_retile.py -targetDir pyramid/ -levels 12
>>> -pyramidOnly -v -s_srs /path/to/prjs/3812.prj -ps 10000 10000 -r bilinear
>>> -co "TILED=YES" -co "COMPRESS=LZW" -co "INTERLEAVE=PIXEL" -tileIndex
>>> orthocol -tileIndexField location /path/to/source/files/*.tif &
>>> 2. In the source files, I see nothing special. The tiles in this area
>>> like the other ones.
>>> 3. On the first (generated) level of the pyramid, I see a small area
>>> SMALL_SQUARE : 256m x 256m) in blue :
>>> 4. On the next levels of the pyramid, a black rectangle 512m x 256m is
>>> visible where SMALL_SQUARE was :
>>> and the area corresponding to the first level tile containing
>>> (alias BIG_SQUARE : 10000m x 10000m) is in green :
>>> 5. I view the pyramid in geoserver, the tiles look like they are on disk,
>>> except at the first level, geoserver doesn't show me the full
>>> only parts of it. In geoserver logs, I find nothing very interesting, it
>>> looks the same whether or not I'm looking at BIG_SQUARE.
>>> 6. If I set OutputTransparentColor to #000000 (the background color),
>>> BIG_SQUARE is now invisible (in geoserver)
>>> So, my questions are :
>>> Why did it happen ? I suppose it's just a random error...
>>> How can I fix it ? Is there any way other than rebuilding the whole
>>> Any idea is welcome,
>>> View this message in context:
>>> Sent from the GDAL - Dev mailing list archive at Nabble.com.
>>> gdal-dev mailing list
>>> gdal-dev at lists.osgeo.org
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
> View this message in context: http://n2.nabble.com/Flashy-colors-in-a-pyramid-tp3470903p3471888.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
More information about the gdal-dev