Hyundai Mobis Interview Question

creating functions for converting units

Interview Answer

Anonymous

Sep 24, 2017

This function converts pixels from one unit to another. It supports conversion of distance, speed, and temperature. There are three inputs for this function: Input Raster—The input raster for which you would like to have the units converted From Unit—The current type of units the pixels are in To Unit—The type of units you want the pixels to be converted to The accepted units are: Distance units—Centimeters, Decimeters, Feet, Inches, Kilometers, Meters, Miles, Millimeters, Nautical Miles, and Yards Speed units—Feet per second, Kilometers per hour, Knots, Meters per second, and Miles per hour Temperature units—Celsius, Fahrenheit, and Kelvin

1