private void getBounds(Attributes attributes) {
        String minLat = attributes.getValue("minlat");
        String maxLat = attributes.getValue("maxlat");
        String minLon = attributes.getValue("minlon");
        String maxLon = attributes.getValue("maxlon");
        try {
            if (minLat != null) {
                CoordinateBoundaries.setxMin(Double.parseDouble(minLon));
            }
            if (maxLat != null) {
                CoordinateBoundaries.setxMax(Double.parseDouble(maxLon));
            }
            if (minLon != null) {
                CoordinateBoundaries.setyMin(Double.parseDouble(minLat));
            }
            if (maxLon != null) {
                CoordinateBoundaries.setyMax(Double.parseDouble(maxLat));
            }
        } catch (NumberFormatException ex) {
            Logger.getLogger(OSMParseHandler.class.getName()).log(Level.SEVERE, null, ex);
        }
    }