Projection Constructor (String, String, String)

Spotfire 15.0 API Reference
Initializes a new instance of the Projection class as a custom defined projection. This type of projection can be generated from imported GeoTIFF image files or from imported Shape files or they can be added by users.

Namespace:  Spotfire.Dxp.Application.Visuals.Maps
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax

C#
public Projection(
	string identifier,
	string proj4Definition,
	string displayName
)

Parameters

identifier
Type: SystemString
The projection identifier, either an EPSG code on the form "EPSG:1234" or "CustomIdentifierPrefix:ID" when referring to an imported coordinate reference system with id 'ID'. Any whitespace is removed from both ends of the string.
proj4Definition
Type: SystemString
The projection PROJ4 definition.
displayName
Type: SystemString
The projection display name.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown if identifier is null or empty.
ArgumentNullExceptionThrown if proj4Definition is null or empty.
ArgumentNullExceptionThrown if displayName is null empty.
ArgumentException Thrown if identifier is an unsupported EPSG code or does not start with CustomIdentifierPrefix.
Version Information


See Also

Reference