 The city was named after Oslo, the capital of Norway.According to the United States Census Bureau, the city has a total area of , of which is land and is water.Oslo is located along Minnesota Highway 1, adjacent to the state line of North Dakota (Walsh County).