Ignore:
Timestamp:
Jan 30, 2007, 5:20:08 PM (18 years ago)
Author:
duncan
Message:

fix up bug that was getting x and y round the wrong way in geospatial when lats and longs were used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4176 r4199  
    45324532        points = gsd.get_data_points(absolute=True)
    45334533       
    4534         assert allclose(points[0][0], 308728.009)
    4535         assert allclose(points[0][1], 6180432.601)
    4536         assert allclose(points[1][0],  222908.705)
    4537         assert allclose(points[1][1], 6233785.284)
     4534
     4535        assert allclose(points[0][0], 6180432.601)
     4536        assert allclose(points[0][1], 308728.009)
     4537        assert allclose(points[1][0], 6233785.284)
     4538        assert allclose(points[1][1], 222908.705)
     4539       
    45384540        self.failUnless(gsd.get_geo_reference().get_zone() == 56,
    45394541                        'Bad zone error!')
Note: See TracChangeset for help on using the changeset viewer.