Map<String, Object> nodeProps = getNodeProperties( currentNode );
Envelope bbox = new Envelope();
double[] location = new double[] {
(Double) nodeProps.get( "lon" ),
(Double) nodeProps.get( "lat" ) };
bbox.expandToInclude( location[0], location[1] );
addNodeGeometry( currentNode, GTYPE_POINT, bbox, 1 );
poiCount++;
}
addNodeTags( currentNode, currentNodeTags, "node" );
}