User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_shape.distance2shapecs_tgis_shape

Table of Contents

TGIS_Shape.Distance2ShapeCS method

DK11 for Python | tatukgis.pdk.TGIS_Shape.Distance2ShapeCS | Constructors | Methods | Properties

Calculate WGS84 distance between two shapes.

Available also on: Delphi | .NET | Java | ActiveX.

Syntax

# Python
def Distance2ShapeCS(
  self,
  _shp: TGIS_Shape
) -> float: 

Parameters

Name Type Description
_shp TGIS_Shape reference shape

Result

Type Description
float Distance in meters (or -1 if map units if CS is not defined).
2023/08/09 01:59

Page Tools