Opened 10 years ago

Closed 8 years ago

#824 closed defect (fixed)

WCPS1.5_Scaling on irregular axes is not supported

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: petascope Version: development
Keywords: Cc: Peter Baumann, Vlad Merticariu, Alex Dumitru
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 by Dimitar Misev, 10 years ago

Milestone: Future

comment:2 by Dimitar Misev, 9 years ago

Owner: changed from Bidesh Thapaliya to Alex Dumitru
Status: newassigned

comment:3 by Dimitar Misev, 9 years ago

Owner: changed from Alex Dumitru to Bang Pham Huu

comment:4 by Peter Baumann, 9 years ago

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

comment:5 by Bang Pham Huu, 9 years ago

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 by Peter Baumann, 9 years ago

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

comment:7 by Bang Pham Huu, 9 years ago

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 by Dimitar Misev, 9 years ago

Cc: Vlad Merticariu Alex Dumitru added

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

comment:9 by Bang Pham Huu, 9 years ago

Milestone: Future10.0
Summary: Scaling on irregular axes is not supportedWCPS1.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 by Alex Dumitru, 8 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.