Opened 11 years ago
Closed 11 years ago
#607 closed defect (fixed)
Scaling extension for XML requests to be inside wcs:Extension
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | minor | Milestone: | 9.0 |
Component: | petascope | Version: | development |
Keywords: | scaling extension | Cc: | Dimitar Misev, Vlad Merticariu, Alex Dumitru |
Complexity: | Easy |
Description
When parsing WCS GetCoverage requests, Petascope does not assume scaling elements are inside the `<wcs:Extension>' root.
This is instead correctly assumed by the range subsetting extension (petascope.wcs2.parsers.XMLGetCoverageParser
excerpt):
private void parseExtensions(GetCoverageRequest gcRequest, List<Element> extensionChildren) throws WCSException{ for (Element currentElem : extensionChildren) { //Parse RangeSubsetting elements if (currentElem.getLocalName().equalsIgnoreCase(LABEL_RANGESUBSET)) { RangeSubsettingExtension.parseGetCoverageXMLRequest(gcRequest, currentElem); } } }
Scaling extension should conform to this as well, preferably being factored out from the fat parse()
method that's inside the same class.
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Status: | new → accepted |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Extension refactored in changeset:4e91190, for both KVP and XML parsers (no REST parser was implemented, but still that is not a standard).
Note:
See TracTickets
for help on using tickets.
To all Cc-s: just adding you in case we have a volunteer here to fix this before release. I'll try to as I'm done with upgrade. Just accept the ticket in case.