Issue #2791 fix NaN handling of smoothed contours.

Former-commit-id: 76fcfe163e [formerly a6f8a0bd2758008997555e08ea7245517535b1db]
Former-commit-id: c5aac15437
This commit is contained in:
Ben Steffensmeier 2014-03-20 13:34:52 -05:00
parent fcf4a7e142
commit a9ee8b9b2f

View file

@ -465,7 +465,7 @@ public abstract class ContourRenderable implements IRenderable {
DataSource source = FillValueFilter.apply((DataSource) data, DataSource source = FillValueFilter.apply((DataSource) data,
Constants.LEGACY_NAN); Constants.LEGACY_NAN);
source = new GeographicDataSource(source, gridGeometry); source = new GeographicDataSource(source, gridGeometry);
return new DataSource[] { data }; return new DataSource[] { source };
} else { } else {
return dataRecord; return dataRecord;
} }