Skip to content

Commit fe92c66

Browse files
committed
Disabling output CRS for non-rectified datasets.
1 parent 5d8f584 commit fe92c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var getCoverageXML = function(coverageid, options) {
8989
"<wcs:TrimHigh>" + options.subsetY[1] + "</wcs:TrimHigh></wcs:DimensionTrim>");
9090
}
9191

92-
if (options.outputCRS) {
92+
if (options.outputCRS &&(options.coverageSubtype == "RectifiedDataset")) {
9393
/* the crs extension is not released. Mapserver expects a <wcs:OutputCRS>
9494
* in the root. Will stick to that atm, but requires a change in the future.
9595
*/

0 commit comments

Comments
 (0)