ProjectedSpatialReferenceSystemParameters Class
Summary: Parameters to create projected SRS. Some of parameters have defaults.
Some parameters have reasonable defaults, so you don’t have to assign only them.
If you assign
ProjectedSpatialReferenceSystemParameters.projection_method_name and ProjectedSpatialReferenceSystemParameters.base don’t have defaults -
you have to assign some non
Module: aspose.gis.spatialreferencing
Full Name: aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| ProjectedSpatialReferenceSystemParameters() | Creates new instance. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| axises_order | ProjectedAxisesOrder | r/w | Order of axises. Defaults to ProjectedAxisesOrder.XY. |
| base | GeographicSpatialReferenceSystem | r/w | Base geographic SRS (SRS to which projection is applied). You MUST set this property to not this property does not have any default. |
| linear_unit | Unit | r/w | Units to be used in this SRS. Default is Unit.meter. |
| name | string | r/w | Name of projected SRS. Default is “Unnamed”. |
| projection_method_identifier | Identifier | r/w | Identifier of projection method. There is no default value, you might set this parameter to not if you want attach identifier to projection. If you do so - its up to you to ensure that identifier in consistent projection method name (projection method name will not change when you set this property). |
| projection_method_name | string | r/w | Name of projection method. There is no default and you MUST set this parameter to not projected SRS with no projection name is useless. |
| x_axis | Axis | r/w | Axis that describes X (horizontal) dimension. Defaults to axis with east direction. |
| y_axis | Axis | r/w | Axis that describes Y (vertical) dimension. Defaults to axis with north direction. |
Methods
| Name | Description |
|---|---|
| add_projection_parameter(parameter_name, value) | Adds projection parameter to this SRS. If parameter with such name already was added - update it. |
| get_projection_parameter(parameter_name) | Gets projection parameter with specified name. |
Constructor: ProjectedSpatialReferenceSystemParameters()
ProjectedSpatialReferenceSystemParameters()
Creates new instance.
Method: add_projection_parameter(parameter_name, value)
add_projection_parameter(parameter_name, value)
Adds projection parameter to this SRS. If parameter with such name already was added - update it.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| parameter_name | string | Name of projection parameter. |
| value | double | Value of parameter. Unit of value should be in ProjectedSpatialReferenceSystemParameters.linear_unit or GeographicSpatialReferenceSystem.angular_unit of ProjectedSpatialReferenceSystemParameters.base. |
Method: get_projection_parameter(parameter_name)
get_projection_parameter(parameter_name)
Gets projection parameter with specified name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| parameter_name | string | Name of parameter. |
Returns
| Type | Description |
|---|---|
| double | Projection parameter value. |