Cadcorp SIS API Methods

DefineNolPrjTm Method

Description

Defines a named Transverse Mercator Coordinate Reference System in a Named Object Library, replacing any existing Coordinate Reference System with the same name.

Syntax

Visual Basic
Public Function DefineNolPrjTm( _
   ByVal prj As String, _
   ByVal lat As Double, _
   ByVal lon As Double, _
   ByVal datum As String, _
   ByVal f0 As Double, _
   ByVal cx As Double, _
   ByVal cy As Double, _
   ByVal cz As Double, _
   ByVal tometre As Double _
) As Integer

Parameters

prj
The named Coordinate Reference System to create, or replace.
 
lat
The Coordinate Reference System latitude origin, in degrees.
 
lon
The Coordinate Reference System longitude origin, in degrees.
 
datum
The named Geodetic Datum on which to base the Coordinate Reference System. This can be any named Geodetic Datum previously created using DefineNolDatum, or loaded from a Named Object Library.
 
f0
The scale on Central Meridian.
 
cx
The x coordinate position of the false origin.
 
cy
The y coordinate position of the false origin.
 
cz
The z coordinate position of the false origin.
 
tometre
The conversion from Coordinate Reference System units to metres.

Remarks

Available: GEO MM ME MD OM OD SISpy

Group:

Example

sis.DefineNolPrjTm ("UserTM", 0, 0, "UserGO", 0, 99966, 500000, 0, 1)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).