Revision 29073 trunk/libraries/lib3DMap-share/src/main/java/com/iver/ai2/gvsig3d/map3d/layers/Layer3DProps.java

View differences:

Layer3DProps.java
171 171
					bCanBeElev = true;
172 172
			} else if (layer instanceof FLyrWCS) {
173 173
				FLyrWCS wcsLayer = (FLyrWCS) layer;
174
				String format = wcsLayer.getFileFormat();
175 174
				Hashtable props = wcsLayer.getProperties();
175
				String format = (String) props.get("format");
176 176
				String params = (String) props.get("parameter");
177 177
				if (format.compareToIgnoreCase("GEOTIFF_INT16") == 0
178
						&& params.length() == 0)
178
						&& params.compareToIgnoreCase("bands=1") == 0)
179 179
					bCanBeElev = true;
180 180
			}
181 181
			// FEATURES

Also available in: Unified diff