User Tools

Site Tools


api:dk11:delphi:gisinternals.expandforcedrtreepath_string

Table of Contents

ExpandForcedRTreePath method

DK11 for Delphi | GisInternals.ExpandForcedRTreePath | Enums | Fields | Methods | Types

Expand RTree path for file based of ForcedRTreePath.

Syntax

// Delphi
function ExpandForcedRTreePath(
  const _path : String
) : String;
// C++ Builder
extern DELPHI_PACKAGE UnicodeString ExpandForcedRTreePath(
  const UnicodeString _path
);

Parameters

Name Type Description
_path String default .Rtree path

Result

Type Description
String Expanded RTree path.

Remarks

  • If ForcedRtreePath is empty then default path of .rtree file is used,
  • If ForcedRtreePath is no empty and .rtree file in a default location does not exits then file will be managed in ForcedRTreePath directory. Suppose that ForcedRtreePath is 'c:\tmp' and original file name is 'c:\data\file.shp.rtree' then expanded path becomes: 'c:\tmp\c_data_file.shp.rtree'

2017/09/04 11:15