Opened 13 years ago

Closed 13 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 13 years ago.
patch to change the way projections are compared

Download all attachments as: .zip

Change History (4)

by rdenham, 13 years ago

Attachment: gdalbuildvrt.patch added

patch to change the way projections are compared

comment:1 by rdenham, 13 years ago

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 by rdenham, 13 years ago

Component: defaultUtilities

comment:3 by Even Rouault, 13 years ago

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.