Opened 13 years ago
Closed 13 years ago
#3432 closed defect (fixed)
gdalbuildvrt does not support positive NS resolution when based off pixel coordinates
Reported by: | abarton | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | default | Version: | 1.6.3 |
Severity: | normal | Keywords: | |
Cc: | ysiddiqui@… |
Description
When coordinates are based on pixels which increase positively as you go down, this causes an error in gdalbuildvrt because it can't handle positive NS resolutions.
gdalbuildvrt does not support positive NS resolution.
Attached is a sample file that demonstrates the issue:
e.g. gdalbuildvrt blank_image.vrt blank_image.tif
Attachments (3)
Change History (8)
by , 13 years ago
Attachment: | blank_image.tif added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I have a number of VRT bands that compose one imagery product. I'm trying to combine the bands and then geo-reference them. Currently I must geo-reference each band before combining them which introduces complexity and overhead.
comment:3 by , 13 years ago
I'm trying to understand your last message, but I'm not sure to have gotten it. My interpretation is that you'll plan to use the -separate option of gdalbuildvrt to combine several ungeoreferenced single-band images into a VRT and then georeference the VRT ? Or is it something else ?
Maybe you could give example of the command lines you would use if gdalbuildvrt did what you want, and give the output of gdalinfo on a few of your input images.
comment:4 by , 13 years ago
You are correct, I am trying to combine several non-georeferenced single-band images into a VRT and then georeference the VRT.
I'm attaching a couple of text files with output from gdalinfo on the input images.
My basic use case would be :
gdalbuildvrt -separate <output_vrt> <input_vrt_files>
by , 13 years ago
Attachment: | SV20091120_b0.hdf.txt added |
---|
by , 13 years ago
Attachment: | SV20091120_b2.hdf.txt added |
---|
comment:5 by , 13 years ago
Milestone: | → 1.8.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
What is the use case of this ? Do you have georeferenced images that can be mosaiced and have positive NS resolution ? Your sample is just a non-georeferenced image, which makes no sense to try mosaicing