public PlacesList<Place> placesForBoundingBox(int placeType, String bbox) throws FlickrException {
        Map<String, Object> parameters = new HashMap<String, Object>();
        PlacesList<Place> placesList = new PlacesList<Place>();
        parameters.put("method", METHOD_PLACES_FOR_BOUNDINGBOX);

        parameters.put("place_type", intPlaceTypeToString(placeType));
        parameters.put("bbox", bbox);

        Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
        if (response.isError()) {
            throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
        }
        Element placesElement = response.getPayload();
        NodeList placesNodes = placesElement.getElementsByTagName("place");
        placesList.setPage("1");
        placesList.setPages("1");
        placesList.setPerPage("" + placesNodes.getLength());
        placesList.setTotal("" + placesNodes.getLength());
        placesList.setBBox(placesElement.getAttribute("bbox"));
        placesList.setPlaceType(placesElement.getAttribute("place_type"));
        for (int i = 0; i < placesNodes.getLength(); i++) {
            Element placeElement = (Element) placesNodes.item(i);
            placesList.add(parsePlace(placeElement));
        }
        return placesList;
    }
public PlacesList < Place > placesForBoundingBox ( int placeType , String bbox ) throws FlickrException { Map < String , Object > parameters = new HashMap < String , Object > ( ) ; PlacesList < Place > placesList = new PlacesList < Place > ( ) ; parameters . put ( "method" , METHOD_PLACES_FOR_BOUNDINGBOX ) ; parameters . put ( "place_type" , intPlaceTypeToString ( placeType ) ) ; parameters . put ( "bbox" , bbox ) ; Response response = transportAPI . get ( transportAPI . getPath ( ) , parameters , apiKey , sharedSecret ) ; if ( response . isError ( ) ) { throw new FlickrException ( response . getErrorCode ( ) , response . getErrorMessage ( ) ) ; } Element placesElement = response . getPayload ( ) ; NodeList placesNodes = placesElement . getElementsByTagName ( "place" ) ; placesList . setPage ( "1" ) ; placesList . setPages ( "1" ) ; placesList . setPerPage ( "" + placesNodes . getLength ( ) ) ; placesList . setTotal ( "" + placesNodes . getLength ( ) ) ; placesList . setBBox ( placesElement . getAttribute ( "bbox" ) ) ; placesList . setPlaceType ( placesElement . getAttribute ( "place_type" ) ) ; for ( int i = 0 ; i < placesNodes . getLength ( ) ; i ++ ) { Element placeElement = ( Element ) placesNodes . item ( i ) ; placesList . add ( parsePlace ( placeElement ) ) ; } return placesList ; }
Return all the locations of a matching place type for a bounding box.
<p>

The maximum allowable size of a bounding box (the distance between the SW and NE corners) is governed by the place type you are requesting. Allowable
sizes are as follows:
<ul>
<li>neighbourhood: 3km (1.8mi)</li>
<li>locality: 7km (4.3mi)</li>
<li>county: 50km (31mi)</li>
<li>region: 200km (124mi)</li>
<li>country: 500km (310mi)</li>
<li>continent: 1500km (932mi)</li>
</ul>

<p>
This method does not require authentication.
</p>

@param bbox
@param placeType
@return A PlacesList
@throws FlickrException