User Tools

Site Tools


samples:samples:transform

Table of Contents

Transform sample

Documentation | Samples | Transform

Summary

How to use transformation to rectify a layer.

Description

This sample illustrates use of:

Name Description
TGIS_TransformPolynomial.LoadFromFileLoad transformation definitions from the file.
TGIS_TransformPolynomial.PreparePrepare transformation based on current set of GCP points.
TGIS_TransformGCP.AddPointAdd Ground Control Point (GCP) will be used by Prepare method to compute transformation matrix.
TGIS_Transform.CuttingPolygonWKT of cutting polygon.
TGIS_Transform.ActiveTrue if transformation is active.
TGIS_Transform.LoadFromFileLoad transformation definitions from the file.
TGIS_Layer.SetCSByEPSGSets up Coordinate System to a coordinate system provided by a EPSG code.
TGIS_Layer.TransformCustom transformation.

Code

This sample is available on following platforms (click to see source code):

2022/10/28 15:03

Page Tools