if ((ndX != null) && (ndY != null)) {
try {
LOGGER.finest("Handling coordinate: "+ndX.getTextContent()+" "+ndY.getTextContent());
double x = Double.parseDouble(ndX.getTextContent());
double y = Double.parseDouble(ndY.getTextContent());
envelope.merge(new Envelope(x,y,x,y));
} catch (NumberFormatException e) {
LOGGER.warning(e.getMessage());
}
}
}