Opened 9 years ago

Last modified 8 years ago

#1309 closed defect

Rasql_project() missing geo-reference with NetCDF — at Initial Version

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 9.3
Component: rasql Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

When use crsTranform() in WCPS it return a coverage in NetCDF without georeference.

for c in (test_projection),  d in (test_projection) 
return encode(crsTransform((c + d),
 { Lat:"http://www.opengis.net/def/crs/EPSG/0/3542", Long:"http://www.opengis.net/def/crs/EPSG/0/3542"}, {}), "netcdf")
Driver: netCDF/Network Common Data Format
Files: /home/rasdaman/Downloads/ows(126)
Size is 512, 512
Coordinate System is `'
Metadata:
  NC_GLOBAL#Conventions=CF-1.5
  NC_GLOBAL#GDAL=GDAL 1.11.2, released 2015/02/10
  NC_GLOBAL#history=Wed May 11 11:00:33 2016: GDAL CreateCopy( /tmp/rasdaman-uZVa17, ... )
Subdatasets:
  SUBDATASET_1_NAME=NETCDF:"/home/rasdaman/Downloads/ows(126)":Band1
  SUBDATASET_1_DESC=[260x261] Band1 (8-bit integer)
  SUBDATASET_2_NAME=NETCDF:"/home/rasdaman/Downloads/ows(126)":Band2
  SUBDATASET_2_DESC=[260x261] Band2 (8-bit integer)
  SUBDATASET_3_NAME=NETCDF:"/home/rasdaman/Downloads/ows(126)":Band3
  SUBDATASET_3_DESC=[260x261] Band3 (8-bit integer)
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  512.0)
Upper Right (  512.0,    0.0)
Lower Right (  512.0,  512.0)
Center      (  256.0,  256.0)

But if not using this function then it has

for c in (eobstest) return encode(  c[t(0)], "netcdf")
Driver: netCDF/Network Common Data Format
Files: /home/rasdaman/Downloads/ows(125)
Size is 101, 232
Coordinate System is:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
Origin = (25.000000000000000,75.500000000000000)
Pixel Size = (0.500000000000000,-0.500000000000000)

Change History (0)

Note: See TracTickets for help on using tickets.