mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
16 lines
391 B
Plaintext
16 lines
391 B
Plaintext
<h3>transform function</h3>
|
|
Returns the geometry transformed from the source CRS to the dest CRS.
|
|
|
|
<h4>Syntax</h4>
|
|
<pre>transform( geom, sAuthId, dAuthId )</pre>
|
|
|
|
<h4>Arguments</h4>
|
|
geom → QgsGeometry
|
|
|
|
sCrsId → the Source Auth CRS Id
|
|
|
|
dCrsId → the Dest Auth CRS Id
|
|
|
|
<h4>Example</h4>
|
|
<pre> geomToWKT( transform( $geometry, 'EPSG:2154', 'EPSG:4326' ) ) → POINT(0 51)</pre>
|