SAXParser parser = createParser();
InputStream inputStream =
getInputStream(myBaseUrl + "/map?bbox=" + myLeft + "," + myBottom + "," + myRight + "," + myTop);
// First send the Bound down the pipeline
mySink.process(new BoundContainer(new Bound(myRight, myLeft, myTop, myBottom, myBaseUrl)));
try {
parser.parse(inputStream, new OsmHandler(mySink, true));
} finally {
inputStream.close();