User Tools

Site Tools


samples:samples:wkt

Table of Contents

WKT sample

Summary

How to use WKT (Well Known Text) geometry. Edits WKT text and shows the result.

Description

This sample illustrates use of:

Name Description
TGIS_LayerVector.RevertShapesReverts all shapes to their original state.
TGIS_LayerVector.RecalcExtentRecalculates extent.
TGIS_LayerVector.AddShapeAdds a copy of shape and makes it editable.
TGIS_Viewer.RecalcExtentCalculates a common extent.
TGIS_Shape.CreateFromWKTCreate the shape from a Well Known Text (see: www.opengis.org).

Code

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

2022/10/06 08:53

Page Tools