User Tools

Site Tools


api:dk11:delphi:gisutils.tgis_utils

Table of Contents



TGIS_Utils class

DK for Delphi | GisUtils.TGIS_Utils | Classes | Methods | Properties

Static utility class providing general-purpose GIS geometry, extent, measurement, and shape helper methods.

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

Syntax

// Delphi
type
  TGIS_Utils = class
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_Utils

Methods

Inherited Overrides Protected
Name Visibility Description
ConstructParamAlignment public Converts a
ConstructParamBoolean public Convert an internal Boolean value into its literal representation.
ConstructParamChart public Convert an internal chart style value into its literal representation.
ConstructParamColor public Convert an internal color value into its literal representation.
ConstructParamDormant public Convert an internal layer dormant mode value into its literal representation.
ConstructParamFloat public Convert an internal floating-point value into its literal representation.
ConstructParamFontStyle public Convert an internal font style set into its literal representation.
ConstructParamInteger public Converts an integer value to its parameter string representation.
ConstructParamMarker public Convert an internal marker style value into its literal representation.
ConstructParamPattern public Convert an internal brush style value into its literal representation.
ConstructParamPen public Convert an internal pen style value into its literal representation.
ConstructParamPosition public Convert a label position enumeration value to its literal string representation.
ConstructParamString public Convert an internal string value to its literal string representation.
DotFloatToStr public Convert a Double to a string using a dot as the decimal separator.
DotStrToFloat public Convert a string to a Double using a dot as the decimal separator.
ExecutingFolder public Get the folder containing the currently executing process.
GisAngleToStr(Double) public Convert an angle in radians to its string representation.
GisAngleToStr(Double; Boolean) public Convert an angle in radians to its string representation.
GisAngleToStr(Double; Boolean; Integer) public Convert an angle in radians to its string representation.
GisArcFrom3Points public Calculates an arc from any three points on the circle outline.
GisArcFrom3Points3D public Calculates an arc from any three 3D points on the circle outline.
GisBuildLineStringFromEdges public Builds a line string shape from a list of non-complex edge arcs.
GisBuildPolygonFromEdges public Builds a polygon shape from a list of non-complex edge arcs.
GisCanonicalSQLName(String) public Returns a canonical SQL (Structured Query Language) identifier name.
GisCanonicalSQLName(String; String) public Returns a canonical SQL (Structured Query Language) name.
GisCenterPoint public Calculates the center point of an extent.
GisCircleFrom3Points public Calculates a circle passing through three outline points.
GisCircleFrom3Points3D public Calculates a circle from any three 3D points on the circle outline.
GisColorMap public Creates a color map entry for a color ramp.
GisColorMapEx public Create an extended color map entry for color ramps.
GisCommonExtent public Common area of two extents.
GisCommonExtent3D public Common volume of two 3D extents.
GisContainExtent public Is _extent2 wholly encompassed by _extent1?
GisCreateLayer public Create a layer instance for the specified registered layer name and path.
GisCreateReprojectedShape public Creates a reprojected copy of a shape between two CRS (Coordinate Reference System) definitions.
GisCreateShapeFromGDO public Create a shape from a GeoMedia Database Object (GDO).
GisCreateShapeFromGML public Create a shape from GML (Geography Markup Language) text.
GisCreateShapeFromJSON public Create a shape from GeoJSON (Geographic JSON) text.
GisCreateShapeFromWKB public Creates a shape from WKB (Well-Known Binary) geometry data.
GisCreateShapeFromWKT public Creates a shape from WKT (Well-Known Text) geometry text.
GisCUDAEngine public Return the global CUDA (Compute Unified Device Architecture) engine instance.
GisDecodeAngle(Double; Integer; Integer; Integer; Integer; Integer) public Decodes an angle value into degrees, minutes, and seconds.
GisDecodeAngle(Double; Integer; Integer; Integer; Integer; Integer; Integer) public Decodes an angle value in radians into degrees, minutes, seconds, fractional seconds, and direction sign.
GisDecodeLatitude(Double; Integer; Integer; Integer; Integer; Integer) public Decodes a latitude value in radians into degrees, minutes, seconds, fractional seconds, and hemisphere sign components.
GisDecodeLatitude(Double; Integer; Integer; Integer; Integer; Integer; Integer) public Decodes a latitude value in radians into degrees, minutes, seconds, and fractional seconds using the specified precision.
GisDecodeLongitude(Double; Integer; Integer; Integer; Integer; Integer) public Decode a longitude angle in radians into degrees, minutes, seconds, fractional seconds, and hemisphere sign.
GisDecodeLongitude(Double; Integer; Integer; Integer; Integer; Integer; Integer) public Decode a longitude angle in radians into degrees, minutes, seconds, fractional seconds, and hemisphere sign using the specified precision.
GisDefaultField public Gets the default value for the selected field type.
GisDeNormalizedSQLName public Prepares a de-normalized SQL (Structured Query Language) field name.
GisDMax public Maximum of two doubles.
GisDMin public Minimum of two doubles.
GisEncodeAngle(Double) public Encode an angle value from degrees.
GisEncodeAngle(Double; Double) public Encode an angle value from degrees and minutes.
GisEncodeAngle(Double; Double; Double) public Encode an angle value from degrees, minutes, and seconds.
GisEncodeAngle(Double; Double; Double; Integer) public Encode an angle value from degrees, minutes, seconds, and sign.
GisEncodeLatitude(Double) public Encode a latitude value from degrees.
GisEncodeLatitude(Double; Double) public Encode a latitude value from degrees and minutes.
GisEncodeLatitude(Double; Double; Double) public Encode a latitude value from degrees, minutes, and seconds.
GisEncodeLatitude(Double; Double; Double; Integer) public Encode a latitude value from degrees, minutes, seconds, and hemisphere sign.
GisEncodeLongitude(Double) public Encode longitude value from the values specified as the degrees, minutes, seconds.
GisEncodeLongitude(Double; Double) public Encodes a geographic longitude from degree and minute components.
GisEncodeLongitude(Double; Double; Double) public Encode longitude value from the values specified as the degrees, minutes, seconds.
GisEncodeLongitude(Double; Double; Double; Integer) public Encodes a longitude value from degree, minute, and second components with an explicit hemisphere sign.
GisExportArcToGDO public Export the shape geometry into a GeoMedia Database Object (GDO).
GisExportArcToGML public Export the shape geometry to GML (Geography Markup Language).
GisExportArcToJSON public Export the shape geometry to GeoJSON (Geographic JSON) text.
GisExportArcToVAR public Export the shape geometry into an internal SHP-compatible binary format.
GisExportArcToWKB public Export the shape geometry to WKB (Well-Known Binary).
GisExportArcToWKT public Export the shape geometry to WKT (Well-Known Text).
GisExportComplexToGDO public Export the shape geometry into a GeoMedia Database Object (GDO).
GisExportComplexToGML public Export the shape geometry to GML (Geography Markup Language).
GisExportComplexToJSON public Export the shape geometry to GeoJSON (Geographic JSON) text.
GisExportComplexToVAR public Export the shape geometry to the internal VAR binary format.
GisExportComplexToWKB public Export the shape geometry to WKB (Well-Known Binary).
GisExportComplexToWKT public Export complex shape geometry to WKT (Well-Known Text).
GisExportGeometry2Hex public Export shape geometry to a hexadecimal geometry representation for PostgreSQL ODBC driver use.
GisExportMultiPointToGDO public Export the shape geometry into a GeoMedia Database Object (GDO).
GisExportMultiPointToGML public Export the multipoint shape geometry to GML (Geography Markup Language).
GisExportMultiPointToJSON public Export the shape geometry to GeoJSON (Geographic JSON) text.
GisExportMultiPointToVAR public Export the multipoint shape geometry into an internal VAR format.
GisExportMultiPointToWKB public Export the multipoint shape geometry to WKB (Well-Known Binary).
GisExportMultiPointToWKT public Export the shape geometry to WKT (Well-Known Text).
GisExportPointToGDO public Export the point shape geometry to a GeoMedia Database Object (GDO).
GisExportPointToGML public Export the shape geometry to GML (Geography Markup Language).
GisExportPointToJSON public Export the point shape geometry to GeoJSON (Geographic JSON) text.
GisExportPointToVAR public Export the point shape geometry into an internal VAR format.
GisExportPointToWKB public Export the point shape geometry to WKB (Well-Known Binary).
GisExportPointToWKT public Export point shape geometry to WKT (Well-Known Text).
GisExportPolygonToGDO public Export the Shape geometry into a GeoMedia Database Object (GDO).
GisExportPolygonToGML public Export the polygon shape geometry to GML (Geography Markup Language).
GisExportPolygonToJSON public Export polygon shape geometry to GeoJSON (Geographic JSON) text.
GisExportPolygonToVAR public Export the shape geometry to the internal VAR format.
GisExportPolygonToWKB public Export the shape geometry to WKB (Well-Known Binary).
GisExportPolygonToWKT public Export the polygon shape geometry to WKT (Well-Known Text).
GisExportWKB2Hex public Export shape geometry to WKB (Well-Known Binary) encoded as a hexadecimal string.
GisExtent public Create a new 2D extent.
GisExtent2DFrom3D public Convert a 3D extent to a 2D extent.
GisExtent3D public Create a new 3D extent.
GisExtent3DFrom2D public Convert a 2D extent to a 3D extent.
GisExtentArea public Calculate the area of a 2D extent.
GisExtentArea3D public Calculate the area of a 3D extent projected onto the XY plane.
GisExtentCubature public Calculate the area of a 2D extent.
GisExtentCubature3D public Calculate the cubature of a 3D extent.
GisFilePath public Returns the directory part of a given path.
GisGetLinesCrossing public Gets the crossing point for two lines.
GisGridArray public Initialize a grid array and set all values to NoData.
GisIsCommonExtent public Tests whether two 2D extents share a common area.
GisIsCommonExtent3D public Tests whether two 3D extents share a common volume.
GisIsContainExtent public True if _extent2 fully covers _extent1.
GisIsContainExtent3D public True if _extent2 fully covers _extent1 in 3D.
GisIsEmptyExtent public Is extent empty? Extent is empty if (XMin>=XMax) or (YMin>=YMax)
GisIsEmptyExtent3D public Is extent empty? Extent is empty if (XMin>=XMax) or (YMin>=YMax) or (ZMin>=ZMax)
GisIsLinesCommonPoint public Tests whether two lines have at least one common point.
GisIsNoWorld public Is extent same as no world (non existing extent)?
GisIsNoWorld3D public Tests whether a 3D extent equals the no-world sentinel value.
GisIsPointInsideExtent public Test whether a point is inside an extent.
GisIsPointInsidePolygon public Test whether a point is inside a polygon shape.
GisIsSameExtent(TGIS_Extent; TGIS_Extent) public Test whether two 2D extents are equal.
GisIsSameExtent(TGIS_Extent; TGIS_Extent; Double) public Test whether two 2D extents are equal within a tolerance.
GisIsSameExtent3D(TGIS_Extent3D; TGIS_Extent3D) public Test whether two 3D extents are equal.
GisIsSameExtent3D(TGIS_Extent3D; TGIS_Extent3D; Double) public Test whether two 3D extents are equal within a tolerance.
GisIsSameExtent3DM(TGIS_Extent3D; TGIS_Extent3D) public Are two 3D extents equal, including measure?
GisIsSameExtent3DM(TGIS_Extent3D; TGIS_Extent3D; Double) public Are two 3D extents equal within tolerance, including measure?
GisIsSamePoint(TGIS_Point; TGIS_Point) public Test whether two 2D points are equal.
GisIsSamePoint(TGIS_Point; TGIS_Point; Double) public Test whether two 2D points are equal within a tolerance.
GisIsSamePoint3D(TGIS_Point3D; TGIS_Point3D) public Are two 3D points equal in 3D?
GisIsSamePoint3D(TGIS_Point3D; TGIS_Point3D; Double) public Test whether two 3D points are equal within a tolerance.
GisIsSamePoint3DM(TGIS_Point3D; TGIS_Point3D) public Test whether two 3D points are equal, including measure.
GisIsSamePoint3DM(TGIS_Point3D; TGIS_Point3D; Double) public Test whether two 3D points are equal within a tolerance, including measure.
GisIsWholeWorld public Tests whether an extent is equal to the whole world extent.
GisIsWholeWorld3D public Tests whether a 3D extent equals the whole-world extent.
GisLatitudeToStr(Double) public Converts a latitude value in radians to a formatted text string.
GisLatitudeToStr(Double; Boolean) public Converts a latitude value in radians to a formatted text string.
GisLatitudeToStr(Double; Boolean; Integer) public Convert a latitude in radians to its string representation.
GisLatitudeToStr(Double; Boolean; Integer; Boolean) public Convert a latitude in radians to its string representation.
GisLine(Double; Double; Double; Double) public Create a new 2D line segment from coordinate values.
GisLine(TGIS_Point; TGIS_Point) public Create a new 2D line segment from two points.
GisLine2Line public Calculates line to line distance.
GisLine2Line3D public Calculates the distance between two 3D line segments.
GisLine2Point public Calculates line-to-point distance.
GisLine2Point3D public Calculates line-to-point distance in 3D.
GisLine2Point3DFuzzy public Calculates an approximate distance from a 3D point to a 3D line.
GisLine2PointFuzzy public Calculates an approximate distance from a point to a line.
GisLine3D public Create a new 3D line segment from two 3D points.
GisLineLength public Calculates the length of a line segment between two points.
GisLocalizedStringsFromFile public Updates resource string variables with localized content loaded from a file.
GisLocalizedStringsFromString public Updates resource string variables with localized content loaded from a string.
GisLongitudeToStr(Double) public Convert a longitude in radians to its string representation.
GisLongitudeToStr(Double; Boolean) public Converts a longitude value in radians to a formatted text string.
GisLongitudeToStr(Double; Boolean; Integer) public Converts a longitude value in radians to a formatted text string.
GisLongitudeToStr(Double; Boolean; Integer; Boolean) public Convert a longitude in radians to its string representation.
GisMaxExtent public Maximum of two extents.
GisMaxExtent3D public Maximum of two 3D extents.
GisMetadata public Access function for a general purpose metadata container.
GisMetadataAsBoolean public Read a Boolean value from global metadata.
GisMetadataAsFloat public Read a floating-point value from global metadata.
GisMetadataAsInteger public Read an integer value from global metadata.
GisMetadataAsString public Read a string value from global metadata.
GisMovePoint public Moves a point by a given delta value.
GisMovePoint3D public Move point by a given delta value in 3D.
GisNormalizedSQLName public Prepares a normalized SQL (Structured Query Language) field name.
GisNoWorld public Returns a 2D no-world extent.
GisNoWorld3D public Returns a 3D no-world extent.
GisOpenCLEngine public Return the global OpenCL (Open Computing Language) engine instance.
GisPathRelative public Returns the path specified by _path relative to the directory specified by _dir.
GisPoint public Create a new 2D GIS point.
GisPoint2DFrom3D public Convert a 3D point to a 2D point.
GisPoint2Point public Calculates the Euclidean distance between two 2D points.
GisPoint2Point3D public Calculates the Euclidean distance between two 3D points.
GisPoint3D(Double; Double; Double) public Create a new 3D GIS point.
GisPoint3D(Double; Double; Double; Double) public Create a new 3D GIS point with measure.
GisPoint3DFrom2D public Convert a 2D point to a 3D point.
GisPointOnLine public Calculates the projection of a point onto a line.
GisPointOnLine3D public Calculates the projection of a 3D point onto a 3D line.
GisPointsDelta public Calculates delta between two points.
GisPointsDelta3D public Calculates the delta between two 3D points.
GisRadToCompass public Converts an angle in radians to a compass direction string (for example, N, NW, or SW).
GisRotatePoint public Rotates a 2D point around a reference point by the specified angle.
GisSamplesDataDir public Returns the directory in which sample data was installed.
GisSamplesDataDirDownload public Downloads the default sample data set if necessary and returns the directory where the data set was installed.
GisSamplesDataDirDownload(String) public Downloads the specified sample data subset if necessary and returns the directory where the subset was installed.
GisSamplesDataDirDownloadAsync public Asynchronously downloads the default sample data set if necessary and returns a task yielding the directory where it was installed.
GisSamplesDataDirDownloadAsync(String) public Asynchronously downloads the specified sample data subset if necessary and returns a task yielding the directory where it was installed.
GisScalePoint public Scale point relative to a reference point by a given factor.
GisScalePoint3D public Scale 3D point relative to a reference point by a given factor.
GisSetProxySettings public Set global proxy settings for network connections.
GisStrToAngle public Convert an angle string representation to a value in radians.
GisStrToLatitude public Convert a latitude string representation to a value in radians.
GisStrToLongitude public Convert a longitude string representation to a value in radians.
GisSunPosition(TGIS_Point; TDateTime; Double; Double) public Calculate the Sun's position from time, date, and location on Earth.
GisSunPosition(TGIS_Point; TDateTime; Double; Double; Double) public Calculate the Sun's position from time, date, and location on Earth.
GisSupportedFiles public Prepare a list of supported files for use by open or save dialog boxes.
GisSystemCodePage public Get the current system code page.
GisTopologyForceShapeFixing public Sets the default topological operation mode for automatic shape fixing.
GisWholeWorld public Returns the whole world extent.
GisWholeWorld3D public Returns the whole world 3D extent.
GIS_RELATE_CONTAINS public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for geometries that contain another geometry.
GIS_RELATE_CROSS public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for crossing geometries.
GIS_RELATE_CROSS_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for crossing line geometries.
GIS_RELATE_DISJOINT public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for disjoint geometries.
GIS_RELATE_EQUALITY public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for geometry equality.
GIS_RELATE_INTERSECT public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for intersecting geometries.
GIS_RELATE_INTERSECT1 public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for one intersect relation variant.
GIS_RELATE_INTERSECT2 public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for one intersect relation variant.
GIS_RELATE_INTERSECT3 public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for one intersect relation variant.
GIS_RELATE_INTERSECT_BOUNDARY_BOUNDARY public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for boundary-to-boundary intersection.
GIS_RELATE_INTERSECT_BOUNDARY_INTERIOR public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for boundary-to-interior intersection.
GIS_RELATE_INTERSECT_INTERIOR_BOUNDARY public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for interior-to-boundary intersection.
GIS_RELATE_INTERSECT_INTERIOR_INTERIOR public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for interior-to-interior intersection.
GIS_RELATE_LINE_CROSSTRAVERS_POLYGON public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for a line that crosses or traverses a polygon.
GIS_RELATE_LINE_CROSS_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for one line crossing another line.
GIS_RELATE_LINE_CROSS_POLYGON public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for a line crossing a polygon.
GIS_RELATE_LINE_TRAVERS_POLYGON public Predefined DE-9IM (Dimensionally Extended Nine-Intersection Model) matrix pattern for a line traversing a polygon interior.
GIS_RELATE_OVERLAP public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for overlapping geometries.
GIS_RELATE_OVERLAP_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for overlapping line geometries.
GIS_RELATE_POLYGON_CROSSED_BY_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for a polygon crossed by a line.
GIS_RELATE_POLYGON_CROSSTRAVERSED_BY_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for a polygon crossed or traversed by a line.
GIS_RELATE_POLYGON_TRAVERSED_BY_LINE public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for a polygon traversed by a line.
GIS_RELATE_TOUCH public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for touching geometries.
GIS_RELATE_TOUCH_BOUNDARY_BOUNDARY public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for boundary-to-boundary touch relation.
GIS_RELATE_TOUCH_BOUNDARY_INTERIOR public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for boundary-to-interior touch relation.
GIS_RELATE_TOUCH_INTERIOR public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for touching geometries with interior contact rules.
GIS_RELATE_TOUCH_INTERIOR_BOUNDARY public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for interior-to-boundary touch relation.
GIS_RELATE_WITHIN public Predefined DE-9IM (Dimensionally Extended nine-Intersection Model) matrix pattern for geometries within another geometry.
GIS_RENDER_SIZE public Size value indicating that the renderer-defined size must be used.
ParamAlignment public Converts a label alignment string literal into a
ParamBitmap public Converts a bitmap parameter literal to a bitmap value.
ParamBoolean public Converts a Boolean parameter literal to a Boolean value.
ParamChart public Convert a chart style literal into its internal representation.
ParamColor public Convert a color literal into its internal representation.
ParamDormant public Convert a layer dormant mode literal into its internal representation.
ParamFloat public Convert a string parameter value to a floating-point number.
ParamFontStyle public Convert a font style literal into an internal font style set.
ParamInteger public Convert an integer literal into its internal representation.
ParamMarker public Convert a marker style literal into its internal representation.
ParamPattern public Convert a brush style literal into its internal representation.
ParamPen public Convert a pen style literal into a pen style value.
ParamPosition public Convert a label position literal to its internal enumeration representation.
ParamString public Convert a literal string value into an internal representation.
ParamSymbol public Convert a symbol literal into a symbol value.
SetLicense public Set the license code.

