- Timestamp:
- Jul 25, 2007, 1:52:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/geospatial_data.py
r4633 r4640 360 360 361 361 def get_data_points(self, absolute=True, geo_reference=None, 362 as_lat_long=False ):362 as_lat_long=False,isSH=True): 363 363 """Get coordinates for all data points as an Nx2 array 364 364 … … 369 369 If a geo_reference is passed the points are returned relative 370 370 to that geo_reference. 371 372 isSH (isSouthHemisphere) is only used when getting data 373 points "as_lat_long" is True and if FALSE will return lats and 374 longs valid for the Northern Hemisphere. 371 375 372 376 Default: absolute is True. … … 380 384 for point in self.get_data_points(True): 381 385 ### UTMtoLL(northing, easting, zone, 382 lat_calced, long_calced = UTMtoLL(point[1],point[0], zone) 386 lat_calced, long_calced = UTMtoLL(point[1],point[0], 387 zone, isSH) 383 388 lats_longs.append((lat_calced, long_calced)) # to hash 384 389 return lats_longs
Note: See TracChangeset
for help on using the changeset viewer.