java code to give pseudo number to osm