RegistryAdd Method (String, String, Boolean) |
Namespace:
Ptv.Components.Projections
Assembly:
Ptv.Components.Projections (in Ptv.Components.Projections.dll) Version: 1.7.10.0
Syntax public static bool Add(
string id,
string wkt,
bool allowReplace = false
)
Public Shared Function Add (
id As String,
wkt As String,
Optional allowReplace As Boolean = false
) As Boolean
public:
static bool Add(
String^ id,
String^ wkt,
bool allowReplace = false
)
static member Add :
id : string *
wkt : string *
?allowReplace : bool
(* Defaults:
let _allowReplace = defaultArg allowReplace false
*)
-> bool
Parameters
- id
- Type: SystemString
Identifier of the coordinate references system, e.g. EPSG:4326. - wkt
- Type: SystemString
Parameters of the coordinate reference system (Proj4 well known text). - allowReplace (Optional)
- Type: SystemBoolean
Specifies if an existing coordinate reference system should be replaced, if it exists.
Return Value
Type:
BooleanReturns true, if the coordinate reference system was added to the registry. Returns false otherwise.
See Also