Click or drag to resize

RegistryAdd 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: 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: Boolean
Returns true, if the coordinate reference system was added to the registry. Returns false otherwise.
See Also