Opened 8 years ago
Closed 8 years ago
#1407 closed defect (fixed)
WCS_Set correct values in GML when request with non-native CRS
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.3 |
Component: | undecided | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
The problem is if WCS request has parameters (subsettingCrs or outputCrs which is different with nativeCrs) then the output coverage should be projected by these parameter's CRS.
example (request a subsettingCrs: EPSG(4326) on coverage (EPSG:32633))
service=WCS&version=2.0.1&request=GetCoverage&coverageId=test_irr_cube_2& subset=E(9.6238571,10.7238571)&subset=N(46.8759583,47.8759583)& subset=ansi(148654)&subsettingCrs=http://www.opengis.net/def/crs/EPSG/0/4326& outputCrs=http://www.opengis.net/def/crs/EPSG/0/4326
the output in GML still has the information for bounding box, axes names,… for the nativeCRS. It will need to fetch these information from requested CRS, also bounding box need to be translated to this CRS.
<boundedBy> <Envelope srsName="http://localhost:8080/def/crs/EPSG/0/32633" axisLabels="E N" uomLabels="metre metre" srsDimension="2"> <lowerCorner>85042.7273594 5204865.55794</lowerCorner> <upperCorner>185042.7273594 5314865.55794</upperCorner> </Envelope> </boundedBy> <domainSet> <gmlrgrid:ReferenceableGridByVectors dimension="2" gml:id="test_irr_cube_2-grid" xmlns:gmlrgrid="http://www.opengis.net/gml/3.3/rgrid" xsi:schemaLocation="http://www.opengis.net/gml/3.3/rgrid http://schemas.opengis.net/gml/3.3/referenceableGrid.xsd"> <limits> <GridEnvelope> <low>1 14</low> <high>10 24</high> </GridEnvelope> </limits> <axisLabels>E N</axisLabels> <gmlrgrid:origin> <Point gml:id="test_irr_cube_2-origin" srsName="http://localhost:8080/def/crs/EPSG/0/32633" axisLabels="E N" uomLabels="metre metre" srsDimension="2"> <pos>90042.7273594 5309865.55794</pos> </Point> </gmlrgrid:origin> <gmlrgrid:generalGridAxis> <gmlrgrid:GeneralGridAxis> <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs/EPSG/0/32633" axisLabels="E N" uomLabels="metre metre" srsDimension="2">10000 0</gmlrgrid:offsetVector>
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
this is fixed in ticket:1419 for CRS extensions OGC CITE, it is simply needed to add "outputCRS" as an attribute in <boundedby> (e.g: <boundedby srsName="http://localhost:8080/def/crs/EPSG/0/32633"> if outputCrs="http://localhost:8080/def/crs/EPSG/0/32633")