Properties

Inherited Protected
Name Visibility Description
CSAreaList public Global instance of the list of all areas of use.
CSDatumList public Global instance of the list of all datums.
CSEllipsoidList public Global instance of the list of all ellipsoids.
CSGeographicCoordinateSystemList public Global instance of the list of all GCS (Geographic Coordinate System) definitions.
CSPrimeMeridianList public Global instance of the list of all prime meridians.
CSProjectedCoordinateSystemList public Global instance of the list of all PCS (Projected Coordinate System) definitions.
CSProjList public Global instance of the list of all projections.
CSTransformList public Global instance of the list of all coordinate transformations.
CSUnitsList public Global instance of the list of all coordinate system units.
CSUnknownCoordinateSystem public Global instance of the unknown coordinate system singleton.
ForcedRTreePath public Gets or sets the forced path for RTree storage.
GisAliasList public Storage for registered aliases.
GisColorRampList public List of available color ramps.
GisEnvironmentInfo public Runtime environment information.
GisKeyList public Storage for registered keys.
GisPasswordList public Storage for registered passwords.
GisProxySettings public Proxy settings used for network connections.
PipelineOperations public Global list of all defined pipeline operations.
RendererManager public List of registered renderers.
SymbolList public List of symbols.

References

2026/11/13 23:20

Page Tools