def test_get_utm_epsg_from_lnglat(self):
     lng, lat = 15.52, 44.14
     expected_crs = CRS.UTM_33N
     crs = geo_utils.get_utm_crs(lng, lat)
     self.assertEqual(crs,
                      expected_crs,
                      msg='Expected {}, got {}'.format(expected_crs, crs))
Beispiel #2
0
 def test_get_utm_epsg_from_latlon(self):
     lat, lon = 44.14, 15.52
     expected_crs = CRS.UTM_33N
     crs = geo_utils.get_utm_crs(lat, lon)
     self.assertEqual(crs,
                      expected_crs,
                      msg="Expected {}, got {}".format(expected_crs, crs))