public Map<Long, Link> getLinks(AreaBox box) {
        String queryString;
        ResultSet resultSet = null;
        HashMap<Long, Link> links;
        links = new HashMap<Long, Link>();

        queryString = String.format("SELECT id, crossing_id_from, crossing_id_to, meters, lsiclass, tag, maxspeed, long_from, lat_from FROM link WHERE"
                + box.getSqlBetweenStatement("long_from", "lat_from"));

        resultSet = this.query(queryString);
        try {
            while (resultSet.next()) {
                long db_id = resultSet.getLong(1);
                long db_crossingFrom = resultSet.getLong(2);
                long db_crossingTo = resultSet.getLong(3);
                int db_meters = resultSet.getInt(4);
                int db_lsiClass = resultSet.getInt(5);
                String db_tag = resultSet.getString(6);
                int db_maxspeed = resultSet.getInt(7);
                // keine Einbahnstrassen und nur Autostrassen hinzufuegen
                if (!db_tag.equalsIgnoreCase("C") && (db_lsiClass / 100000 == 341)) {
                    links.put(db_id, new Link(db_crossingFrom, db_crossingTo, db_meters, db_lsiClass, db_maxspeed));
                }
            }

            resultSet.close();
        } catch (SQLException e) {
            System.out.println("Error query DB: " + e.toString());
            e.printStackTrace();
            System.exit(1);
        }

        return links;
    }