Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1457 closed defect (duplicate)

No geo-reference metadata from custom SECORE CRS when encoding in TIFF

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: secore Version: development
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

So PS-2 has some customized CRSs in SECORE and they imported coverage with these CRSs, however when encode in tiff, the geo-referenced metadata does not show correctly.

http://access.planetserver.eu:8081/def/crs/PS/0/Mars-geographic
http://access.planetserver.eu:8080/rasdaman/ows?service=WCS&version=2.0.1&request=DescribeCoverage&coverageId=frt0000282f_07_if164l_trr3
gdalinfo /home/rasdaman/Downloads/ows\(1\) 
Driver: GTiff/GeoTIFF
Files: /home/rasdaman/Downloads/ows(1)
Size is 1, 1
Coordinate System is `'
Origin = (259792.023699207667960,-2815563.662485593464226)
Pixel Size = (0.000000000000000,-0.000000000000000)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  259792.024,-2815563.662) 
Lower Left  (  259792.024,-2815563.662) 
Upper Right (  259792.024,-2815563.662) 
Lower Right (  259792.024,-2815563.662) 
Center      (  259792.024,-2815563.662) 

so something from ticket:708 is needed here. Just open the ticket and when have time I'll have a look.

Change History (2)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: duplicate
Status: newclosed

this problem will need to be solved in ticket:708 by asking user to add the correct proj4 when he adds the geo-referenced CRS as well.

comment:2 by Peter Baumann, 7 years ago

hm, why don't we simply store the Native CRS as provided during coverage creation? If we interpret it + reconstruct it for output we might get something different which would violate the WCS dogma of "guaranteed to get the original, unmodified values".
Of course we can (and likely need to) interpret CRS definitions, but the original definition should always be retained & recoverable.

Note: See TracTickets for help on using tickets.