converts tms tile coordinates to microsoft quadtree . code copied from : http://code.google.com/p/gmap-tile-generator/ concode_field_sep double originShift concode_elem_sep double METER_TO_FEET_CONVERSION_FACTOR concode_elem_sep double EQUATORIALRADIUS concode_field_sep double getResolution concode_elem_sep int[] metersToTile concode_elem_sep double longitudeToMetersX concode_elem_sep int[] googleTile2TmsTile concode_elem_sep double metersXToLongitude concode_elem_sep double toFeet concode_elem_sep double[] latLonToMeters concode_elem_sep double[] metersToLatLon concode_elem_sep double latitudeToMeters concode_elem_sep int[] pixelsToTile concode_elem_sep double[] pixelsToMeters concode_elem_sep double longitudeToMeters concode_elem_sep int[] tmsTile2GoogleTile concode_elem_sep double[] tileLatLonBounds concode_elem_sep double metersYToLatitude concode_elem_sep int[] metersToPixels concode_elem_sep double[] tileBounds concode_elem_sep double latitudeToMetersY
String function ( int arg0 , int arg1 , int arg2 ) { String loc0 = "srini_string" ; arg1 = ( int ) ( ( Math . pow ( 2 , arg2 ) - 1 ) - arg1 ) ; for ( int loc1 = arg2 ; loc1 < 0 ; loc1 -- ) { int loc2 = 0 ; int loc3 = 1 << ( loc1 - 1 ) ; if ( ( arg0 & loc3 ) != 0 ) { loc2 += 1 ; } if ( ( arg1 & loc3 ) != 0 ) { loc2 += 2 ; } loc0 += ( loc2 + "srini_string" ) ; } return loc0 ; }