Opened 3 years ago

Closed 16 months ago

#824 closed defect (fixed)

WCPS1.5_Scaling on irregular axes is not supported

Reported by: dmisev Owned by: bphamhuu
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: pbaumann, vmerticariu, mdumitru
Complexity: Medium

Description

Spawned from #823, should be investigated why is scaling not possible on irregular axes.

http://212.201.49.21:8080/rasdaman/ows/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&CoverageId=irr_cube_2&SCALEFACTOR=2.0
should return a gmlcov, the exception is as below:

    <ows:Exception exceptionCode="UnsupportedCombination">
        <ows:ExceptionText>Error converting WCPS query to rasql query:
Scaling on irregular axis is not supported.</ows:ExceptionText>
    </ows:Exception>

Change History (10)

comment:1 Changed 3 years ago by dmisev

  • Milestone set to Future

comment:2 Changed 22 months ago by dmisev

  • Owner changed from bthapaliya to mdumitru
  • Status changed from new to assigned

comment:3 Changed 20 months ago by dmisev

  • Owner changed from mdumitru to bphamhuu

comment:4 Changed 20 months ago by pbaumann

can we do this now, or should we wait for CIS 1.1 to implement it?

comment:5 Changed 20 months ago by bphamhuu

Test in my petascope, returns a gmlcov correctly, maybe it has been fixed?

gmlcov:ReferenceableGridCoverage xmlns="http://www.opengis.net/gml/3.2" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:swe="http://www.opengis.net/swe/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcs="http://www.opengis.net/wcs/2.0" gml:id="irr_cube_2" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd">
<boundedBy>
<Envelope srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/32633&2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="E N ansi" uomLabels="metre metre d" srsDimension="3">
<lowerCorner>75042.72735943 5094865.5579385 148654</lowerCorner>
<upperCorner>705042.72735943 5454865.5579385 148661</upperCorner>
</Envelope>
</boundedBy>
<domainSet>
<gmlrgrid:ReferenceableGridByVectors xmlns:gmlrgrid="http://www.opengis.net/gml/3.3/rgrid" dimension="3" gml:id="irr_cube_2-grid" xsi:schemaLocation="http://www.opengis.net/gml/3.3/rgrid http://schemas.opengis.net/gml/3.3/referenceableGrid.xsd">

comment:6 Changed 20 months ago by pbaumann

the grid vectors are missing in the above output, they are the critical part: are they scaled properly?

comment:7 Changed 20 months ago by bphamhuu

You can see the full diff in here (left scale 2.0, right not scale)
https://www.diffchecker.com/6jeqamms

From my view, it is scaled correctly

<GridEnvelope>		                     <GridEnvelope>
   <low>0 0 0</low>		                   <low>0 0 0</low>
   <high>30 17 1</high>		                   <high>62 35 3</high>
</GridEnvelope>		                     </GridEnvelope>

comment:8 Changed 20 months ago by dmisev

  • Cc vmerticariu mdumitru added

That looks valid to me, can someone else in addition check https://www.diffchecker.com/6jeqamms

comment:9 Changed 20 months ago by bphamhuu

  • Milestone changed from Future to 10.0
  • Summary changed from Scaling on irregular axes is not supported to WCPS1.5_Scaling on irregular axes is not supported

This ticket can be closed soon if Alex/Vlad? has a confirm from https://www.diffchecker.com/6jeqamms

comment:10 Changed 16 months ago by mdumitru

  • Resolution set to fixed
  • Status changed from assigned to closed

This seems expected behaviour based on Bang's example so let's close it.

Note: See TracTickets for help on using tickets.