adil0811 / cab-locator Goto Github PK
View Code? Open in Web Editor NEWGiven GPS co-ordinates (in degrees) of a person who needs a cab and co-ordinates of all cabs in the city stored in a text file in JSON format, it finds the used-id and name of all the cab drivers available in 50km proximity by using Great Circle Distance formula.