Changeset 655:5c8fa4d23292
- Timestamp:
- 05/16/08 22:28:31 (2 years ago)
- Branch:
- default
- Convert:
- svn:1766ff46-f334-0410-ab20-d63176f87757/trunk@722
- Location:
- python
- Files:
-
- 3 edited
-
liblas/core.py (modified) (1 diff)
-
liblas/header.py (modified) (1 diff)
-
tests/Header.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
python/liblas/core.py
r620 r655 380 380 las.LASHeader_SetMax.errcheck = check_return 381 381 382 las.LASHeader_GetProj4.argtypes = [ctypes.c_void_p] 383 las.LASHeader_GetProj4.errcheck = check_value_free 384 las.LASHeader_SetProj4.restype = ctypes.c_int 385 las.LASHeader_SetProj4.argtypes = [ctypes.c_void_p, ctypes.c_char_p] 386 las.LASHeader_SetProj4.errcheck = check_return 387 388 382 389 las.LASWriter_Create.restype = ctypes.c_void_p 383 390 las.LASWriter_Create.argtypes = [ctypes.c_char_p, ctypes.c_void_p, ctypes.c_int] -
python/liblas/header.py
r620 r655 304 304 max = property(get_max, set_max) 305 305 306 def get_proj4(self): 307 return core.las.LASHeader_GetProj4(self.handle) 308 def set_proj4(self, value): 309 return core.las.LASHeader_SetProj4(self.handle, value) 310 proj4 = property(get_proj4, set_proj4) -
python/tests/Header.txt
r484 r655 81 81 >>> h.header_size 82 82 227 83 84 >>> h.proj4 85 '' 86 >>> h.proj4 = '+proj=utm +zone=17 +ellps=WGS84 +units=m' 87 >>> h.proj4 88 '+proj=utm +zone=17 +ellps=WGS84 +units=m'
Note: See TracChangeset
for help on using the changeset viewer.
