Revision 2613 org.gvsig.raster.wmts/trunk/org.gvsig.raster.wmts/org.gvsig.raster.wmts.ogc/org.gvsig.raster.wmts.ogc.impl/src/main/java/org/gvsig/raster/wmts/ogc/impl/wmts_1_0_0/struct/WMTSTileMatrixSet_1_0_0.java
WMTSTileMatrixSet_1_0_0.java | ||
---|---|---|
64 | 64 |
setWellKnownScaleSet(nextText(parser)); |
65 | 65 |
} else if (compareName(parser, Tags.WMTS_TILEMATRIX)) { |
66 | 66 |
WMTSTileMatrixImpl tileMatrix = new WMTSTileMatrix_1_0_0(); |
67 |
if(bbox != null) |
|
68 |
tileMatrix.setBBoxTileMatrixSet(bbox.toRectangle2D()); |
|
69 |
tileMatrix.setForceLongitudeFirstAxisOrder(forceLongitudeFirstAxisOrder); |
|
67 |
tileMatrix.setForceChangeAxisOrder(forceChangeAxisOrder); |
|
70 | 68 |
tileMatrix.parse(parser, getTileMatrix()); |
71 | 69 |
} |
72 | 70 |
break; |
... | ... | |
82 | 80 |
if (!end) |
83 | 81 |
currentTag = parser.next(); |
84 | 82 |
} |
83 |
|
|
84 |
for (int i = 0; i < getTileMatrix().size(); i++) { |
|
85 |
if(bbox != null) |
|
86 |
((WMTSTileMatrixImpl)getTileMatrix().get(i)).setBBoxTileMatrixSet(bbox.toRectangle2D()); |
|
87 |
((WMTSTileMatrixImpl)getTileMatrix().get(i)).setSupportedCRS(getSupportedCRS()); |
|
88 |
((WMTSTileMatrixImpl)getTileMatrix().get(i)).checkChangeAxis(); |
|
89 |
} |
|
85 | 90 |
} |
86 | 91 |
|
87 | 92 |
public WMTSBoundingBoxImpl getBoundingBox() { |
88 | 93 |
if(bbox == null) { |
89 | 94 |
bbox = new WMTSBoundingBox_1_0_0(); |
90 |
bbox.setForceLongitudeFirstAxisOrder(forceLongitudeFirstAxisOrder); |
|
95 |
//bbox.setForceLongitudeFirstAxisOrder(forceLongitudeFirstAxisOrder);
|
|
91 | 96 |
} |
92 | 97 |
return bbox; |
93 | 98 |
} |
Also available in: Unified diff