GpxOptions Class
Contents
[
Hide
]Summary: Driver-specific options for GPX format.
Module: aspose.gis.formats.gpx
Full Name: aspose.gis.formats.gpx.GpxOptions
Inheritance: DriverOptions
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| GpxOptions() | Create new instance. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| close_linear_ring | bool | r/w | Determines if close a unclosed GeometryType.LINEAR_RING in each geometry. Defaults to |
| create_midpoints | bool | r/w | Determines if add a new point in the middle to each segment of geometry. Defaults to |
| delete_near_points | bool | r/w | Determines if delete near points in each geometry. Defaults to |
| delete_near_points_distance | double | r/w | Determines distance for DriverOptions.delete_near_points. Defaults to |
| linearization_tolerance | double | r/w | A tolerance to use to linearize curve geometries. |
| m_attribute | string | r/w | Determines which GPX attribute will be exported as ‘M’ coordinate of waypoints, route points and track points. Behavior is same with GpxOptions.z_attribute, defaults to |
| m_precision_model | PrecisionModel | r/w | A PrecisionModel that will be applied to M coordinate when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is PrecisionModel.exact. |
| nested_attribute_separator | string | r | A string to separate nested attribute name and its indexes. Defaults to double underscore “__”. |
| read_nested_attributes | bool | r/w | Determines if GPX points, such as ’trkpt’ and ‘rtept’, contain inner attributes and if it should be read. Defaults to |
| simplify_segments | bool | r/w | Determines if delete points lying on the same segment in each geometry. Defaults to |
| simplify_segments_distance | double | r/w | Determines distance for DriverOptions.simplify_segments. Defaults to |
| validate_geometries_on_write | bool | r/w | Determines if geometries should be validated when they are added to the layer. If set to geometry when it’s added to the layer, and if validation fails (Geometry.is_valid is |
| write_polygons_as_lines | bool | r/w | Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to |
| xy_precision_model | PrecisionModel | r/w | A PrecisionModel that will be applied to X and Y coordinates when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is PrecisionModel.exact. |
| z_attribute | string | r/w | Determines which GPX attribute will be exported as ‘Z’ coordinate of waypoints, route points and track points. If Defaults to “ele”. Possible values are names of all GPX XML attribute that can be represented as double (e.g. “speed”, “magvar”, “geoidheight” etc.) |
| z_precision_model | PrecisionModel | r/w | A PrecisionModel that will be applied to Z coordinate when geometries are added to the VectorLayer or when they are read from the VectorLayer. The default value is PrecisionModel.exact. |
Constructor: GpxOptions()
GpxOptions()
Create new instance.