private static double getAccuracy0(final CoordinateOperation operation) {
final Collection<PositionalAccuracy> accuracies = operation.getCoordinateOperationAccuracy();
if (accuracies != null) for (final PositionalAccuracy accuracy : accuracies) {
if (accuracy != null) for (final Result result : accuracy.getResults()) {
if (result instanceof QuantitativeResult) {
final QuantitativeResult quantity = (QuantitativeResult) result;
final Collection<? extends Record> records = quantity.getValues();
if (records != null) {
final Unit<?> unit = quantity.getValueUnit();
if (unit!=null && SI.METER.isCompatible(unit)) {
for (final Record record : records) {
for (final Object value : record.getAttributes().values()) {
if (value instanceof Number) {
double v = ((Number) value).doubleValue();