Reprojector Constructor (String, String, Boolean) |
Create a new reprojector object, converting from source to target as specified in the
arguments.
Namespace: DHI.ProjectionsAssembly: DHI.Projections (in DHI.Projections.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntaxpublic Reprojector(
string projectionStringSource,
string projectionStringTarget,
bool validateProjectionStrings
)
Public Sub New (
projectionStringSource As String,
projectionStringTarget As String,
validateProjectionStrings As Boolean
)
public:
Reprojector(
String^ projectionStringSource,
String^ projectionStringTarget,
bool validateProjectionStrings
)
new :
projectionStringSource : string *
projectionStringTarget : string *
validateProjectionStrings : bool -> Reprojector
Parameters
- projectionStringSource
- Type: SystemString
String for source map projection, in the WKT format for a spatial reference system, or one of the abbreviations - projectionStringTarget
- Type: SystemString
String for target map projection, in the WKT format for a spatial reference system, or one of the abbreviations - validateProjectionStrings
- Type: SystemBoolean
Bool specifying if projectionstrings should be validated or not.
It is fairly expensive to validate the projection strings, and the validation can be skipped by setting this flag to false.
Then the user must beforehand check that the projection is valid by calling IsValid(String).
See Also