Opened 9 years ago

Closed 9 years ago

#3856 closed defect (fixed)

gdalbuildvrt: change the way the reference projection is compared to new ones

Reported by: rdenham Owned by: warmerdam
Priority: normal Milestone: 1.8.0
Component: Utilities Version: unspecified
Severity: normal Keywords:
Cc:

Description

Currently gdalbuildvrt uses EQUAL(proj,refproj) to compare the projection information when building vrt's. I propose to change this to OSRIsSame(proj,refproj) so minor differences in the name of projections won't cause gdalbuildvrt to exit.

Attachments (1)

gdalbuildvrt.patch (2.5 KB) - added by rdenham 9 years ago.
patch to change the way projections are compared

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by rdenham

Attachment: gdalbuildvrt.patch added

patch to change the way projections are compared

comment:1 Changed 9 years ago by rdenham

Summary: change the way the reference projection is compared to new onesgdalbuildvrt: change the way the reference projection is compared to new ones

comment:2 Changed 9 years ago by rdenham

Component: defaultUtilities

comment:3 Changed 9 years ago by Even Rouault

Milestone: 1.8.0
Resolution: fixed
Status: newclosed

Implemented the suggested idea but with cosmetic difference (and memory leak fix)

r21185 /trunk/gdal/apps/gdalbuildvrt.cpp: gdalbuildvrt: use OSRIsSame() to check if all source raster have same SRS (#3856)

Note: See TracTickets for help on using tickets.