Click or drag to resize

Registry.Add Method (String, String, Boolean)

Creates, initializes and stores a CoordinateReferenceSystem in the registry.

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
)

Parameters

id
Type: System.String
Identifier of the coordinate references system, e.g. EPSG:4326.
wkt
Type: System.String
Parameters of the coordinate reference system (Proj4 well known text).
allowReplace (Optional)
Type: System.Boolean
Specifies if an existing coordinate reference system should be replaced, if it exists.

Return Value

Type: Boolean
Returns true, if the coordinate reference system was added to the registry. Returns false otherwise.
See Also