Changes between Initial Version and Version 1 of Ticket #1309


Ignore:
Timestamp:
May 18, 2016, 1:07:30 PM (8 years ago)
Author:
Bang Pham Huu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1309 – Description

    initial v1  
    11When use crsTranform() in WCPS it return a coverage in NetCDF without georeference.
    22
     3'''Update:''' The problem only happens if use a coverage with multibands (ranges) and encode all of these ranges in NetCDF. In this example: test_projection has 3 bands (Red, Green, Blue).
     4
     5
     6{{{
     7Describe Coverage metadata: https://www.diffchecker.com/9uk36tkw
     8}}}
     9
     10
     11If only select 1 band (Red) then it will have the full geo-referenced metadata.
     12
     13'''WCPS query with metadata (select 1 band)'''
     14
     15
     16{{{
     17for c in (test_projection),  d in (eobstest)
     18return encode(crsTransform((c.Red),
     19 { Lat:"http://www.opengis.net/def/crs/EPSG/0/3542", Long:"http://www.opengis.net/def/crs/EPSG/0/3542"}, {}), "netcdf")
     20}}}
     21
     22
     23'''WCPS query without metadata (multibands)'''
    324
    425{{{
     
    3253Center      (  256.0,  256.0)
    3354}}}
    34 
    35 
    36 But if not using this function then it has
    37 
    38 {{{
    39 for c in (eobstest) return encode(  c[t(0)], "netcdf")
    40 }}}
    41 
    42 
    43 {{{
    44 Driver: netCDF/Network Common Data Format
    45 Files: /home/rasdaman/Downloads/ows(125)
    46 Size is 101, 232
    47 Coordinate System is:
    48 GEOGCS["WGS 84",
    49     DATUM["WGS_1984",
    50         SPHEROID["WGS 84",6378137,298.257223563,
    51             AUTHORITY["EPSG","7030"]],
    52         AUTHORITY["EPSG","6326"]],
    53     PRIMEM["Greenwich",0,
    54         AUTHORITY["EPSG","8901"]],
    55     UNIT["degree",0.0174532925199433,
    56         AUTHORITY["EPSG","9122"]],
    57     AUTHORITY["EPSG","4326"]]
    58 Origin = (25.000000000000000,75.500000000000000)
    59 Pixel Size = (0.500000000000000,-0.500000000000000)
    60 
    61 }}}
    62 
    63