Changes between Initial Version and Version 3 of Ticket #1469
- Timestamp:
- Apr 8, 2007, 7:07:58 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1469 – Description
initial v3 1 {{{2 1 Currently, for the SWIG bindings, the only option to use the the GDAL warp functionality is to utilize AutoCreateWarpedVRT. 3 2 To use this feature the following (simplified) C# code sample was created: 4 3 4 {{{ 5 5 gdal.AllRegister(); 6 6 Dataset ds = gdal.Open( "usapm.jpg", gdalconst.GA_ReadOnly ); … … 22 22 // saving the warped image 23 23 Dataset dsw = drv_out.CreateCopy("usapm_bad.tif", dswarp, 0, new string[] { "INTERLEAVE=PIXEL", null }); 24 24 }}} 25 25 26 26 Currently this code does not work as expected and the resulting image is not warped. … … 28 28 So as to inspect this problem the following equivalent commands were executed using the same dataset: 29 29 30 gdalwarp -s_srs "+proj=utm +zone=16 +datum=NAD83 +no_defs" -t_srs "+proj=longlat +ellps=clrk80 +no_defs" -of VRT usapm.jpg usapm_good.vrt 30 {{{ 31 gdalwarp -s_srs "+proj=utm +zone=16 +datum=NAD83 +no_defs" \ 32 -t_srs "+proj=longlat +ellps=clrk80 +no_defs" -of VRT \ 33 usapm.jpg usapm_good.vrt 34 }}} 35 36 {{{ 31 37 gdalwarp -co "INTERLEAVE=PIXEL" usapm_good.vrt usapm_good.tif 38 }}} 32 39 33 40 A suggested patch was also created for fixing this problem. … … 35 42 The following files will be attached to this bug: 36 43 44 {{{ 37 45 usapm_good.vrt 38 46 usapm_bad.vrt