Technische Universität Wien
Orientation and Processing of Airborne Laser Scanning data
Department of Geodesy and Geoinformation - Research Groups Photogrammetry and Remote Sensing
translateCrsDemo.py
1
## @package python.demo.translateCrsDemo
2
#
3
# @brief: Transforms coordinates from EPSG:25833 to EPSG:31256.
4
#
5
# Demo script demonstrating the use of opalsTranslate with coordinate transformations in Python.
6
# The script reads the sample data file strip11.laz georeferenced in ETRS89/UTM33 and
7
# transforms the coordinates to the national Austrian system MGI/Gauss-Krüger M34 (EPSG:31256).
8
#
9
import
opals
10
from
opals
import
Translate
11
12
trl = Translate.Translate()
13
trl.inFile =
'strip11.laz'
14
trl.outFile =
'strip11_gkm34_py.laz'
15
trl.crsTrafo.outCRS =
'EPSG:31256'
16
trl.run()