Revision 38525

View differences:

branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wmts/wmts_1_0_0/struct/WMTSBoundingBox_1_0_0.java
58 58
						String[] list = CompatLocator.getStringUtils().split(v, " ");
59 59
						if(list.length == 2) {
60 60
							try {
61
								if(!forceLongitudeFirstAxisOrder) {
61
								//if(!forceLongitudeFirstAxisOrder) {
62 62
									getLowerCorner()[0] = Double.parseDouble(list[0]);
63 63
									getLowerCorner()[1] = Double.parseDouble(list[1]);
64
								} else {
64
								/*} else {
65 65
									getLowerCorner()[1] = Double.parseDouble(list[0]);
66 66
									getLowerCorner()[0] = Double.parseDouble(list[1]);
67
								}
67
								}*/
68 68
							} catch (NumberFormatException e) {
69 69
							}
70 70
						}
......
75 75
						String[] list = CompatLocator.getStringUtils().split(v, " ");
76 76
						if(list.length == 2) {
77 77
							try {
78
								if(!forceLongitudeFirstAxisOrder) {
78
								//if(!forceLongitudeFirstAxisOrder) {
79 79
									getUpperCorner()[0] = Double.parseDouble(list[0]);
80 80
									getUpperCorner()[1] = Double.parseDouble(list[1]);
81
								} else {
82
									getLowerCorner()[1] = Double.parseDouble(list[0]);
83
									getLowerCorner()[0] = Double.parseDouble(list[1]);
84
								}
81
								/*} else {
82
									getUpperCorner()[1] = Double.parseDouble(list[0]);
83
									getUpperCorner()[0] = Double.parseDouble(list[1]);
84
								}*/
85 85
							} catch (NumberFormatException e) {
86 86
							}
87 87
						}
branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wmts/struct/WMTSTileMatrixSet.java
75 75
	}
76 76

  
77 77
	public String getSupportedCRS() {
78
		if(supportedCRS.compareTo("CRS:84") == 0)
79
			supportedCRS = "EPSG:4326";
78 80
		return supportedCRS;
79 81
	}
80 82

  
81 83
	public void setSupportedCRS(String supportedCRS) {
84
		if(supportedCRS.compareTo("CRS:84") == 0)
85
			supportedCRS = "EPSG:4326";
82 86
		this.supportedCRS = supportedCRS;
83 87
	}
84 88
	

Also available in: Unified diff