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.RevertShapesRevert all shapes to its original state.
TGIS_LayerVector.RecalcExtentRecalculate extent.
TGIS_LayerVector.AddShapeAdd a new shape (a copy) and make 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):

2019/09/27 01:18