Opened 13 years ago
Closed 4 years ago
#3564 closed enhancement (wontfix)
revised TerraSAR driver
Reported by: | shawngong | Owned by: | pvachon |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | antonio |
Description
TerraSAR GDAL driver can only utilizes 5 GCPs (4 coners plus centre). Adam Klein (my colleague) modified it so that it uses all GCPs in *.xml
I attached two output of gdalinfo, the 1st one is from the current GDAL driver; the 2nd one is from the revised drivr.
Attachments (4)
Change History (13)
by , 13 years ago
Attachment: | tsxdataset.cpp added |
---|
by , 13 years ago
by , 13 years ago
comment:1 by , 13 years ago
Type: | defect → enhancement |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 13 years ago
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Hi Shawn,
I've applied the changes. Thanks for the code.
P.
by , 13 years ago
Attachment: | tsxdataset.cpp1 added |
---|
comment:6 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I submit an updated TerraSAR-X driver: tsxdataset.cpp1
Changes made by my coworker Adam Klein as follows:
- Open() will return NULL when one of the raster bands cannot be loaded. This fix prevents a crash (dereferencing NULL pointer).
- The driver no longer saves the image file pointer (it was never being used anyway) and does not clear the file pointer passed to Open() through GDALOpenInfo. This fix allows GDAL to close the image file when it is done with it.
- Replace strdup() with CPLStrdup() for consistency
- Calling CPLDestroyXMLNode() to clean up before returning NULL in Open()
comment:7 by , 12 years ago
Cc: | added |
---|
comment:9 by , 4 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | reopened → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
I'll have a look through this code and make any comments. P.