#2867 closed defect (fixed)
Blocks of data missing when warping cascaded vrt
Reported by: | asgerpetersen | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
I have a setup for warping tiles in one crs into tiles in another crs like:
foreach SourceFile.tif { gdal_translate -of vrt SourceFile.tif SourceFile.vrt } gdalbuildvrt SourceMosaic.vrt SourceFile*.vrt foreach outputtile { gdalwarp -te tilebounds -s_srs srcsrs -t_srs dstsrs SourceMosaic.vrt outputtile.tif }
This produces results as in the attached 'warped.jpg'.
The following setup, however, works as expected:
gdalbuildvrt SourceMosaic.vrt SourceFile*.tif foreach outputtile { gdalwarp -te tilebounds -s_srs srcsrs -t_srs dstsrs SourceMosaic.vrt outputtile.tif }
So it seems as if warping cascaded vrts is not working.
Attachments (1)
Change History (6)
by , 15 years ago
Attachment: | warped.jpg added |
---|
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
I *believe* I've hit the same issue you're running into by just displaying with OpenEV a VRT made of 2 VRTs side-to-side. (The cascaded VRT is easy way of showing the issue, but it could have been seen in other circumstances too)
I've fixed the issue for my test case in trunk (r16475), branches/1.6 (r16476) and branches/1.5 (r16477). I've also added a test case in r16478.
If you can build from source, could you test one of those branches and check that it fixes the issue you're observing ?
comment:3 by , 15 years ago
I have built r16479 and it seems to have solved the problem.
Thank you very much!
comment:4 by , 15 years ago
Milestone: | → 1.5.5 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
ok. closing the ticket as fixed then.
VRT mosaic of VRTs warped into another crs. (Result should have been one rotated tile)