Gets the spatial reference for the current open Item within a spanned cube in a Coordinate Reference System.
Visual Basic |
---|
Public Function GetSpatialReference( _ ByVal projection As String, _ ByVal span As Double _ ) As String |
A 16 character string which encodes a spatial reference.
The spatial reference string encodes a position and a radius which together describe an extents circle. The span used when calculating a spatial reference must be big enough to cover all of the possible coordinates. A smaller span will give spatial references with a finer resolution. The spatial reference does not affect the accuracy or resolution of the positions of the Item it is associated with, only the accuracy of whether or not the Item is loaded in a particular view. The worst that can happen with a coarse resolution is that extra items are loaded.
Available: GEO ME MD OD SISpy
Groups:
SpatRef = sis.GetSpatialReference ("*APrjNatGrid", 2000000)
Returns the spatial reference of the current item based on the National Grid coordinate reference system, within a 2 000 000m cube
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).