#5352 closed defect (fixed)
JPGDataset doesn't allow to establish own GCPs
Reported by: | oleinik | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.11.0 |
Component: | GDAL_Raster | Version: | 1.10.1 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
PAMDataset has own implementation GetGCPs and SetGCPs. JPGDataset inherits from PAMDataset and reimplements GetGCPs to load GCPs from TAB files, but SetGCPs not. As result SetGCPs uses structures from PAMDataset, GetGCPs - from JPGDataset. How can I use my own GCPs through SetGCPs/GetGCPs and .aux.xml files with JPEGs?
Change History (4)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
Milestone: | → 2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
trunk r26840 "JPEG: allow fallback to PAM to read GCPs; give priority to PAM GeoTransform if it exists and other source of geotransform (.wld, .tab) also exists (#5352)"
comment:4 by , 10 years ago
Milestone: | 2.0 → 1.11.0 |
---|
Note:
See TracTickets
for help on using tickets.
Looking at the code, yes, you're a bit stuck. GetGCPs(), GetGCPCount() and GetGCPProjection() should be modified to fallback to PAM if there's nothing from TAB file (or perhaps the other way round)