aspose-gis-net 25.7.0__py3-none-manylinux1_x86_64.whl → 25.9.0__py3-none-manylinux1_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aspose-gis-net might be problematic. Click here for more details.

Files changed (115) hide show
  1. aspose/assemblies/gis/Aspose.GIS.dll +0 -0
  2. aspose/assemblies/gis/Microsoft.Data.Sqlite.dll +0 -0
  3. aspose/assemblies/gis/SQLitePCLRaw.batteries_v2.dll +0 -0
  4. aspose/assemblies/gis/SQLitePCLRaw.core.dll +0 -0
  5. aspose/assemblies/gis/SQLitePCLRaw.provider.e_sqlite3.dll +0 -0
  6. aspose/assemblies/gis/WrpInterop.Aspose.Gis.dll +0 -0
  7. aspose/assemblies/gis/libe_sqlite3.so +0 -0
  8. aspose/gis/__init__.pyi +6 -2697
  9. aspose/gis.cpython-310-x86_64-linux-gnu.so +0 -0
  10. aspose/gis.cpython-311-x86_64-linux-gnu.so +0 -0
  11. aspose/gis.cpython-312-x86_64-linux-gnu.so +0 -0
  12. aspose/gis.cpython-313-x86_64-linux-gnu.so +0 -0
  13. aspose/gis.cpython-35m-x86_64-linux-gnu.so +0 -0
  14. aspose/gis.cpython-36m-x86_64-linux-gnu.so +0 -0
  15. aspose/gis.cpython-37m-x86_64-linux-gnu.so +0 -0
  16. aspose/gis.cpython-38-x86_64-linux-gnu.so +0 -0
  17. aspose/gis.cpython-39-x86_64-linux-gnu.so +0 -0
  18. aspose/pycore/__init__.pyi +55 -56
  19. aspose/pydrawing/__init__.pyi +7 -4089
  20. aspose/pyreflection/__init__.pyi +7 -11
  21. {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/METADATA +6 -3
  22. {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/RECORD +21 -109
  23. .__pyi_patched +0 -0
  24. aspose/gis/common/__init__.pyi +0 -1028
  25. aspose/gis/common/formats/__init__.pyi +0 -98
  26. aspose/gis/common/formats/dbase/__init__.pyi +0 -250
  27. aspose/gis/common/formats/gdbtable/__init__.pyi +0 -1022
  28. aspose/gis/common/formats/mapinfo/__init__.pyi +0 -347
  29. aspose/gis/common/formats/mapinfo/graphicalobjects/__init__.pyi +0 -662
  30. aspose/gis/common/formats/mapinfo/interchangeformat/__init__.pyi +0 -217
  31. aspose/gis/common/formats/mapinfo/styling/__init__.pyi +0 -163
  32. aspose/gis/common/formats/mapinfo/tabformat/__init__.pyi +0 -143
  33. aspose/gis/common/formats/mapinfo/tabformat/map/__init__.pyi +0 -430
  34. aspose/gis/common/formats/wkb/__init__.pyi +0 -120
  35. aspose/gis/common/formats/wkt/__init__.pyi +0 -420
  36. aspose/gis/common/formats/xml/__init__.pyi +0 -173
  37. aspose/gis/common/io/__init__.pyi +0 -290
  38. aspose/gis/epsg/__init__.pyi +0 -357
  39. aspose/gis/formats/__init__.pyi +0 -91
  40. aspose/gis/formats/bmpw/__init__.pyi +0 -134
  41. aspose/gis/formats/csv/__init__.pyi +0 -608
  42. aspose/gis/formats/database/__init__.pyi +0 -173
  43. aspose/gis/formats/database/dataediting/__init__.pyi +0 -105
  44. aspose/gis/formats/database/fromdefinition/__init__.pyi +0 -141
  45. aspose/gis/formats/esriascii/__init__.pyi +0 -292
  46. aspose/gis/formats/esrijson/__init__.pyi +0 -512
  47. aspose/gis/formats/filegdb/__init__.pyi +0 -722
  48. aspose/gis/formats/gdal/__init__.pyi +0 -478
  49. aspose/gis/formats/geojson/__init__.pyi +0 -620
  50. aspose/gis/formats/geojsonseq/__init__.pyi +0 -572
  51. aspose/gis/formats/geotiff/__init__.pyi +0 -292
  52. aspose/gis/formats/gml/__init__.pyi +0 -574
  53. aspose/gis/formats/gpx/__init__.pyi +0 -543
  54. aspose/gis/formats/infile/__init__.pyi +0 -582
  55. aspose/gis/formats/inmemory/__init__.pyi +0 -337
  56. aspose/gis/formats/jpegw/__init__.pyi +0 -134
  57. aspose/gis/formats/kml/__init__.pyi +0 -556
  58. aspose/gis/formats/kml/styles/__init__.pyi +0 -636
  59. aspose/gis/formats/mapinfointerchange/__init__.pyi +0 -531
  60. aspose/gis/formats/mapinfotab/__init__.pyi +0 -530
  61. aspose/gis/formats/osmxml/__init__.pyi +0 -543
  62. aspose/gis/formats/pngw/__init__.pyi +0 -134
  63. aspose/gis/formats/postgis/__init__.pyi +0 -262
  64. aspose/gis/formats/shapefile/__init__.pyi +0 -511
  65. aspose/gis/formats/sqlserver/__init__.pyi +0 -248
  66. aspose/gis/formats/tiffw/__init__.pyi +0 -134
  67. aspose/gis/formats/topojson/__init__.pyi +0 -596
  68. aspose/gis/formats/worldfile/__init__.pyi +0 -134
  69. aspose/gis/formats/xyztile/__init__.pyi +0 -155
  70. aspose/gis/geometries/__init__.pyi +0 -15970
  71. aspose/gis/geotools/__init__.pyi +0 -546
  72. aspose/gis/geotools/extensions/__init__.pyi +0 -107
  73. aspose/gis/geotools/layersmap/__init__.pyi +0 -311
  74. aspose/gis/geotools/mapbuilder/__init__.pyi +0 -141
  75. aspose/gis/geotools/wayanalyzer/__init__.pyi +0 -187
  76. aspose/gis/imagemetadata/__init__.pyi +0 -297
  77. aspose/gis/indexing/__init__.pyi +0 -103
  78. aspose/gis/indexing/bplustree/__init__.pyi +0 -118
  79. aspose/gis/indexing/qixtree/__init__.pyi +0 -121
  80. aspose/gis/indexing/rtree/__init__.pyi +0 -153
  81. aspose/gis/labeling/__init__.pyi +0 -235
  82. aspose/gis/labeling/line/__init__.pyi +0 -279
  83. aspose/gis/painting/__init__.pyi +0 -790
  84. aspose/gis/projections/__init__.pyi +0 -272
  85. aspose/gis/py.typed +0 -0
  86. aspose/gis/raster/__init__.pyi +0 -586
  87. aspose/gis/raster/web/__init__.pyi +0 -127
  88. aspose/gis/relationship/__init__.pyi +0 -91
  89. aspose/gis/relationship/joins/__init__.pyi +0 -161
  90. aspose/gis/rendering/__init__.pyi +0 -572
  91. aspose/gis/rendering/colorizers/__init__.pyi +0 -202
  92. aspose/gis/rendering/formats/__init__.pyi +0 -91
  93. aspose/gis/rendering/formats/bmp/__init__.pyi +0 -111
  94. aspose/gis/rendering/formats/jpeg/__init__.pyi +0 -111
  95. aspose/gis/rendering/formats/png/__init__.pyi +0 -111
  96. aspose/gis/rendering/formats/svg/__init__.pyi +0 -111
  97. aspose/gis/rendering/labelings/__init__.pyi +0 -416
  98. aspose/gis/rendering/sld/__init__.pyi +0 -109
  99. aspose/gis/rendering/symbolizers/__init__.pyi +0 -882
  100. aspose/gis/spatialreferencing/__init__.pyi +0 -3005
  101. aspose/gis/topology/__init__.pyi +0 -342
  102. aspose/gis/topology/algorithms/__init__.pyi +0 -98
  103. aspose/gis/topology/buffer/__init__.pyi +0 -214
  104. aspose/gis/topology/graph/__init__.pyi +0 -338
  105. aspose/pycore/py.typed +0 -0
  106. aspose/pydrawing/design.pyi +0 -24
  107. aspose/pydrawing/drawing2d.pyi +0 -1324
  108. aspose/pydrawing/imaging.pyi +0 -1988
  109. aspose/pydrawing/printing.pyi +0 -995
  110. aspose/pydrawing/py.typed +0 -0
  111. aspose/pydrawing/text.pyi +0 -75
  112. aspose/pyreflection/py.typed +0 -0
  113. {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/WHEEL +0 -0
  114. {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/entry_points.txt +0 -0
  115. {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/top_level.txt +0 -0
@@ -1,3005 +0,0 @@
1
- from typing import List, Optional, Dict, Iterable, Any, overload
2
- import io
3
- import collections.abc
4
- from collections.abc import Sequence
5
- from datetime import datetime
6
- from aspose.pyreflection import Type
7
- import aspose.pycore
8
- import aspose.pydrawing
9
- from uuid import UUID
10
- import aspose.gis
11
- import aspose.gis.common
12
- import aspose.gis.common.formats
13
- import aspose.gis.common.formats.dbase
14
- import aspose.gis.common.formats.gdbtable
15
- import aspose.gis.common.formats.mapinfo
16
- import aspose.gis.common.formats.mapinfo.graphicalobjects
17
- import aspose.gis.common.formats.mapinfo.interchangeformat
18
- import aspose.gis.common.formats.mapinfo.styling
19
- import aspose.gis.common.formats.mapinfo.tabformat
20
- import aspose.gis.common.formats.mapinfo.tabformat.map
21
- import aspose.gis.common.formats.wkb
22
- import aspose.gis.common.formats.wkt
23
- import aspose.gis.common.formats.xml
24
- import aspose.gis.common.io
25
- import aspose.gis.epsg
26
- import aspose.gis.formats
27
- import aspose.gis.formats.bmpw
28
- import aspose.gis.formats.csv
29
- import aspose.gis.formats.database
30
- import aspose.gis.formats.database.dataediting
31
- import aspose.gis.formats.database.fromdefinition
32
- import aspose.gis.formats.esriascii
33
- import aspose.gis.formats.esrijson
34
- import aspose.gis.formats.filegdb
35
- import aspose.gis.formats.gdal
36
- import aspose.gis.formats.geojson
37
- import aspose.gis.formats.geojsonseq
38
- import aspose.gis.formats.geotiff
39
- import aspose.gis.formats.gml
40
- import aspose.gis.formats.gpx
41
- import aspose.gis.formats.infile
42
- import aspose.gis.formats.inmemory
43
- import aspose.gis.formats.jpegw
44
- import aspose.gis.formats.kml
45
- import aspose.gis.formats.kml.styles
46
- import aspose.gis.formats.mapinfointerchange
47
- import aspose.gis.formats.mapinfotab
48
- import aspose.gis.formats.osmxml
49
- import aspose.gis.formats.pngw
50
- import aspose.gis.formats.postgis
51
- import aspose.gis.formats.shapefile
52
- import aspose.gis.formats.sqlserver
53
- import aspose.gis.formats.tiffw
54
- import aspose.gis.formats.topojson
55
- import aspose.gis.formats.worldfile
56
- import aspose.gis.formats.xyztile
57
- import aspose.gis.geometries
58
- import aspose.gis.geotools
59
- import aspose.gis.geotools.extensions
60
- import aspose.gis.geotools.layersmap
61
- import aspose.gis.geotools.mapbuilder
62
- import aspose.gis.geotools.wayanalyzer
63
- import aspose.gis.imagemetadata
64
- import aspose.gis.indexing
65
- import aspose.gis.indexing.bplustree
66
- import aspose.gis.indexing.qixtree
67
- import aspose.gis.indexing.rtree
68
- import aspose.gis.labeling
69
- import aspose.gis.labeling.line
70
- import aspose.gis.painting
71
- import aspose.gis.projections
72
- import aspose.gis.raster
73
- import aspose.gis.raster.web
74
- import aspose.gis.relationship
75
- import aspose.gis.relationship.joins
76
- import aspose.gis.rendering
77
- import aspose.gis.rendering.colorizers
78
- import aspose.gis.rendering.formats
79
- import aspose.gis.rendering.formats.bmp
80
- import aspose.gis.rendering.formats.jpeg
81
- import aspose.gis.rendering.formats.png
82
- import aspose.gis.rendering.formats.svg
83
- import aspose.gis.rendering.labelings
84
- import aspose.gis.rendering.sld
85
- import aspose.gis.rendering.symbolizers
86
- import aspose.gis.spatialreferencing
87
- import aspose.gis.topology
88
- import aspose.gis.topology.algorithms
89
- import aspose.gis.topology.buffer
90
- import aspose.gis.topology.graph
91
-
92
- class Axis:
93
- '''An axis describes one dimension of SRS.'''
94
-
95
- @property
96
- def name(self) -> str:
97
- '''Name of this axis.'''
98
- raise NotImplementedError()
99
-
100
- @property
101
- def direction(self) -> aspose.gis.spatialreferencing.AxisDirection:
102
- '''Direction of this axis.'''
103
- raise NotImplementedError()
104
-
105
- @property
106
- def is_east_west_axis(self) -> bool:
107
- '''Detects if direction of axis is East or West.'''
108
- raise NotImplementedError()
109
-
110
- @property
111
- def is_north_south_axis(self) -> bool:
112
- '''Detects if direction of axis is North or South.'''
113
- raise NotImplementedError()
114
-
115
- @property
116
- def is_up_down_axis(self) -> bool:
117
- '''Detects if direction of axis is Up or Down.'''
118
- raise NotImplementedError()
119
-
120
- @property
121
- def is_other_axis(self) -> bool:
122
- '''Detects if this axis direction is Other.'''
123
- raise NotImplementedError()
124
-
125
-
126
- class BursaWolfParameters:
127
- '''Class that contains parameters of Bursa-Wolf formula to transform to another datum.'''
128
-
129
- def equals(self, other : aspose.gis.spatialreferencing.BursaWolfParameters) -> bool:
130
- '''Indicates whether the current object is equal to another object of the same type.
131
-
132
- :param other: An object to compare with this object.
133
- :returns: true if the current object is equal to the ``other`` parameter; otherwise, false.'''
134
- raise NotImplementedError()
135
-
136
- null : aspose.gis.spatialreferencing.BursaWolfParameters
137
- '''Special value, indicating that parameters are unknown.'''
138
- @property
139
- def dx(self) -> float:
140
- '''Dx in meters.'''
141
- raise NotImplementedError()
142
-
143
- @property
144
- def dy(self) -> float:
145
- '''Dy in meters.'''
146
- raise NotImplementedError()
147
-
148
- @property
149
- def dz(self) -> float:
150
- '''Dz in meters.'''
151
- raise NotImplementedError()
152
-
153
- @property
154
- def rx(self) -> float:
155
- '''Rx in seconds.'''
156
- raise NotImplementedError()
157
-
158
- @property
159
- def ry(self) -> float:
160
- '''Ry in seconds.'''
161
- raise NotImplementedError()
162
-
163
- @property
164
- def rz(self) -> float:
165
- '''Rz in seconds.'''
166
- raise NotImplementedError()
167
-
168
- @property
169
- def scale(self) -> float:
170
- '''Scale in parts per million.'''
171
- raise NotImplementedError()
172
-
173
- @property
174
- def is_null(self) -> bool:
175
- '''Determine whether this instance is :py:attr:`aspose.gis.spatialreferencing.BursaWolfParameters.null`.'''
176
- raise NotImplementedError()
177
-
178
-
179
- class CompoundSpatialReferenceSystem(SpatialReferenceSystem):
180
- '''Compound SRS unites two underlying SRS, none of which can be compound.'''
181
-
182
- @overload
183
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
184
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
185
-
186
- :param other: Other SRS.
187
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
188
- raise NotImplementedError()
189
-
190
- @overload
191
- @staticmethod
192
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
193
- '''Determines if two SRS are equivalent.
194
- Same coordinates of equivalent SRS match same place on Earth.
195
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
196
-
197
- :param srs1: First SRS.
198
- :param srs2: Second SRS.
199
- :returns: bool value, indicating whether two SRS are equivalent.'''
200
- raise NotImplementedError()
201
-
202
- @staticmethod
203
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
204
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
205
-
206
- :param wkt: WKT string.
207
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
208
- contains .
209
- :returns: if SRS was successfully created; otherwise.'''
210
- raise NotImplementedError()
211
-
212
- @staticmethod
213
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
214
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
215
-
216
- :param wkt: WKT string.
217
- :returns: New ``SpatialReferenceSystem``.'''
218
- raise NotImplementedError()
219
-
220
- @staticmethod
221
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
222
- '''Create a spatial reference system based the specified EPSG code.
223
-
224
- :param epsg: EPSG code of the spatial reference system.
225
- :returns: A new spatial reference system with the specified EPSG code.'''
226
- raise NotImplementedError()
227
-
228
- @staticmethod
229
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
230
- '''Create a spatial reference system based the specified EPSG code.
231
-
232
- :param epsg: EPSG code of the spatial reference system.
233
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
234
- contains .
235
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
236
- raise NotImplementedError()
237
-
238
- @staticmethod
239
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
240
- '''Create geographic SRS from custom parameters.
241
-
242
- :param parameters: Parameters to create from.
243
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
244
- Its up to you to ensure consistency of identifier and SRS parameters.
245
- :returns: New Geographic SRS.'''
246
- raise NotImplementedError()
247
-
248
- @staticmethod
249
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
250
- '''Create geocentric SRS from custom parameters.
251
-
252
- :param parameters: Parameters to create from.
253
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
254
- Its up to you to ensure consistency of identifier and SRS parameters.
255
- :returns: New Geocentric SRS.'''
256
- raise NotImplementedError()
257
-
258
- @staticmethod
259
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
260
- '''Create projected SRS from custom parameters.
261
-
262
- :param parameters: Parameters to create from.
263
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
264
- Its up to you to ensure consistency of identifier and SRS parameters.
265
- :returns: New Projected SRS.'''
266
- raise NotImplementedError()
267
-
268
- @staticmethod
269
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
270
- '''Create vertical SRS.
271
-
272
- :param name: Name of SRS. If .
273
- :param vertical_datum: Datum to be used in SRS.
274
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
275
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
276
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
277
- Its up to you to ensure consistency of identifier and SRS parameters.
278
- :returns: New Vertical SRS.'''
279
- raise NotImplementedError()
280
-
281
- @staticmethod
282
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
283
- '''Create compound SRS.
284
-
285
- :param name: Name of new SRS.
286
- :param head: Head SRS of new SRS.
287
- :param tail: Tail SRS of new SRS.
288
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
289
- Its up to you to ensure consistency of identifier and SRS parameters.
290
- :returns: New Compound SRS.'''
291
- raise NotImplementedError()
292
-
293
- @staticmethod
294
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
295
- raise NotImplementedError()
296
-
297
- def validate(self, error_message : List[String]) -> bool:
298
- '''Determine if this SRS is valid. See :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate` for validity description.
299
-
300
- :param error_message: Description of invalidity (if result is )
301
- :returns: If this SRS is valid - , otherwise - .'''
302
- raise NotImplementedError()
303
-
304
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
305
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
306
-
307
- :param dimension: Number of dimension.
308
- :returns: Axis that describes dimension.'''
309
- raise NotImplementedError()
310
-
311
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
312
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
313
-
314
- :param dimension: Number of dimension.
315
- :returns: Unit of dimension.'''
316
- raise NotImplementedError()
317
-
318
- def export_to_wkt(self) -> str:
319
- '''Returns representation of this SRS as WKT string.
320
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
321
-
322
- :returns: WKT representation of this SRS.'''
323
- raise NotImplementedError()
324
-
325
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
326
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
327
-
328
- :param target_srs: Another ``SpatialReferenceSystem``.
329
- :param value: When this methods returns , contains a transformation; otherwise, contains .
330
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
331
- :returns: if transformation was created successfully; otherwise.'''
332
- raise NotImplementedError()
333
-
334
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
335
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
336
-
337
- :param target_srs: Another ``SpatialReferenceSystem``.
338
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
339
- raise NotImplementedError()
340
-
341
- @property
342
- def name(self) -> str:
343
- '''Name of this object.'''
344
- raise NotImplementedError()
345
-
346
- @property
347
- def epsg_code(self) -> int:
348
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
349
- raise NotImplementedError()
350
-
351
- @property
352
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
353
- '''Identifier of this identifiable object.'''
354
- raise NotImplementedError()
355
-
356
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
357
- '''WGS 84 (EPSG:4326) spatial reference system.'''
358
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
359
- '''Web Mercator (EPSG:3857) spatial reference system.'''
360
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
361
- '''WGS 72 (EPSG:4322) spatial reference system.'''
362
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
363
- '''NAD 83 (EPSG:4269) spatial reference system.'''
364
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
365
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
366
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
367
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
368
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
369
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
370
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
371
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
372
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
373
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
374
- @property
375
- def is_valid(self) -> bool:
376
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
377
- raise NotImplementedError()
378
-
379
- @property
380
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
381
- '''Type of this Compound SRS. Can be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC` if
382
- this Compound SRS is combination of geographic and vertical SRS, or :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED` if
383
- this Compound SRS is combination of projected and vertical SRS.'''
384
- raise NotImplementedError()
385
-
386
- @property
387
- def is_compound(self) -> bool:
388
- '''Returns .'''
389
- raise NotImplementedError()
390
-
391
- @property
392
- def is_single(self) -> bool:
393
- '''Returns whether this SRS is single (not a union of two SRS).'''
394
- raise NotImplementedError()
395
-
396
- @property
397
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
398
- '''Return geographic representation of this SRS. If this compound SRS indeed represents a geographic SRS, the result will
399
- be three dimensional geographic SRS (with longitude, latitude, height dimensions). Otherwise an exception will be thrown.'''
400
- raise NotImplementedError()
401
-
402
- @property
403
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
404
- '''Return projected representation of this SRS. If this compound SRS indeed represents a projected SRS, the result will
405
- be three dimensional projected SRS (with X, Y, height dimensions). Otherwise an exception will be thrown.'''
406
- raise NotImplementedError()
407
-
408
- @property
409
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
410
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
411
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
412
- raise NotImplementedError()
413
-
414
- @property
415
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
416
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
417
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
418
- raise NotImplementedError()
419
-
420
- @property
421
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
422
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
423
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
424
- raise NotImplementedError()
425
-
426
- @property
427
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
428
- '''Return this.'''
429
- raise NotImplementedError()
430
-
431
- @property
432
- def dimensions_count(self) -> int:
433
- '''Number of dimensions. For compound SRS this is sum of number of dimensions of underlying SRS.'''
434
- raise NotImplementedError()
435
-
436
- @property
437
- def has_prime_meridian(self) -> bool:
438
- '''Compound SRS has prime meridian if any of underlying SRS have prime meridian.'''
439
- raise NotImplementedError()
440
-
441
- @property
442
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
443
- '''Return prime meridian of this SRS.
444
- If both :py:attr:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem.head` and :py:attr:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem.tail` have prime meridian - return prime meridian of head.'''
445
- raise NotImplementedError()
446
-
447
- @property
448
- def has_geographic_datum(self) -> bool:
449
- '''Compound SRS have geographic datum if any of underlying SRS have geographic datum.'''
450
- raise NotImplementedError()
451
-
452
- @property
453
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
454
- '''Return geographic datum of this SRS.
455
- If both :py:attr:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem.head` and :py:attr:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem.tail` have geographic datum - return geographic datum of head.'''
456
- raise NotImplementedError()
457
-
458
- @property
459
- def head(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
460
- '''First underlying SRS.'''
461
- raise NotImplementedError()
462
-
463
- @property
464
- def tail(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
465
- '''Second underlying SRS.'''
466
- raise NotImplementedError()
467
-
468
-
469
- class Ellipsoid(IdentifiableObject):
470
- '''Ellipsoid represents an ellipsoid, which approximates earth.'''
471
-
472
- @overload
473
- @staticmethod
474
- def is_equivalent(ellipsoid1 : aspose.gis.spatialreferencing.Ellipsoid, ellipsoid2 : aspose.gis.spatialreferencing.Ellipsoid) -> bool:
475
- '''Determines if two ellipsoids are equivalent.
476
- If ellipsoid A is equivalent to ellipsoid B, then they have same semi major axis and inverse flattening.
477
-
478
- :param ellipsoid1: First ellipsoid.
479
- :param ellipsoid2: Second ellipsoid.
480
- :returns: bool value, indicating whether two ellipsoids are equivalent.'''
481
- raise NotImplementedError()
482
-
483
- @overload
484
- def is_equivalent(self, other : aspose.gis.spatialreferencing.Ellipsoid) -> bool:
485
- '''Determines if two ellipsoids are equivalent.
486
- If ellipsoid A is equivalent to ellipsoid B, then they have same semi major axis and inverse flattening.
487
-
488
- :param other: Other ellipsoid.
489
- :returns: bool value, indicating whether two ellipsoids are equivalent.'''
490
- raise NotImplementedError()
491
-
492
- @property
493
- def name(self) -> str:
494
- '''Name of this object.'''
495
- raise NotImplementedError()
496
-
497
- @property
498
- def epsg_code(self) -> int:
499
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
500
- raise NotImplementedError()
501
-
502
- @property
503
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
504
- '''Identifier of this identifiable object.'''
505
- raise NotImplementedError()
506
-
507
- wgs84 : aspose.gis.spatialreferencing.Ellipsoid
508
- '''WGS 84 Ellipsoid.'''
509
- wgs72 : aspose.gis.spatialreferencing.Ellipsoid
510
- '''WGS 72 Ellipsoid.'''
511
- grs80 : aspose.gis.spatialreferencing.Ellipsoid
512
- '''GRS 1980 Ellipsoid.'''
513
- airy : aspose.gis.spatialreferencing.Ellipsoid
514
- '''Airy ellipsoid.'''
515
- @property
516
- def is_valid(self) -> bool:
517
- '''Detects whether ellipsoid is valid: its semi major axis is more then 0 and inverse flattening is positive or equal to 0.'''
518
- raise NotImplementedError()
519
-
520
- @property
521
- def is_sphere(self) -> bool:
522
- '''Detects whether this ellipsoid is a sphere.'''
523
- raise NotImplementedError()
524
-
525
- @property
526
- def semi_major_axis(self) -> float:
527
- '''Semi major axis of ellipsoid.'''
528
- raise NotImplementedError()
529
-
530
- @property
531
- def inverse_flattening(self) -> float:
532
- '''Inverse flattening of ellipsoid. 0 if this is a sphere.'''
533
- raise NotImplementedError()
534
-
535
- @property
536
- def semi_minor_axis(self) -> float:
537
- '''Semi minor axis of ellipsoid. Equals to semi major axis if this is a sphere.'''
538
- raise NotImplementedError()
539
-
540
-
541
- class GeocentricSpatialReferenceSystem(SpatialReferenceSystem):
542
- '''Geocentric SRS is 3 dimensional cartesian SRS with origin at earth center.'''
543
-
544
- @overload
545
- @staticmethod
546
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
547
- '''Determines if two SRS are equivalent.
548
- Same coordinates of equivalent SRS match same place on Earth.
549
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
550
-
551
- :param srs1: First SRS.
552
- :param srs2: Second SRS.
553
- :returns: bool value, indicating whether two SRS are equivalent.'''
554
- raise NotImplementedError()
555
-
556
- @overload
557
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
558
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
559
-
560
- :param other: Other SRS.
561
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
562
- raise NotImplementedError()
563
-
564
- @staticmethod
565
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
566
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
567
-
568
- :param wkt: WKT string.
569
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
570
- contains .
571
- :returns: if SRS was successfully created; otherwise.'''
572
- raise NotImplementedError()
573
-
574
- @staticmethod
575
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
576
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
577
-
578
- :param wkt: WKT string.
579
- :returns: New ``SpatialReferenceSystem``.'''
580
- raise NotImplementedError()
581
-
582
- @staticmethod
583
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
584
- '''Create a spatial reference system based the specified EPSG code.
585
-
586
- :param epsg: EPSG code of the spatial reference system.
587
- :returns: A new spatial reference system with the specified EPSG code.'''
588
- raise NotImplementedError()
589
-
590
- @staticmethod
591
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
592
- '''Create a spatial reference system based the specified EPSG code.
593
-
594
- :param epsg: EPSG code of the spatial reference system.
595
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
596
- contains .
597
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
598
- raise NotImplementedError()
599
-
600
- @staticmethod
601
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
602
- '''Create geographic SRS from custom parameters.
603
-
604
- :param parameters: Parameters to create from.
605
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
606
- Its up to you to ensure consistency of identifier and SRS parameters.
607
- :returns: New Geographic SRS.'''
608
- raise NotImplementedError()
609
-
610
- @staticmethod
611
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
612
- '''Create geocentric SRS from custom parameters.
613
-
614
- :param parameters: Parameters to create from.
615
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
616
- Its up to you to ensure consistency of identifier and SRS parameters.
617
- :returns: New Geocentric SRS.'''
618
- raise NotImplementedError()
619
-
620
- @staticmethod
621
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
622
- '''Create projected SRS from custom parameters.
623
-
624
- :param parameters: Parameters to create from.
625
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
626
- Its up to you to ensure consistency of identifier and SRS parameters.
627
- :returns: New Projected SRS.'''
628
- raise NotImplementedError()
629
-
630
- @staticmethod
631
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
632
- '''Create vertical SRS.
633
-
634
- :param name: Name of SRS. If .
635
- :param vertical_datum: Datum to be used in SRS.
636
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
637
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
638
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
639
- Its up to you to ensure consistency of identifier and SRS parameters.
640
- :returns: New Vertical SRS.'''
641
- raise NotImplementedError()
642
-
643
- @staticmethod
644
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
645
- '''Create compound SRS.
646
-
647
- :param name: Name of new SRS.
648
- :param head: Head SRS of new SRS.
649
- :param tail: Tail SRS of new SRS.
650
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
651
- Its up to you to ensure consistency of identifier and SRS parameters.
652
- :returns: New Compound SRS.'''
653
- raise NotImplementedError()
654
-
655
- @staticmethod
656
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
657
- raise NotImplementedError()
658
-
659
- def validate(self, error_message : List[String]) -> bool:
660
- '''Determine if this SRS is valid. See :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate` for validity description.
661
-
662
- :param error_message: Description of invalidity (if result is )
663
- :returns: If this SRS is valid - , otherwise - .'''
664
- raise NotImplementedError()
665
-
666
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
667
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
668
-
669
- :param dimension: Number of dimension.
670
- :returns: Axis that describes dimension.'''
671
- raise NotImplementedError()
672
-
673
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
674
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
675
-
676
- :param dimension: Number of dimension.
677
- :returns: Unit of dimension.'''
678
- raise NotImplementedError()
679
-
680
- def export_to_wkt(self) -> str:
681
- '''Returns representation of this SRS as WKT string.
682
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
683
-
684
- :returns: WKT representation of this SRS.'''
685
- raise NotImplementedError()
686
-
687
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
688
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
689
-
690
- :param target_srs: Another ``SpatialReferenceSystem``.
691
- :param value: When this methods returns , contains a transformation; otherwise, contains .
692
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
693
- :returns: if transformation was created successfully; otherwise.'''
694
- raise NotImplementedError()
695
-
696
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
697
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
698
-
699
- :param target_srs: Another ``SpatialReferenceSystem``.
700
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
701
- raise NotImplementedError()
702
-
703
- @property
704
- def name(self) -> str:
705
- '''Name of this object.'''
706
- raise NotImplementedError()
707
-
708
- @property
709
- def epsg_code(self) -> int:
710
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
711
- raise NotImplementedError()
712
-
713
- @property
714
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
715
- '''Identifier of this identifiable object.'''
716
- raise NotImplementedError()
717
-
718
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
719
- '''WGS 84 (EPSG:4326) spatial reference system.'''
720
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
721
- '''Web Mercator (EPSG:3857) spatial reference system.'''
722
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
723
- '''WGS 72 (EPSG:4322) spatial reference system.'''
724
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
725
- '''NAD 83 (EPSG:4269) spatial reference system.'''
726
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
727
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
728
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
729
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
730
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
731
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
732
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
733
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
734
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
735
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
736
- @property
737
- def is_valid(self) -> bool:
738
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
739
- raise NotImplementedError()
740
-
741
- @property
742
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
743
- '''Return :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOCENTRIC`.'''
744
- raise NotImplementedError()
745
-
746
- @property
747
- def is_compound(self) -> bool:
748
- '''Returns whether this SRS is compound (a union of two SRS).
749
- Following combinations of SRS in compound SRS are considered valid:
750
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
751
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
752
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
753
- raise NotImplementedError()
754
-
755
- @property
756
- def is_single(self) -> bool:
757
- '''Returns whether this SRS is single (not a union of two SRS).'''
758
- raise NotImplementedError()
759
-
760
- @property
761
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
762
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`.
763
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
764
- raise NotImplementedError()
765
-
766
- @property
767
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
768
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`.
769
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
770
- raise NotImplementedError()
771
-
772
- @property
773
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
774
- '''Return this.'''
775
- raise NotImplementedError()
776
-
777
- @property
778
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
779
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
780
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
781
- raise NotImplementedError()
782
-
783
- @property
784
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
785
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
786
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
787
- raise NotImplementedError()
788
-
789
- @property
790
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
791
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
792
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
793
- raise NotImplementedError()
794
-
795
- @property
796
- def dimensions_count(self) -> int:
797
- '''Return 3, since geocentric SRS is always three dimensional.'''
798
- raise NotImplementedError()
799
-
800
- @property
801
- def has_prime_meridian(self) -> bool:
802
- '''Return , since geocentric SRS always have prime meridian.'''
803
- raise NotImplementedError()
804
-
805
- @property
806
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
807
- '''Return prime meridian of this SRS.'''
808
- raise NotImplementedError()
809
-
810
- @property
811
- def has_geographic_datum(self) -> bool:
812
- '''Return , since geocentric SRS always have geographic datum.'''
813
- raise NotImplementedError()
814
-
815
- @property
816
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
817
- '''Return geographic datum of this SRS.'''
818
- raise NotImplementedError()
819
-
820
- @property
821
- def linear_unit(self) -> aspose.gis.rendering.Unit:
822
- '''Unit, used in this SRS.'''
823
- raise NotImplementedError()
824
-
825
- @property
826
- def axises_order(self) -> aspose.gis.spatialreferencing.GeocentricAxisesOrder:
827
- '''Order of axises in this SRS.
828
- If this SRS is not valid and has wrong axises directions, :py:attr:`aspose.gis.spatialreferencing.GeocentricAxisesOrder.INVALID` is returned.'''
829
- raise NotImplementedError()
830
-
831
-
832
- class GeocentricSpatialReferenceSystemParameters:
833
- '''Parameters to create geocentric SRS.
834
- Parameters have reasonable defaults, so you will have to assign only some of them.
835
- If you assign to any parameter, a default value will be used.'''
836
-
837
- @property
838
- def name(self) -> str:
839
- '''Name of geocentric SRS. Default is "Unnamed".'''
840
- raise NotImplementedError()
841
-
842
- @name.setter
843
- def name(self, value : str) -> None:
844
- '''Name of geocentric SRS. Default is "Unnamed".'''
845
- raise NotImplementedError()
846
-
847
- @property
848
- def datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
849
- '''Datum of geocentric SRS. Default is :py:attr:`aspose.gis.spatialreferencing.GeographicDatum.wgs84`.'''
850
- raise NotImplementedError()
851
-
852
- @datum.setter
853
- def datum(self, value : aspose.gis.spatialreferencing.GeographicDatum) -> None:
854
- '''Datum of geocentric SRS. Default is :py:attr:`aspose.gis.spatialreferencing.GeographicDatum.wgs84`.'''
855
- raise NotImplementedError()
856
-
857
- @property
858
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
859
- '''Prime meridian of this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.PrimeMeridian.greenwich`.'''
860
- raise NotImplementedError()
861
-
862
- @prime_meridian.setter
863
- def prime_meridian(self, value : aspose.gis.spatialreferencing.PrimeMeridian) -> None:
864
- '''Prime meridian of this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.PrimeMeridian.greenwich`.'''
865
- raise NotImplementedError()
866
-
867
- @property
868
- def linear_unit(self) -> aspose.gis.rendering.Unit:
869
- '''Units to be used in this SRS. Defaults to :py:attr:`aspose.gis.spatialreferencing.Unit.meter`.'''
870
- raise NotImplementedError()
871
-
872
- @linear_unit.setter
873
- def linear_unit(self, value : aspose.gis.rendering.Unit) -> None:
874
- '''Units to be used in this SRS. Defaults to :py:attr:`aspose.gis.spatialreferencing.Unit.meter`.'''
875
- raise NotImplementedError()
876
-
877
- @property
878
- def x_axis(self) -> aspose.gis.spatialreferencing.Axis:
879
- '''Axis of geocentric SRS that describes \'X\' dimension (axis that points at prime meridian).'''
880
- raise NotImplementedError()
881
-
882
- @x_axis.setter
883
- def x_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
884
- '''Axis of geocentric SRS that describes \'X\' dimension (axis that points at prime meridian).'''
885
- raise NotImplementedError()
886
-
887
- @property
888
- def y_axis(self) -> aspose.gis.spatialreferencing.Axis:
889
- '''Axis of geocentric SRS that describes \'Y\' dimension (axis that points to the left or to the right of X axis on equatorial plane).
890
- Defaults to axis with :py:attr:`aspose.gis.spatialreferencing.AxisDirection.EAST` direction.'''
891
- raise NotImplementedError()
892
-
893
- @y_axis.setter
894
- def y_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
895
- '''Axis of geocentric SRS that describes \'Y\' dimension (axis that points to the left or to the right of X axis on equatorial plane).
896
- Defaults to axis with :py:attr:`aspose.gis.spatialreferencing.AxisDirection.EAST` direction.'''
897
- raise NotImplementedError()
898
-
899
- @property
900
- def z_axis(self) -> aspose.gis.spatialreferencing.Axis:
901
- '''Axis of geocentric SRS that describes \'Z\' dimension (axis that points to the north or south pole).
902
- Defaults to axis with :py:attr:`aspose.gis.spatialreferencing.AxisDirection.NORTH` direction.'''
903
- raise NotImplementedError()
904
-
905
- @z_axis.setter
906
- def z_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
907
- '''Axis of geocentric SRS that describes \'Z\' dimension (axis that points to the north or south pole).
908
- Defaults to axis with :py:attr:`aspose.gis.spatialreferencing.AxisDirection.NORTH` direction.'''
909
- raise NotImplementedError()
910
-
911
- @property
912
- def axises_order(self) -> aspose.gis.spatialreferencing.GeocentricAxisesOrder:
913
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.GeocentricAxisesOrder.XYZ`.'''
914
- raise NotImplementedError()
915
-
916
- @axises_order.setter
917
- def axises_order(self, value : aspose.gis.spatialreferencing.GeocentricAxisesOrder) -> None:
918
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.GeocentricAxisesOrder.XYZ`.'''
919
- raise NotImplementedError()
920
-
921
-
922
- class GeographicDatum(IdentifiableObject):
923
- '''Geographic datum relates longitude and latitude to particular place on earth.'''
924
-
925
- @overload
926
- @staticmethod
927
- def is_equivalent(datum1 : aspose.gis.spatialreferencing.GeographicDatum, datum2 : aspose.gis.spatialreferencing.GeographicDatum) -> bool:
928
- '''Determines if two datums are equivalent.
929
- Same coordinates of equivalent datums match same place on Earth.
930
- Some parameters of equivalent datums can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
931
-
932
- :param datum1: First datum.
933
- :param datum2: Second datum.
934
- :returns: bool value, indicating whether two datums are equivalent.'''
935
- raise NotImplementedError()
936
-
937
- @overload
938
- def is_equivalent(self, other : aspose.gis.spatialreferencing.GeographicDatum) -> bool:
939
- '''Determines if two datums are equivalent.
940
- Same coordinates of equivalent datums match same place on Earth.
941
- Some parameters of equivalent datums can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
942
-
943
- :param other: Other datum.
944
- :returns: bool value, indicating whether two datums are equivalent.'''
945
- raise NotImplementedError()
946
-
947
- @property
948
- def name(self) -> str:
949
- '''Name of this object.'''
950
- raise NotImplementedError()
951
-
952
- @property
953
- def epsg_code(self) -> int:
954
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
955
- raise NotImplementedError()
956
-
957
- @property
958
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
959
- '''Identifier of this identifiable object.'''
960
- raise NotImplementedError()
961
-
962
- wgs84 : aspose.gis.spatialreferencing.GeographicDatum
963
- '''WGS 84 datum.'''
964
- wgs72 : aspose.gis.spatialreferencing.GeographicDatum
965
- '''WGS 72 datum.'''
966
- nad83 : aspose.gis.spatialreferencing.GeographicDatum
967
- '''NAD 83 datum.'''
968
- etrs89 : aspose.gis.spatialreferencing.GeographicDatum
969
- '''ETRS 89 datum.'''
970
- osgb36 : aspose.gis.spatialreferencing.GeographicDatum
971
- '''OSGB 1936 datum.'''
972
- @property
973
- def ellipsoid(self) -> aspose.gis.spatialreferencing.Ellipsoid:
974
- '''Ellipsoid, used in this datum to approximate Earth.'''
975
- raise NotImplementedError()
976
-
977
- @property
978
- def to_wgs_84_parameters(self) -> aspose.gis.spatialreferencing.BursaWolfParameters:
979
- '''BursaWolfParamters that can be used to transform coordinates in this datum to coordinates in WGS84 datum.'''
980
- raise NotImplementedError()
981
-
982
-
983
- class GeographicSpatialReferenceSystem(SpatialReferenceSystem):
984
- '''A Geographic SRS is an SRS that is based on longitude and latitude.
985
- A Geographic SRS can be two dimensional or three dimensional.
986
- If geographic SRS is three dimensional, then it is actually a compound SRS of two dimensional SRS and vertical SRS.'''
987
-
988
- @overload
989
- @staticmethod
990
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
991
- '''Determines if two SRS are equivalent.
992
- Same coordinates of equivalent SRS match same place on Earth.
993
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
994
-
995
- :param srs1: First SRS.
996
- :param srs2: Second SRS.
997
- :returns: bool value, indicating whether two SRS are equivalent.'''
998
- raise NotImplementedError()
999
-
1000
- @overload
1001
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1002
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
1003
-
1004
- :param other: Other SRS.
1005
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
1006
- raise NotImplementedError()
1007
-
1008
- @staticmethod
1009
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1010
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1011
-
1012
- :param wkt: WKT string.
1013
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
1014
- contains .
1015
- :returns: if SRS was successfully created; otherwise.'''
1016
- raise NotImplementedError()
1017
-
1018
- @staticmethod
1019
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1020
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1021
-
1022
- :param wkt: WKT string.
1023
- :returns: New ``SpatialReferenceSystem``.'''
1024
- raise NotImplementedError()
1025
-
1026
- @staticmethod
1027
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1028
- '''Create a spatial reference system based the specified EPSG code.
1029
-
1030
- :param epsg: EPSG code of the spatial reference system.
1031
- :returns: A new spatial reference system with the specified EPSG code.'''
1032
- raise NotImplementedError()
1033
-
1034
- @staticmethod
1035
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1036
- '''Create a spatial reference system based the specified EPSG code.
1037
-
1038
- :param epsg: EPSG code of the spatial reference system.
1039
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
1040
- contains .
1041
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
1042
- raise NotImplementedError()
1043
-
1044
- @staticmethod
1045
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1046
- '''Create geographic SRS from custom parameters.
1047
-
1048
- :param parameters: Parameters to create from.
1049
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1050
- Its up to you to ensure consistency of identifier and SRS parameters.
1051
- :returns: New Geographic SRS.'''
1052
- raise NotImplementedError()
1053
-
1054
- @staticmethod
1055
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1056
- '''Create geocentric SRS from custom parameters.
1057
-
1058
- :param parameters: Parameters to create from.
1059
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1060
- Its up to you to ensure consistency of identifier and SRS parameters.
1061
- :returns: New Geocentric SRS.'''
1062
- raise NotImplementedError()
1063
-
1064
- @staticmethod
1065
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1066
- '''Create projected SRS from custom parameters.
1067
-
1068
- :param parameters: Parameters to create from.
1069
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1070
- Its up to you to ensure consistency of identifier and SRS parameters.
1071
- :returns: New Projected SRS.'''
1072
- raise NotImplementedError()
1073
-
1074
- @staticmethod
1075
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1076
- '''Create vertical SRS.
1077
-
1078
- :param name: Name of SRS. If .
1079
- :param vertical_datum: Datum to be used in SRS.
1080
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
1081
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
1082
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1083
- Its up to you to ensure consistency of identifier and SRS parameters.
1084
- :returns: New Vertical SRS.'''
1085
- raise NotImplementedError()
1086
-
1087
- @staticmethod
1088
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
1089
- '''Create compound SRS.
1090
-
1091
- :param name: Name of new SRS.
1092
- :param head: Head SRS of new SRS.
1093
- :param tail: Tail SRS of new SRS.
1094
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1095
- Its up to you to ensure consistency of identifier and SRS parameters.
1096
- :returns: New Compound SRS.'''
1097
- raise NotImplementedError()
1098
-
1099
- @staticmethod
1100
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1101
- raise NotImplementedError()
1102
-
1103
- def validate(self, error_message : List[String]) -> bool:
1104
- '''Determine if this SRS is valid.
1105
-
1106
- :param error_message: If method return , then this is description of invalidity.
1107
- :returns: if SRS is valid, otherwise.'''
1108
- raise NotImplementedError()
1109
-
1110
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
1111
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
1112
-
1113
- :param dimension: Number of dimension.
1114
- :returns: Axis that describes dimension.'''
1115
- raise NotImplementedError()
1116
-
1117
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
1118
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
1119
-
1120
- :param dimension: Number of dimension.
1121
- :returns: Unit of dimension.'''
1122
- raise NotImplementedError()
1123
-
1124
- def export_to_wkt(self) -> str:
1125
- '''Returns representation of this SRS as WKT string.
1126
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
1127
-
1128
- :returns: WKT representation of this SRS.'''
1129
- raise NotImplementedError()
1130
-
1131
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
1132
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1133
-
1134
- :param target_srs: Another ``SpatialReferenceSystem``.
1135
- :param value: When this methods returns , contains a transformation; otherwise, contains .
1136
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1137
- :returns: if transformation was created successfully; otherwise.'''
1138
- raise NotImplementedError()
1139
-
1140
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
1141
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1142
-
1143
- :param target_srs: Another ``SpatialReferenceSystem``.
1144
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
1145
- raise NotImplementedError()
1146
-
1147
- @property
1148
- def name(self) -> str:
1149
- '''Name of this object.'''
1150
- raise NotImplementedError()
1151
-
1152
- @property
1153
- def epsg_code(self) -> int:
1154
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1155
- raise NotImplementedError()
1156
-
1157
- @property
1158
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1159
- '''Identifier of this identifiable object.'''
1160
- raise NotImplementedError()
1161
-
1162
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1163
- '''WGS 84 (EPSG:4326) spatial reference system.'''
1164
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1165
- '''Web Mercator (EPSG:3857) spatial reference system.'''
1166
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1167
- '''WGS 72 (EPSG:4322) spatial reference system.'''
1168
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1169
- '''NAD 83 (EPSG:4269) spatial reference system.'''
1170
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1171
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
1172
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1173
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
1174
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1175
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
1176
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1177
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
1178
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1179
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
1180
- @property
1181
- def is_valid(self) -> bool:
1182
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
1183
- raise NotImplementedError()
1184
-
1185
- @property
1186
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
1187
- '''Returns :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.'''
1188
- raise NotImplementedError()
1189
-
1190
- @property
1191
- def is_compound(self) -> bool:
1192
- '''Returns whether this SRS is compound (a union of two SRS).
1193
- Following combinations of SRS in compound SRS are considered valid:
1194
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
1195
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
1196
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
1197
- raise NotImplementedError()
1198
-
1199
- @property
1200
- def is_single(self) -> bool:
1201
- '''Returns whether this SRS is single (not a union of two SRS).'''
1202
- raise NotImplementedError()
1203
-
1204
- @property
1205
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1206
- '''Returns this.'''
1207
- raise NotImplementedError()
1208
-
1209
- @property
1210
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1211
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`.
1212
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1213
- raise NotImplementedError()
1214
-
1215
- @property
1216
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1217
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
1218
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1219
- raise NotImplementedError()
1220
-
1221
- @property
1222
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1223
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
1224
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1225
- raise NotImplementedError()
1226
-
1227
- @property
1228
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1229
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
1230
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1231
- raise NotImplementedError()
1232
-
1233
- @property
1234
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
1235
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
1236
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
1237
- raise NotImplementedError()
1238
-
1239
- @property
1240
- def dimensions_count(self) -> int:
1241
- '''Returns dimensions count in this SRS. For geographic SRS this can be:
1242
- two - if this is single geographic SRS.
1243
- three - if this is compound SRS, which consists of single, two dimensional, geographic SRS and vertical SRS, that adds third dimension.'''
1244
- raise NotImplementedError()
1245
-
1246
- @property
1247
- def has_prime_meridian(self) -> bool:
1248
- '''Returns , since geographic SRS always have prime meridian.'''
1249
- raise NotImplementedError()
1250
-
1251
- @property
1252
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
1253
- '''Returns prime meridian of this SRS.'''
1254
- raise NotImplementedError()
1255
-
1256
- @property
1257
- def has_geographic_datum(self) -> bool:
1258
- '''Returns , since geographic SRS always have prime meridian.'''
1259
- raise NotImplementedError()
1260
-
1261
- @property
1262
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
1263
- '''Returns geographic datum of this SRS.'''
1264
- raise NotImplementedError()
1265
-
1266
- @property
1267
- def angular_unit(self) -> aspose.gis.rendering.Unit:
1268
- '''Unit, used for angular dimensions, in this SRS.'''
1269
- raise NotImplementedError()
1270
-
1271
- @property
1272
- def axises_order(self) -> aspose.gis.spatialreferencing.GeographicAxisesOrder:
1273
- '''Order of axises in this SRS.
1274
- If this SRS is not valid and has wrong axises directions, :py:attr:`aspose.gis.spatialreferencing.GeographicAxisesOrder.INVALID` is returned.'''
1275
- raise NotImplementedError()
1276
-
1277
-
1278
- class GeographicSpatialReferenceSystemParameters:
1279
- '''Parameters to create geographic SRS.
1280
- Parameters have reasonable defaults, so you will have to assign only some of them.
1281
- If you assign to any parameter, a default value will be used.'''
1282
-
1283
- @property
1284
- def name(self) -> str:
1285
- '''Name of geographic SRS. Default is "Unnamed".'''
1286
- raise NotImplementedError()
1287
-
1288
- @name.setter
1289
- def name(self, value : str) -> None:
1290
- '''Name of geographic SRS. Default is "Unnamed".'''
1291
- raise NotImplementedError()
1292
-
1293
- @property
1294
- def datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
1295
- '''Datum of geographic SRS. Default is :py:attr:`aspose.gis.spatialreferencing.GeographicDatum.wgs84`.'''
1296
- raise NotImplementedError()
1297
-
1298
- @datum.setter
1299
- def datum(self, value : aspose.gis.spatialreferencing.GeographicDatum) -> None:
1300
- '''Datum of geographic SRS. Default is :py:attr:`aspose.gis.spatialreferencing.GeographicDatum.wgs84`.'''
1301
- raise NotImplementedError()
1302
-
1303
- @property
1304
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
1305
- '''Prime meridian of this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.PrimeMeridian.greenwich`.'''
1306
- raise NotImplementedError()
1307
-
1308
- @prime_meridian.setter
1309
- def prime_meridian(self, value : aspose.gis.spatialreferencing.PrimeMeridian) -> None:
1310
- '''Prime meridian of this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.PrimeMeridian.greenwich`.'''
1311
- raise NotImplementedError()
1312
-
1313
- @property
1314
- def angular_unit(self) -> aspose.gis.rendering.Unit:
1315
- '''Units to be used in this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.Unit.degree`.'''
1316
- raise NotImplementedError()
1317
-
1318
- @angular_unit.setter
1319
- def angular_unit(self, value : aspose.gis.rendering.Unit) -> None:
1320
- '''Units to be used in this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.Unit.degree`.'''
1321
- raise NotImplementedError()
1322
-
1323
- @property
1324
- def longitude_axis(self) -> aspose.gis.spatialreferencing.Axis:
1325
- '''Axis that describes longitude. Default is axis with east direction.'''
1326
- raise NotImplementedError()
1327
-
1328
- @longitude_axis.setter
1329
- def longitude_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
1330
- '''Axis that describes longitude. Default is axis with east direction.'''
1331
- raise NotImplementedError()
1332
-
1333
- @property
1334
- def latitude_axis(self) -> aspose.gis.spatialreferencing.Axis:
1335
- '''Axis that describes latitude. Defaults is axis with north direction.'''
1336
- raise NotImplementedError()
1337
-
1338
- @latitude_axis.setter
1339
- def latitude_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
1340
- '''Axis that describes latitude. Defaults is axis with north direction.'''
1341
- raise NotImplementedError()
1342
-
1343
- @property
1344
- def axises_order(self) -> aspose.gis.spatialreferencing.GeographicAxisesOrder:
1345
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.GeographicAxisesOrder.LONGITUDE_LATITUDE`.'''
1346
- raise NotImplementedError()
1347
-
1348
- @axises_order.setter
1349
- def axises_order(self, value : aspose.gis.spatialreferencing.GeographicAxisesOrder) -> None:
1350
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.GeographicAxisesOrder.LONGITUDE_LATITUDE`.'''
1351
- raise NotImplementedError()
1352
-
1353
-
1354
- class IdentifiableObject:
1355
- '''Represents an object that might have EPSG code and name.'''
1356
-
1357
- @property
1358
- def name(self) -> str:
1359
- '''Name of this object.'''
1360
- raise NotImplementedError()
1361
-
1362
- @property
1363
- def epsg_code(self) -> int:
1364
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1365
- raise NotImplementedError()
1366
-
1367
- @property
1368
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1369
- '''Identifier of this identifiable object.'''
1370
- raise NotImplementedError()
1371
-
1372
-
1373
- class Identifier:
1374
- '''Represents an identifier - a reference to external description of an object.
1375
- If you create a SRS from WKT, :py:class:`aspose.gis.spatialreferencing.Identifier` corresponds to "AUTHORITY" keyword.'''
1376
-
1377
- @staticmethod
1378
- def epsg(epsg_code : int) -> aspose.gis.spatialreferencing.Identifier:
1379
- '''Creates new Identifier that represents EPSG identifier with code ``epsgCode``.
1380
-
1381
- :param epsg_code: Epsg code.
1382
- :returns: New identifier with :py:attr:`aspose.gis.spatialreferencing.Identifier.authority_name` "EPSG" and :py:attr:`aspose.gis.spatialreferencing.Identifier.authority_unique_identifier```epsgCode``.
1383
- If ``epsgCode`` is less then 0 - return ;'''
1384
- raise NotImplementedError()
1385
-
1386
- def get_epsg_code(self) -> int:
1387
- '''If this object represents a valid EPSG identifier (e.g. - authority name is "EPSG" and authority unique identifier is integer) -
1388
- return it. Otherwise - return -1.
1389
-
1390
- :returns: EPSG identifier represented by this object. If this object doesn\'t represent an EPSG identifier - return -1.'''
1391
- raise NotImplementedError()
1392
-
1393
- def equals(self, other : aspose.gis.spatialreferencing.Identifier) -> bool:
1394
- '''Indicates whether the current object is equal to another object of the same type.
1395
-
1396
- :param other: An object to compare with this object.
1397
- :returns: true if the current object is equal to the ``other`` parameter; otherwise, false.'''
1398
- raise NotImplementedError()
1399
-
1400
- @property
1401
- def authority_name(self) -> str:
1402
- '''A name of authority, which gave an :py:attr:`aspose.gis.spatialreferencing.Identifier.authority_unique_identifier`.'''
1403
- raise NotImplementedError()
1404
-
1405
- @property
1406
- def authority_unique_identifier(self) -> str:
1407
- '''A unique way to represent an object within a :py:attr:`aspose.gis.spatialreferencing.Identifier.authority_name`.'''
1408
- raise NotImplementedError()
1409
-
1410
-
1411
- class LocalDatum(IdentifiableObject):
1412
- '''Indicates method used for measurements in local spatial reference system.'''
1413
-
1414
- @property
1415
- def name(self) -> str:
1416
- '''Name of this object.'''
1417
- raise NotImplementedError()
1418
-
1419
- @property
1420
- def epsg_code(self) -> int:
1421
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1422
- raise NotImplementedError()
1423
-
1424
- @property
1425
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1426
- '''Identifier of this identifiable object.'''
1427
- raise NotImplementedError()
1428
-
1429
- @property
1430
- def datum_type(self) -> int:
1431
- '''An integer number, indicating measurement method that had been used.'''
1432
- raise NotImplementedError()
1433
-
1434
-
1435
- class LocalSpatialReferenceSystem(SpatialReferenceSystem):
1436
- '''Local SRS related coordinates to some object, not earth.'''
1437
-
1438
- @overload
1439
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1440
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
1441
-
1442
- :param other: Other SRS.
1443
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
1444
- raise NotImplementedError()
1445
-
1446
- @overload
1447
- @staticmethod
1448
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1449
- '''Determines if two SRS are equivalent.
1450
- Same coordinates of equivalent SRS match same place on Earth.
1451
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
1452
-
1453
- :param srs1: First SRS.
1454
- :param srs2: Second SRS.
1455
- :returns: bool value, indicating whether two SRS are equivalent.'''
1456
- raise NotImplementedError()
1457
-
1458
- @staticmethod
1459
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1460
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1461
-
1462
- :param wkt: WKT string.
1463
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
1464
- contains .
1465
- :returns: if SRS was successfully created; otherwise.'''
1466
- raise NotImplementedError()
1467
-
1468
- @staticmethod
1469
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1470
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1471
-
1472
- :param wkt: WKT string.
1473
- :returns: New ``SpatialReferenceSystem``.'''
1474
- raise NotImplementedError()
1475
-
1476
- @staticmethod
1477
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1478
- '''Create a spatial reference system based the specified EPSG code.
1479
-
1480
- :param epsg: EPSG code of the spatial reference system.
1481
- :returns: A new spatial reference system with the specified EPSG code.'''
1482
- raise NotImplementedError()
1483
-
1484
- @staticmethod
1485
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1486
- '''Create a spatial reference system based the specified EPSG code.
1487
-
1488
- :param epsg: EPSG code of the spatial reference system.
1489
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
1490
- contains .
1491
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
1492
- raise NotImplementedError()
1493
-
1494
- @staticmethod
1495
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1496
- '''Create geographic SRS from custom parameters.
1497
-
1498
- :param parameters: Parameters to create from.
1499
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1500
- Its up to you to ensure consistency of identifier and SRS parameters.
1501
- :returns: New Geographic SRS.'''
1502
- raise NotImplementedError()
1503
-
1504
- @staticmethod
1505
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1506
- '''Create geocentric SRS from custom parameters.
1507
-
1508
- :param parameters: Parameters to create from.
1509
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1510
- Its up to you to ensure consistency of identifier and SRS parameters.
1511
- :returns: New Geocentric SRS.'''
1512
- raise NotImplementedError()
1513
-
1514
- @staticmethod
1515
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1516
- '''Create projected SRS from custom parameters.
1517
-
1518
- :param parameters: Parameters to create from.
1519
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1520
- Its up to you to ensure consistency of identifier and SRS parameters.
1521
- :returns: New Projected SRS.'''
1522
- raise NotImplementedError()
1523
-
1524
- @staticmethod
1525
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1526
- '''Create vertical SRS.
1527
-
1528
- :param name: Name of SRS. If .
1529
- :param vertical_datum: Datum to be used in SRS.
1530
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
1531
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
1532
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1533
- Its up to you to ensure consistency of identifier and SRS parameters.
1534
- :returns: New Vertical SRS.'''
1535
- raise NotImplementedError()
1536
-
1537
- @staticmethod
1538
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
1539
- '''Create compound SRS.
1540
-
1541
- :param name: Name of new SRS.
1542
- :param head: Head SRS of new SRS.
1543
- :param tail: Tail SRS of new SRS.
1544
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1545
- Its up to you to ensure consistency of identifier and SRS parameters.
1546
- :returns: New Compound SRS.'''
1547
- raise NotImplementedError()
1548
-
1549
- @staticmethod
1550
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1551
- raise NotImplementedError()
1552
-
1553
- def validate(self, error_message : List[String]) -> bool:
1554
- '''Determine if this SRS is valid. See :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate` for validity description.
1555
-
1556
- :param error_message: Description of invalidity (if result is )
1557
- :returns: If this SRS is valid - , otherwise - .'''
1558
- raise NotImplementedError()
1559
-
1560
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
1561
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
1562
-
1563
- :param dimension: Number of dimension.
1564
- :returns: Axis that describes dimension.'''
1565
- raise NotImplementedError()
1566
-
1567
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
1568
- '''Get :py:attr:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem.unit` of dimension.
1569
-
1570
- :param dimension: Number of dimension.
1571
- :returns: Unit of dimension.'''
1572
- raise NotImplementedError()
1573
-
1574
- def export_to_wkt(self) -> str:
1575
- '''Returns representation of this SRS as WKT string.
1576
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
1577
-
1578
- :returns: WKT representation of this SRS.'''
1579
- raise NotImplementedError()
1580
-
1581
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
1582
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1583
-
1584
- :param target_srs: Another ``SpatialReferenceSystem``.
1585
- :param value: When this methods returns , contains a transformation; otherwise, contains .
1586
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1587
- :returns: if transformation was created successfully; otherwise.'''
1588
- raise NotImplementedError()
1589
-
1590
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
1591
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1592
-
1593
- :param target_srs: Another ``SpatialReferenceSystem``.
1594
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
1595
- raise NotImplementedError()
1596
-
1597
- @property
1598
- def name(self) -> str:
1599
- '''Name of this object.'''
1600
- raise NotImplementedError()
1601
-
1602
- @property
1603
- def epsg_code(self) -> int:
1604
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1605
- raise NotImplementedError()
1606
-
1607
- @property
1608
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1609
- '''Identifier of this identifiable object.'''
1610
- raise NotImplementedError()
1611
-
1612
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1613
- '''WGS 84 (EPSG:4326) spatial reference system.'''
1614
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1615
- '''Web Mercator (EPSG:3857) spatial reference system.'''
1616
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1617
- '''WGS 72 (EPSG:4322) spatial reference system.'''
1618
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1619
- '''NAD 83 (EPSG:4269) spatial reference system.'''
1620
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1621
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
1622
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1623
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
1624
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1625
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
1626
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1627
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
1628
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1629
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
1630
- @property
1631
- def is_valid(self) -> bool:
1632
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
1633
- raise NotImplementedError()
1634
-
1635
- @property
1636
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
1637
- '''Return :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.LOCAL`.'''
1638
- raise NotImplementedError()
1639
-
1640
- @property
1641
- def is_compound(self) -> bool:
1642
- '''Returns whether this SRS is compound (a union of two SRS).
1643
- Following combinations of SRS in compound SRS are considered valid:
1644
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
1645
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
1646
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
1647
- raise NotImplementedError()
1648
-
1649
- @property
1650
- def is_single(self) -> bool:
1651
- '''Returns whether this SRS is single (not a union of two SRS).'''
1652
- raise NotImplementedError()
1653
-
1654
- @property
1655
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1656
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`.
1657
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1658
- raise NotImplementedError()
1659
-
1660
- @property
1661
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1662
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`.
1663
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1664
- raise NotImplementedError()
1665
-
1666
- @property
1667
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1668
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
1669
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1670
- raise NotImplementedError()
1671
-
1672
- @property
1673
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1674
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
1675
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1676
- raise NotImplementedError()
1677
-
1678
- @property
1679
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1680
- '''Return this.'''
1681
- raise NotImplementedError()
1682
-
1683
- @property
1684
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
1685
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
1686
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
1687
- raise NotImplementedError()
1688
-
1689
- @property
1690
- def dimensions_count(self) -> int:
1691
- '''Number of dimensions in this SRS.'''
1692
- raise NotImplementedError()
1693
-
1694
- @property
1695
- def has_prime_meridian(self) -> bool:
1696
- '''Returns , since Local SRS doesn\'t have prime meridian.'''
1697
- raise NotImplementedError()
1698
-
1699
- @property
1700
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
1701
- '''Throws :py:class:`System.InvalidOperationException`, since Local SRS doesn\'t have prime meridian.'''
1702
- raise NotImplementedError()
1703
-
1704
- @property
1705
- def has_geographic_datum(self) -> bool:
1706
- '''Returns , since Local SRS doesn\'t have geographic datum.'''
1707
- raise NotImplementedError()
1708
-
1709
- @property
1710
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
1711
- '''Throws :py:class:`System.InvalidOperationException`, since Local SRS doesn\'t have geographic datum.'''
1712
- raise NotImplementedError()
1713
-
1714
- @property
1715
- def local_datum(self) -> aspose.gis.spatialreferencing.LocalDatum:
1716
- '''Datum, that describes measurements method.'''
1717
- raise NotImplementedError()
1718
-
1719
- @property
1720
- def unit(self) -> aspose.gis.rendering.Unit:
1721
- '''Unit of this SRS.'''
1722
- raise NotImplementedError()
1723
-
1724
-
1725
- class PrimeMeridian(IdentifiableObject):
1726
- '''PrimeMeridian represents a meridian at which longitude is defined to be 0.'''
1727
-
1728
- @property
1729
- def name(self) -> str:
1730
- '''Name of this object.'''
1731
- raise NotImplementedError()
1732
-
1733
- @property
1734
- def epsg_code(self) -> int:
1735
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1736
- raise NotImplementedError()
1737
-
1738
- @property
1739
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1740
- '''Identifier of this identifiable object.'''
1741
- raise NotImplementedError()
1742
-
1743
- greenwich : aspose.gis.spatialreferencing.PrimeMeridian
1744
- '''Greenwich meridian.'''
1745
- @property
1746
- def longitude(self) -> float:
1747
- '''Distance from Greenwich meridian to prime meridian in degrees.'''
1748
- raise NotImplementedError()
1749
-
1750
-
1751
- class ProjectedSpatialReferenceSystem(SpatialReferenceSystem):
1752
- '''Projected SRS is a result of application a projection to geographic SRS.
1753
- A projected SRS can be two dimensional or three dimensional.
1754
- If projected SRS is three dimensional, then it is actually a compound SRS of two dimensional projected SRS and one dimensional vertical SRS.'''
1755
-
1756
- @overload
1757
- @staticmethod
1758
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1759
- '''Determines if two SRS are equivalent.
1760
- Same coordinates of equivalent SRS match same place on Earth.
1761
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
1762
-
1763
- :param srs1: First SRS.
1764
- :param srs2: Second SRS.
1765
- :returns: bool value, indicating whether two SRS are equivalent.'''
1766
- raise NotImplementedError()
1767
-
1768
- @overload
1769
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1770
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
1771
-
1772
- :param other: Other SRS.
1773
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
1774
- raise NotImplementedError()
1775
-
1776
- @staticmethod
1777
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1778
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1779
-
1780
- :param wkt: WKT string.
1781
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
1782
- contains .
1783
- :returns: if SRS was successfully created; otherwise.'''
1784
- raise NotImplementedError()
1785
-
1786
- @staticmethod
1787
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1788
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
1789
-
1790
- :param wkt: WKT string.
1791
- :returns: New ``SpatialReferenceSystem``.'''
1792
- raise NotImplementedError()
1793
-
1794
- @staticmethod
1795
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1796
- '''Create a spatial reference system based the specified EPSG code.
1797
-
1798
- :param epsg: EPSG code of the spatial reference system.
1799
- :returns: A new spatial reference system with the specified EPSG code.'''
1800
- raise NotImplementedError()
1801
-
1802
- @staticmethod
1803
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
1804
- '''Create a spatial reference system based the specified EPSG code.
1805
-
1806
- :param epsg: EPSG code of the spatial reference system.
1807
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
1808
- contains .
1809
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
1810
- raise NotImplementedError()
1811
-
1812
- @staticmethod
1813
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1814
- '''Create geographic SRS from custom parameters.
1815
-
1816
- :param parameters: Parameters to create from.
1817
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1818
- Its up to you to ensure consistency of identifier and SRS parameters.
1819
- :returns: New Geographic SRS.'''
1820
- raise NotImplementedError()
1821
-
1822
- @staticmethod
1823
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1824
- '''Create geocentric SRS from custom parameters.
1825
-
1826
- :param parameters: Parameters to create from.
1827
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1828
- Its up to you to ensure consistency of identifier and SRS parameters.
1829
- :returns: New Geocentric SRS.'''
1830
- raise NotImplementedError()
1831
-
1832
- @staticmethod
1833
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1834
- '''Create projected SRS from custom parameters.
1835
-
1836
- :param parameters: Parameters to create from.
1837
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1838
- Its up to you to ensure consistency of identifier and SRS parameters.
1839
- :returns: New Projected SRS.'''
1840
- raise NotImplementedError()
1841
-
1842
- @staticmethod
1843
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1844
- '''Create vertical SRS.
1845
-
1846
- :param name: Name of SRS. If .
1847
- :param vertical_datum: Datum to be used in SRS.
1848
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
1849
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
1850
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1851
- Its up to you to ensure consistency of identifier and SRS parameters.
1852
- :returns: New Vertical SRS.'''
1853
- raise NotImplementedError()
1854
-
1855
- @staticmethod
1856
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
1857
- '''Create compound SRS.
1858
-
1859
- :param name: Name of new SRS.
1860
- :param head: Head SRS of new SRS.
1861
- :param tail: Tail SRS of new SRS.
1862
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
1863
- Its up to you to ensure consistency of identifier and SRS parameters.
1864
- :returns: New Compound SRS.'''
1865
- raise NotImplementedError()
1866
-
1867
- @staticmethod
1868
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1869
- raise NotImplementedError()
1870
-
1871
- def validate(self, error_message : List[String]) -> bool:
1872
- '''Determine if this SRS is valid.
1873
-
1874
- :param error_message: If method return , then this is description of invalidity.
1875
- :returns: if SRS is valid, otherwise.'''
1876
- raise NotImplementedError()
1877
-
1878
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
1879
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
1880
-
1881
- :param dimension: Number of dimension.
1882
- :returns: Axis that describes dimension.'''
1883
- raise NotImplementedError()
1884
-
1885
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
1886
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
1887
-
1888
- :param dimension: Number of dimension.
1889
- :returns: Unit of dimension.'''
1890
- raise NotImplementedError()
1891
-
1892
- def export_to_wkt(self) -> str:
1893
- '''Returns representation of this SRS as WKT string.
1894
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
1895
-
1896
- :returns: WKT representation of this SRS.'''
1897
- raise NotImplementedError()
1898
-
1899
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
1900
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1901
-
1902
- :param target_srs: Another ``SpatialReferenceSystem``.
1903
- :param value: When this methods returns , contains a transformation; otherwise, contains .
1904
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1905
- :returns: if transformation was created successfully; otherwise.'''
1906
- raise NotImplementedError()
1907
-
1908
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
1909
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
1910
-
1911
- :param target_srs: Another ``SpatialReferenceSystem``.
1912
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
1913
- raise NotImplementedError()
1914
-
1915
- @property
1916
- def name(self) -> str:
1917
- '''Name of this object.'''
1918
- raise NotImplementedError()
1919
-
1920
- @property
1921
- def epsg_code(self) -> int:
1922
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
1923
- raise NotImplementedError()
1924
-
1925
- @property
1926
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
1927
- '''Identifier of this identifiable object.'''
1928
- raise NotImplementedError()
1929
-
1930
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1931
- '''WGS 84 (EPSG:4326) spatial reference system.'''
1932
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1933
- '''Web Mercator (EPSG:3857) spatial reference system.'''
1934
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1935
- '''WGS 72 (EPSG:4322) spatial reference system.'''
1936
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1937
- '''NAD 83 (EPSG:4269) spatial reference system.'''
1938
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1939
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
1940
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1941
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
1942
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1943
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
1944
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
1945
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
1946
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
1947
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
1948
- @property
1949
- def is_valid(self) -> bool:
1950
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
1951
- raise NotImplementedError()
1952
-
1953
- @property
1954
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
1955
- '''Returns :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.'''
1956
- raise NotImplementedError()
1957
-
1958
- @property
1959
- def is_compound(self) -> bool:
1960
- '''Returns whether this SRS is compound (a union of two SRS).
1961
- Following combinations of SRS in compound SRS are considered valid:
1962
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
1963
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
1964
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
1965
- raise NotImplementedError()
1966
-
1967
- @property
1968
- def is_single(self) -> bool:
1969
- '''Returns whether this SRS is single (not a union of two SRS).'''
1970
- raise NotImplementedError()
1971
-
1972
- @property
1973
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
1974
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`.
1975
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1976
- raise NotImplementedError()
1977
-
1978
- @property
1979
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
1980
- '''Return this.'''
1981
- raise NotImplementedError()
1982
-
1983
- @property
1984
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
1985
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
1986
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1987
- raise NotImplementedError()
1988
-
1989
- @property
1990
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
1991
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
1992
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1993
- raise NotImplementedError()
1994
-
1995
- @property
1996
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
1997
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
1998
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
1999
- raise NotImplementedError()
2000
-
2001
- @property
2002
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
2003
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
2004
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
2005
- raise NotImplementedError()
2006
-
2007
- @property
2008
- def dimensions_count(self) -> int:
2009
- '''Returns dimensions count in this SRS. For projected SRS this can be:
2010
- two - if this is single projected SRS.
2011
- three - if this is compound SRS, which consists of single, two dimensional, projected SRS and vertical SRS, that adds third dimension.'''
2012
- raise NotImplementedError()
2013
-
2014
- @property
2015
- def has_prime_meridian(self) -> bool:
2016
- '''Returns true, since projected SRS always have prime meridian.'''
2017
- raise NotImplementedError()
2018
-
2019
- @property
2020
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
2021
- '''Returns prime meridian of this SRS.'''
2022
- raise NotImplementedError()
2023
-
2024
- @property
2025
- def has_geographic_datum(self) -> bool:
2026
- '''Returns true, since projected SRS always have prime meridian.'''
2027
- raise NotImplementedError()
2028
-
2029
- @property
2030
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
2031
- '''Returns geographic datum of this SRS.'''
2032
- raise NotImplementedError()
2033
-
2034
- @property
2035
- def base(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2036
- '''Geographic SRS to which :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem.projection` was applied to get this SRS.'''
2037
- raise NotImplementedError()
2038
-
2039
- @property
2040
- def projection(self) -> aspose.gis.projections.Projection:
2041
- '''Projection, that was applied to :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem.base` to get this SRS.'''
2042
- raise NotImplementedError()
2043
-
2044
- @property
2045
- def linear_unit(self) -> aspose.gis.rendering.Unit:
2046
- '''Unit, that is used for linear dimensions in this SRS and for linear parameters of :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem.projection`.'''
2047
- raise NotImplementedError()
2048
-
2049
- @property
2050
- def angular_unit(self) -> aspose.gis.rendering.Unit:
2051
- '''Unit, that is used for angular values in this SRS and for angular parameters of :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem.projection`.
2052
- Matches angular unit of :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem.base`.'''
2053
- raise NotImplementedError()
2054
-
2055
- @property
2056
- def axises_order(self) -> aspose.gis.spatialreferencing.ProjectedAxisesOrder:
2057
- '''Order of axises in this SRS.
2058
- If this SRS is not valid and has wrong axises directions, :py:attr:`aspose.gis.spatialreferencing.ProjectedAxisesOrder.INVALID` is returned.'''
2059
- raise NotImplementedError()
2060
-
2061
-
2062
- class ProjectedSpatialReferenceSystemParameters:
2063
- '''Parameters to create projected SRS. Some of parameters have defaults.
2064
- Some parameters have reasonable defaults, so you don\'t have to assign only them.
2065
- If you assign to those parameters, a default value will be used.
2066
- :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters.projection_method_name` and :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters.base` don\'t have defaults -
2067
- you have to assign some non value to this properties.'''
2068
-
2069
- def add_projection_parameter(self, parameter_name : str, value : float) -> None:
2070
- '''Adds projection parameter to this SRS. If parameter with such name already was added - update it.
2071
-
2072
- :param parameter_name: Name of projection parameter.
2073
- :param value: Value of parameter. Unit of value should be in :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters.linear_unit`
2074
- or :py:attr:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem.angular_unit` of :py:attr:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters.base`.'''
2075
- raise NotImplementedError()
2076
-
2077
- def get_projection_parameter(self, parameter_name : str) -> float:
2078
- '''Gets projection parameter with specified name.
2079
-
2080
- :param parameter_name: Name of parameter.
2081
- :returns: Projection parameter value.'''
2082
- raise NotImplementedError()
2083
-
2084
- @property
2085
- def name(self) -> str:
2086
- '''Name of projected SRS. Default is "Unnamed".'''
2087
- raise NotImplementedError()
2088
-
2089
- @name.setter
2090
- def name(self, value : str) -> None:
2091
- '''Name of projected SRS. Default is "Unnamed".'''
2092
- raise NotImplementedError()
2093
-
2094
- @property
2095
- def linear_unit(self) -> aspose.gis.rendering.Unit:
2096
- '''Units to be used in this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.Unit.meter`.'''
2097
- raise NotImplementedError()
2098
-
2099
- @linear_unit.setter
2100
- def linear_unit(self, value : aspose.gis.rendering.Unit) -> None:
2101
- '''Units to be used in this SRS. Default is :py:attr:`aspose.gis.spatialreferencing.Unit.meter`.'''
2102
- raise NotImplementedError()
2103
-
2104
- @property
2105
- def base(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2106
- '''Base geographic SRS (SRS to which projection is applied).
2107
- You MUST set this property to not value in order to create valid SRS,
2108
- this property does not have any default.'''
2109
- raise NotImplementedError()
2110
-
2111
- @base.setter
2112
- def base(self, value : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem) -> None:
2113
- '''Base geographic SRS (SRS to which projection is applied).
2114
- You MUST set this property to not value in order to create valid SRS,
2115
- this property does not have any default.'''
2116
- raise NotImplementedError()
2117
-
2118
- @property
2119
- def x_axis(self) -> aspose.gis.spatialreferencing.Axis:
2120
- '''Axis that describes X (horizontal) dimension. Defaults to axis with east direction.'''
2121
- raise NotImplementedError()
2122
-
2123
- @x_axis.setter
2124
- def x_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
2125
- '''Axis that describes X (horizontal) dimension. Defaults to axis with east direction.'''
2126
- raise NotImplementedError()
2127
-
2128
- @property
2129
- def y_axis(self) -> aspose.gis.spatialreferencing.Axis:
2130
- '''Axis that describes Y (vertical) dimension. Defaults to axis with north direction.'''
2131
- raise NotImplementedError()
2132
-
2133
- @y_axis.setter
2134
- def y_axis(self, value : aspose.gis.spatialreferencing.Axis) -> None:
2135
- '''Axis that describes Y (vertical) dimension. Defaults to axis with north direction.'''
2136
- raise NotImplementedError()
2137
-
2138
- @property
2139
- def axises_order(self) -> aspose.gis.spatialreferencing.ProjectedAxisesOrder:
2140
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.ProjectedAxisesOrder.XY`.'''
2141
- raise NotImplementedError()
2142
-
2143
- @axises_order.setter
2144
- def axises_order(self, value : aspose.gis.spatialreferencing.ProjectedAxisesOrder) -> None:
2145
- '''Order of axises. Defaults to :py:attr:`aspose.gis.spatialreferencing.ProjectedAxisesOrder.XY`.'''
2146
- raise NotImplementedError()
2147
-
2148
- @property
2149
- def projection_method_name(self) -> str:
2150
- '''Name of projection method. There is no default and you MUST set this parameter to not value, since
2151
- projected SRS with no projection name is useless.'''
2152
- raise NotImplementedError()
2153
-
2154
- @projection_method_name.setter
2155
- def projection_method_name(self, value : str) -> None:
2156
- '''Name of projection method. There is no default and you MUST set this parameter to not value, since
2157
- projected SRS with no projection name is useless.'''
2158
- raise NotImplementedError()
2159
-
2160
- @property
2161
- def projection_method_identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2162
- '''Identifier of projection method. There is no default value, you might set this parameter to not value,
2163
- if you want attach identifier to projection. If you do so - its up to you to ensure that identifier in consistent projection method
2164
- name (projection method name will not change when you set this property).'''
2165
- raise NotImplementedError()
2166
-
2167
- @projection_method_identifier.setter
2168
- def projection_method_identifier(self, value : aspose.gis.spatialreferencing.Identifier) -> None:
2169
- '''Identifier of projection method. There is no default value, you might set this parameter to not value,
2170
- if you want attach identifier to projection. If you do so - its up to you to ensure that identifier in consistent projection method
2171
- name (projection method name will not change when you set this property).'''
2172
- raise NotImplementedError()
2173
-
2174
-
2175
- class Projection(IdentifiableObject):
2176
- '''Represents a projection method with parameters, that transforms (longitude, latitude) to (x, y).'''
2177
-
2178
- def get_parameter_value(self, name : str, type : aspose.gis.spatialreferencing.ParameterType) -> float:
2179
- '''Gets parameter with specified name of this projection.
2180
-
2181
- :param name: Name of parameter.
2182
- :param type: Type of parameter.
2183
- Defines unit factor that will be deapplied:
2184
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.LINEAR` then :py:attr:`aspose.gis.spatialreferencing.Projection.linear_parameters_unit` will be deapplied and result will be in meters.
2185
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.ANGULAR` then :py:attr:`aspose.gis.spatialreferencing.Projection.angular_parameters_unit` will be deapplied and result will be in radians.
2186
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.OTHER` parameter value will be returned \'as is\'.
2187
- :returns: Parameter with specified name.'''
2188
- raise NotImplementedError()
2189
-
2190
- def try_get_parameter_value(self, name : str, type : aspose.gis.spatialreferencing.ParameterType) -> Optional[float]:
2191
- '''Gets parameter with specified name of this projection. If there are no such parameter - returns .
2192
-
2193
- :param name: Name of parameter.
2194
- :param type: Type of parameter.
2195
- Defines unit factor that will be deapplied:
2196
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.LINEAR` then :py:attr:`aspose.gis.spatialreferencing.Projection.linear_parameters_unit` will be deapplied and result will be in meters.
2197
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.ANGULAR` then :py:attr:`aspose.gis.spatialreferencing.Projection.angular_parameters_unit` will be deapplied and result will be in radians.
2198
- if type is :py:attr:`aspose.gis.spatialreferencing.ParameterType.OTHER` parameter value will be returned \'as is\'.
2199
- :returns: Parameter with specified name or if it is not present.'''
2200
- raise NotImplementedError()
2201
-
2202
- def is_equivalent(self, other : aspose.gis.projections.Projection) -> bool:
2203
- '''Determines is two projections are equivalent. Equivalent projections map (longitude, latitude) to (x, y) in the
2204
- same way.
2205
-
2206
- :param other: Other projection
2207
- :returns: if projections are equivalent, otherwise.'''
2208
- raise NotImplementedError()
2209
-
2210
- @property
2211
- def name(self) -> str:
2212
- '''Name of this object.'''
2213
- raise NotImplementedError()
2214
-
2215
- @property
2216
- def epsg_code(self) -> int:
2217
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
2218
- raise NotImplementedError()
2219
-
2220
- @property
2221
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2222
- '''Identifier of this identifiable object.'''
2223
- raise NotImplementedError()
2224
-
2225
- @property
2226
- def linear_parameters_unit(self) -> aspose.gis.rendering.Unit:
2227
- '''Unit that is used for linear parameters.'''
2228
- raise NotImplementedError()
2229
-
2230
- @property
2231
- def angular_parameters_unit(self) -> aspose.gis.rendering.Unit:
2232
- '''Unit that is used for angular parameters.'''
2233
- raise NotImplementedError()
2234
-
2235
- @property
2236
- def parameters_names(self) -> List[str]:
2237
- '''Gets an enumerable collection of names of parameters given to this projection'''
2238
- raise NotImplementedError()
2239
-
2240
-
2241
- class SpatialReferenceSystem(IdentifiableObject):
2242
- '''Spatial reference system maps coordinates to places on Earth.
2243
- There are different types of SRS, see :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type`.
2244
- What\'s more, if type of SRS is :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC` or
2245
- :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`, SRS can be compound or single, see :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound`.'''
2246
-
2247
- @overload
2248
- @staticmethod
2249
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
2250
- '''Determines if two SRS are equivalent.
2251
- Same coordinates of equivalent SRS match same place on Earth.
2252
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
2253
-
2254
- :param srs1: First SRS.
2255
- :param srs2: Second SRS.
2256
- :returns: bool value, indicating whether two SRS are equivalent.'''
2257
- raise NotImplementedError()
2258
-
2259
- @overload
2260
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
2261
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
2262
-
2263
- :param other: Other SRS.
2264
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
2265
- raise NotImplementedError()
2266
-
2267
- @staticmethod
2268
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
2269
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
2270
-
2271
- :param wkt: WKT string.
2272
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
2273
- contains .
2274
- :returns: if SRS was successfully created; otherwise.'''
2275
- raise NotImplementedError()
2276
-
2277
- @staticmethod
2278
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2279
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
2280
-
2281
- :param wkt: WKT string.
2282
- :returns: New ``SpatialReferenceSystem``.'''
2283
- raise NotImplementedError()
2284
-
2285
- @staticmethod
2286
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2287
- '''Create a spatial reference system based the specified EPSG code.
2288
-
2289
- :param epsg: EPSG code of the spatial reference system.
2290
- :returns: A new spatial reference system with the specified EPSG code.'''
2291
- raise NotImplementedError()
2292
-
2293
- @staticmethod
2294
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
2295
- '''Create a spatial reference system based the specified EPSG code.
2296
-
2297
- :param epsg: EPSG code of the spatial reference system.
2298
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
2299
- contains .
2300
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
2301
- raise NotImplementedError()
2302
-
2303
- @staticmethod
2304
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2305
- '''Create geographic SRS from custom parameters.
2306
-
2307
- :param parameters: Parameters to create from.
2308
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2309
- Its up to you to ensure consistency of identifier and SRS parameters.
2310
- :returns: New Geographic SRS.'''
2311
- raise NotImplementedError()
2312
-
2313
- @staticmethod
2314
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
2315
- '''Create geocentric SRS from custom parameters.
2316
-
2317
- :param parameters: Parameters to create from.
2318
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2319
- Its up to you to ensure consistency of identifier and SRS parameters.
2320
- :returns: New Geocentric SRS.'''
2321
- raise NotImplementedError()
2322
-
2323
- @staticmethod
2324
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
2325
- '''Create projected SRS from custom parameters.
2326
-
2327
- :param parameters: Parameters to create from.
2328
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2329
- Its up to you to ensure consistency of identifier and SRS parameters.
2330
- :returns: New Projected SRS.'''
2331
- raise NotImplementedError()
2332
-
2333
- @staticmethod
2334
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
2335
- '''Create vertical SRS.
2336
-
2337
- :param name: Name of SRS. If .
2338
- :param vertical_datum: Datum to be used in SRS.
2339
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
2340
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
2341
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2342
- Its up to you to ensure consistency of identifier and SRS parameters.
2343
- :returns: New Vertical SRS.'''
2344
- raise NotImplementedError()
2345
-
2346
- @staticmethod
2347
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
2348
- '''Create compound SRS.
2349
-
2350
- :param name: Name of new SRS.
2351
- :param head: Head SRS of new SRS.
2352
- :param tail: Tail SRS of new SRS.
2353
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2354
- Its up to you to ensure consistency of identifier and SRS parameters.
2355
- :returns: New Compound SRS.'''
2356
- raise NotImplementedError()
2357
-
2358
- @staticmethod
2359
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
2360
- raise NotImplementedError()
2361
-
2362
- def validate(self, error_message : List[String]) -> bool:
2363
- '''Determine if this SRS is valid.
2364
-
2365
- :param error_message: If method return , then this is description of invalidity.
2366
- :returns: if SRS is valid, otherwise.'''
2367
- raise NotImplementedError()
2368
-
2369
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
2370
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
2371
-
2372
- :param dimension: Number of dimension.
2373
- :returns: Axis that describes dimension.'''
2374
- raise NotImplementedError()
2375
-
2376
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
2377
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
2378
-
2379
- :param dimension: Number of dimension.
2380
- :returns: Unit of dimension.'''
2381
- raise NotImplementedError()
2382
-
2383
- def export_to_wkt(self) -> str:
2384
- '''Returns representation of this SRS as WKT string.
2385
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
2386
-
2387
- :returns: WKT representation of this SRS.'''
2388
- raise NotImplementedError()
2389
-
2390
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
2391
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2392
-
2393
- :param target_srs: Another ``SpatialReferenceSystem``.
2394
- :param value: When this methods returns , contains a transformation; otherwise, contains .
2395
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2396
- :returns: if transformation was created successfully; otherwise.'''
2397
- raise NotImplementedError()
2398
-
2399
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
2400
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2401
-
2402
- :param target_srs: Another ``SpatialReferenceSystem``.
2403
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
2404
- raise NotImplementedError()
2405
-
2406
- @property
2407
- def name(self) -> str:
2408
- '''Name of this object.'''
2409
- raise NotImplementedError()
2410
-
2411
- @property
2412
- def epsg_code(self) -> int:
2413
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
2414
- raise NotImplementedError()
2415
-
2416
- @property
2417
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2418
- '''Identifier of this identifiable object.'''
2419
- raise NotImplementedError()
2420
-
2421
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2422
- '''WGS 84 (EPSG:4326) spatial reference system.'''
2423
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2424
- '''Web Mercator (EPSG:3857) spatial reference system.'''
2425
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2426
- '''WGS 72 (EPSG:4322) spatial reference system.'''
2427
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2428
- '''NAD 83 (EPSG:4269) spatial reference system.'''
2429
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2430
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
2431
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2432
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
2433
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2434
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
2435
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2436
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
2437
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2438
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
2439
- @property
2440
- def is_valid(self) -> bool:
2441
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
2442
- raise NotImplementedError()
2443
-
2444
- @property
2445
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
2446
- '''Gets type of this SRS, see :py:class:`aspose.gis.spatialreferencing.SpatialReferenceSystemType`.'''
2447
- raise NotImplementedError()
2448
-
2449
- @property
2450
- def is_compound(self) -> bool:
2451
- '''Returns whether this SRS is compound (a union of two SRS).
2452
- Following combinations of SRS in compound SRS are considered valid:
2453
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
2454
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
2455
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
2456
- raise NotImplementedError()
2457
-
2458
- @property
2459
- def is_single(self) -> bool:
2460
- '''Returns whether this SRS is single (not a union of two SRS).'''
2461
- raise NotImplementedError()
2462
-
2463
- @property
2464
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2465
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`.
2466
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2467
- raise NotImplementedError()
2468
-
2469
- @property
2470
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
2471
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`.
2472
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2473
- raise NotImplementedError()
2474
-
2475
- @property
2476
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
2477
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
2478
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2479
- raise NotImplementedError()
2480
-
2481
- @property
2482
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
2483
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`.
2484
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2485
- raise NotImplementedError()
2486
-
2487
- @property
2488
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
2489
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
2490
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2491
- raise NotImplementedError()
2492
-
2493
- @property
2494
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
2495
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
2496
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
2497
- raise NotImplementedError()
2498
-
2499
- @property
2500
- def dimensions_count(self) -> int:
2501
- '''Returns number of dimensions in this SRS.'''
2502
- raise NotImplementedError()
2503
-
2504
- @property
2505
- def has_prime_meridian(self) -> bool:
2506
- '''Returns whether this SRS has prime meridian.
2507
- This is true for every geographic, projected and geocentric SRS.'''
2508
- raise NotImplementedError()
2509
-
2510
- @property
2511
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
2512
- '''Returns prime meridian of this SRS.'''
2513
- raise NotImplementedError()
2514
-
2515
- @property
2516
- def has_geographic_datum(self) -> bool:
2517
- '''Determines whether this SRS has geographic datum.
2518
- This is true for every geographic, projected and geocentric SRS.'''
2519
- raise NotImplementedError()
2520
-
2521
- @property
2522
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
2523
- '''Returns geographic datum of this SRS.'''
2524
- raise NotImplementedError()
2525
-
2526
-
2527
- class SpatialReferenceSystemTransformation:
2528
- '''Spatial reference system transformation transforms geometries from source spatial reference system to target spatial reference system.'''
2529
-
2530
- def transform(self, geometry : aspose.gis.geometries.IGeometry) -> aspose.gis.geometries.Geometry:
2531
- '''Transforms geometry from source spatial reference system to target spatial reference system.
2532
-
2533
- :param geometry: Geometry to transform.
2534
- :returns: New geometry in target spatial reference system.'''
2535
- raise NotImplementedError()
2536
-
2537
- @property
2538
- def source(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2539
- '''Source spatial reference system.'''
2540
- raise NotImplementedError()
2541
-
2542
- @property
2543
- def target(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2544
- '''Target spatial reference system.'''
2545
- raise NotImplementedError()
2546
-
2547
-
2548
- class TransformationException:
2549
- '''Transformation exception is thrown when error occurs during transformation of coordinate or during transformation creation.'''
2550
-
2551
-
2552
- class Unit(IdentifiableObject):
2553
- '''Represent measurement unit.'''
2554
-
2555
- def apply(self, value : float) -> float:
2556
- '''Converts argument to unit, described by this instance.
2557
-
2558
- :param value: Value to convert. Must be in radians or meters.
2559
- :returns: Value, converted to this unit.'''
2560
- raise NotImplementedError()
2561
-
2562
- def deapply(self, value : float) -> float:
2563
- '''Converts argument from unit, described by this instance, to radians or meters.
2564
-
2565
- :param value: Value to convert.
2566
- :returns: Value converted to radians or meters.'''
2567
- raise NotImplementedError()
2568
-
2569
- @property
2570
- def name(self) -> str:
2571
- '''Name of this object.'''
2572
- raise NotImplementedError()
2573
-
2574
- @property
2575
- def epsg_code(self) -> int:
2576
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
2577
- raise NotImplementedError()
2578
-
2579
- @property
2580
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2581
- '''Identifier of this identifiable object.'''
2582
- raise NotImplementedError()
2583
-
2584
- meter : aspose.gis.rendering.Unit
2585
- '''Get Unit that represents meters.'''
2586
- radian : aspose.gis.rendering.Unit
2587
- '''Get Unit that represents radians.'''
2588
- degree : aspose.gis.rendering.Unit
2589
- '''Get Unit that represents degrees.'''
2590
- @property
2591
- def factor(self) -> float:
2592
- '''Factor to meter, if this is length unit, factor to radian, if this is angle unit.'''
2593
- raise NotImplementedError()
2594
-
2595
-
2596
- class VerticalDatum(IdentifiableObject):
2597
- '''Indicates method used for vertical measurements.'''
2598
-
2599
- @property
2600
- def name(self) -> str:
2601
- '''Name of this object.'''
2602
- raise NotImplementedError()
2603
-
2604
- @property
2605
- def epsg_code(self) -> int:
2606
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
2607
- raise NotImplementedError()
2608
-
2609
- @property
2610
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2611
- '''Identifier of this identifiable object.'''
2612
- raise NotImplementedError()
2613
-
2614
- @property
2615
- def datum_type(self) -> int:
2616
- '''An integer number, indicating method that had been used.'''
2617
- raise NotImplementedError()
2618
-
2619
-
2620
- class VerticalSpatialReferenceSystem(SpatialReferenceSystem):
2621
- '''Vertical SRS is a one dimensional SRS that describes height coordinates.'''
2622
-
2623
- @overload
2624
- def is_equivalent(self, other : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
2625
- '''Detects whether this SRS is equivalent to other SRS. :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_equivalent`.
2626
-
2627
- :param other: Other SRS.
2628
- :returns: bool value, indicating whether this SRS is equivalent to other SRS.'''
2629
- raise NotImplementedError()
2630
-
2631
- @overload
2632
- @staticmethod
2633
- def is_equivalent(srs1 : aspose.gis.spatialreferencing.SpatialReferenceSystem, srs2 : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
2634
- '''Determines if two SRS are equivalent.
2635
- Same coordinates of equivalent SRS match same place on Earth.
2636
- Some parameters of equivalent SRS can be different, for example :py:attr:`aspose.gis.spatialreferencing.IdentifiableObject.name`.
2637
-
2638
- :param srs1: First SRS.
2639
- :param srs2: Second SRS.
2640
- :returns: bool value, indicating whether two SRS are equivalent.'''
2641
- raise NotImplementedError()
2642
-
2643
- @staticmethod
2644
- def try_create_from_wkt(wkt : str, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
2645
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
2646
-
2647
- :param wkt: WKT string.
2648
- :param value: When this methods returns , contains an SRS created from WKT; otherwise,
2649
- contains .
2650
- :returns: if SRS was successfully created; otherwise.'''
2651
- raise NotImplementedError()
2652
-
2653
- @staticmethod
2654
- def create_from_wkt(wkt : str) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2655
- '''Creates a new ``SpatialReferenceSystem`` based on WKT (Well-Known Text) string.
2656
-
2657
- :param wkt: WKT string.
2658
- :returns: New ``SpatialReferenceSystem``.'''
2659
- raise NotImplementedError()
2660
-
2661
- @staticmethod
2662
- def create_from_epsg(epsg : int) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2663
- '''Create a spatial reference system based the specified EPSG code.
2664
-
2665
- :param epsg: EPSG code of the spatial reference system.
2666
- :returns: A new spatial reference system with the specified EPSG code.'''
2667
- raise NotImplementedError()
2668
-
2669
- @staticmethod
2670
- def try_create_from_epsg(epsg : int, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystem]) -> bool:
2671
- '''Create a spatial reference system based the specified EPSG code.
2672
-
2673
- :param epsg: EPSG code of the spatial reference system.
2674
- :param value: When this methods returns , contains a SRS with the specified EPSG code; otherwise,
2675
- contains .
2676
- :returns: if specified EPSG code is known and SRS was created; otherwise.'''
2677
- raise NotImplementedError()
2678
-
2679
- @staticmethod
2680
- def create_geographic(parameters : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2681
- '''Create geographic SRS from custom parameters.
2682
-
2683
- :param parameters: Parameters to create from.
2684
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2685
- Its up to you to ensure consistency of identifier and SRS parameters.
2686
- :returns: New Geographic SRS.'''
2687
- raise NotImplementedError()
2688
-
2689
- @staticmethod
2690
- def create_geocentric(parameters : aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
2691
- '''Create geocentric SRS from custom parameters.
2692
-
2693
- :param parameters: Parameters to create from.
2694
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2695
- Its up to you to ensure consistency of identifier and SRS parameters.
2696
- :returns: New Geocentric SRS.'''
2697
- raise NotImplementedError()
2698
-
2699
- @staticmethod
2700
- def create_projected(parameters : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystemParameters, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
2701
- '''Create projected SRS from custom parameters.
2702
-
2703
- :param parameters: Parameters to create from.
2704
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2705
- Its up to you to ensure consistency of identifier and SRS parameters.
2706
- :returns: New Projected SRS.'''
2707
- raise NotImplementedError()
2708
-
2709
- @staticmethod
2710
- def create_vertical(name : str, vertical_datum : aspose.gis.spatialreferencing.VerticalDatum, vertical_unit : aspose.gis.rendering.Unit, vertical_axis : aspose.gis.spatialreferencing.Axis, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
2711
- '''Create vertical SRS.
2712
-
2713
- :param name: Name of SRS. If .
2714
- :param vertical_datum: Datum to be used in SRS.
2715
- :param vertical_unit: Unit to be used in SRS. If , :py:attr:`aspose.gis.spatialreferencing.Unit.meter` will be used.
2716
- :param vertical_axis: Axis with "up" or "down" direction, to be used in SRS. If , axis with up direction will be used.
2717
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2718
- Its up to you to ensure consistency of identifier and SRS parameters.
2719
- :returns: New Vertical SRS.'''
2720
- raise NotImplementedError()
2721
-
2722
- @staticmethod
2723
- def create_compound(name : str, head : aspose.gis.spatialreferencing.SpatialReferenceSystem, tail : aspose.gis.spatialreferencing.SpatialReferenceSystem, identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
2724
- '''Create compound SRS.
2725
-
2726
- :param name: Name of new SRS.
2727
- :param head: Head SRS of new SRS.
2728
- :param tail: Tail SRS of new SRS.
2729
- :param identifier: Identifier, that will be attached to SRS. Attaching an Identifier will not modify other SRS parameters.
2730
- Its up to you to ensure consistency of identifier and SRS parameters.
2731
- :returns: New Compound SRS.'''
2732
- raise NotImplementedError()
2733
-
2734
- @staticmethod
2735
- def create_local(name : str, datum : aspose.gis.spatialreferencing.LocalDatum, unit : aspose.gis.rendering.Unit, axises : List[aspose.gis.spatialreferencing.Axis], identifier : aspose.gis.spatialreferencing.Identifier) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
2736
- raise NotImplementedError()
2737
-
2738
- def validate(self, error_message : List[String]) -> bool:
2739
- '''Determine if this SRS is valid. See :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate` for validity description.
2740
-
2741
- :param error_message: Description of invalidity (if result is )
2742
- :returns: If this SRS is valid - , otherwise - .'''
2743
- raise NotImplementedError()
2744
-
2745
- def get_axis(self, dimension : int) -> aspose.gis.spatialreferencing.Axis:
2746
- '''Get :py:class:`aspose.gis.spatialreferencing.Axis` that describes dimension.
2747
-
2748
- :param dimension: Number of dimension.
2749
- :returns: Axis that describes dimension.'''
2750
- raise NotImplementedError()
2751
-
2752
- def get_unit(self, dimension : int) -> aspose.gis.rendering.Unit:
2753
- '''Get :py:class:`aspose.gis.spatialreferencing.Unit` of dimension.
2754
-
2755
- :param dimension: Number of dimension.
2756
- :returns: Unit of dimension.'''
2757
- raise NotImplementedError()
2758
-
2759
- def export_to_wkt(self) -> str:
2760
- '''Returns representation of this SRS as WKT string.
2761
- The result WKT string will match OGC 01-009 specification, usually named "WKT1".
2762
-
2763
- :returns: WKT representation of this SRS.'''
2764
- raise NotImplementedError()
2765
-
2766
- def try_create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem, value : List[aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation]) -> bool:
2767
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2768
-
2769
- :param target_srs: Another ``SpatialReferenceSystem``.
2770
- :param value: When this methods returns , contains a transformation; otherwise, contains .
2771
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2772
- :returns: if transformation was created successfully; otherwise.'''
2773
- raise NotImplementedError()
2774
-
2775
- def create_transformation_to(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.spatialreferencing.SpatialReferenceSystemTransformation:
2776
- '''Creates transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.
2777
-
2778
- :param target_srs: Another ``SpatialReferenceSystem``.
2779
- :returns: Transformation from this ``SpatialReferenceSystem`` to another ``SpatialReferenceSystem``.'''
2780
- raise NotImplementedError()
2781
-
2782
- @property
2783
- def name(self) -> str:
2784
- '''Name of this object.'''
2785
- raise NotImplementedError()
2786
-
2787
- @property
2788
- def epsg_code(self) -> int:
2789
- '''If this objects identifier is EPSG identifier - return its code. Otherwise - return -1.'''
2790
- raise NotImplementedError()
2791
-
2792
- @property
2793
- def identifier(self) -> aspose.gis.spatialreferencing.Identifier:
2794
- '''Identifier of this identifiable object.'''
2795
- raise NotImplementedError()
2796
-
2797
- wgs84 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2798
- '''WGS 84 (EPSG:4326) spatial reference system.'''
2799
- web_mercator : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2800
- '''Web Mercator (EPSG:3857) spatial reference system.'''
2801
- wgs72 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2802
- '''WGS 72 (EPSG:4322) spatial reference system.'''
2803
- nad83 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2804
- '''NAD 83 (EPSG:4269) spatial reference system.'''
2805
- etrs89 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2806
- '''ETRS 89 (EPSG:4258) spatial reference system.'''
2807
- etrs_89_lambert_conformal_conic : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2808
- '''ETRS 89 / Lambert Conformal Conic (EPSG:3034) spatial reference system.'''
2809
- etrs_89_lambert_azimuthal_equal_area : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2810
- '''ETRS 89 / ETRS Lambert Azimuthal Equal Area (EPSG:3035) spatial reference system.'''
2811
- osgb36 : aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem
2812
- '''OSGB 36 (EPSG:4277) spatial reference system.'''
2813
- osgb_36_british_national_grid : aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem
2814
- '''OSGB 36 / British National Grid (EPSG:27700) spatial reference system.'''
2815
- @property
2816
- def is_valid(self) -> bool:
2817
- '''Same as :py:func:`aspose.gis.spatialreferencing.SpatialReferenceSystem.validate`, but don\'t return error message.'''
2818
- raise NotImplementedError()
2819
-
2820
- @property
2821
- def type(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystemType:
2822
- '''Return :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.VERTICAL`.'''
2823
- raise NotImplementedError()
2824
-
2825
- @property
2826
- def is_compound(self) -> bool:
2827
- '''Returns whether this SRS is compound (a union of two SRS).
2828
- Following combinations of SRS in compound SRS are considered valid:
2829
- Geographic SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC`.
2830
- Projected SRS + Vertical SRS, in this case type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.PROJECTED`.
2831
- If combination of SRSs differs, type of compound SRS will be :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.UNKNOWN`.'''
2832
- raise NotImplementedError()
2833
-
2834
- @property
2835
- def is_single(self) -> bool:
2836
- '''Returns whether this SRS is single (not a union of two SRS).'''
2837
- raise NotImplementedError()
2838
-
2839
- @property
2840
- def as_geographic(self) -> aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem:
2841
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`.
2842
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2843
- raise NotImplementedError()
2844
-
2845
- @property
2846
- def as_projected(self) -> aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem:
2847
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`.
2848
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2849
- raise NotImplementedError()
2850
-
2851
- @property
2852
- def as_geocentric(self) -> aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem:
2853
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`.
2854
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2855
- raise NotImplementedError()
2856
-
2857
- @property
2858
- def as_vertical(self) -> aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem:
2859
- '''Returns this SRS.'''
2860
- raise NotImplementedError()
2861
-
2862
- @property
2863
- def as_local(self) -> aspose.gis.spatialreferencing.LocalSpatialReferenceSystem:
2864
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`.
2865
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` to find out if conversion is possible.'''
2866
- raise NotImplementedError()
2867
-
2868
- @property
2869
- def as_compound(self) -> aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem:
2870
- '''Returns this SRS converted to :py:class:`aspose.gis.spatialreferencing.CompoundSpatialReferenceSystem`.
2871
- Use :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound` to find out if conversion is possible.'''
2872
- raise NotImplementedError()
2873
-
2874
- @property
2875
- def dimensions_count(self) -> int:
2876
- '''Returns 1, since vertical SRS is always one dimensional.'''
2877
- raise NotImplementedError()
2878
-
2879
- @property
2880
- def has_prime_meridian(self) -> bool:
2881
- '''Returns , since Vertical SRS doesn\'t have prime meridian.'''
2882
- raise NotImplementedError()
2883
-
2884
- @property
2885
- def prime_meridian(self) -> aspose.gis.spatialreferencing.PrimeMeridian:
2886
- '''Throws :py:class:`System.InvalidOperationException`, since Vertical SRS doesn\'t have prime meridian.'''
2887
- raise NotImplementedError()
2888
-
2889
- @property
2890
- def has_geographic_datum(self) -> bool:
2891
- '''Returns , since Vertical SRS doesn\'t have geographic datum.'''
2892
- raise NotImplementedError()
2893
-
2894
- @property
2895
- def geographic_datum(self) -> aspose.gis.spatialreferencing.GeographicDatum:
2896
- '''Throws :py:class:`System.InvalidOperationException`, since Vertical SRS doesn\'t have geographic datum.'''
2897
- raise NotImplementedError()
2898
-
2899
- @property
2900
- def vertical_unit(self) -> aspose.gis.rendering.Unit:
2901
- '''Unit that is used in this SRS.'''
2902
- raise NotImplementedError()
2903
-
2904
- @property
2905
- def vertical_datum(self) -> aspose.gis.spatialreferencing.VerticalDatum:
2906
- '''Datum that is used in this SRS.'''
2907
- raise NotImplementedError()
2908
-
2909
-
2910
- class AxisDirection:
2911
- '''Axis direction defines direction at which axis is pointing.'''
2912
-
2913
- INVALID : AxisDirection
2914
- '''Default value.'''
2915
- NORTH : AxisDirection
2916
- '''Axis pointing to the north.'''
2917
- SOUTH : AxisDirection
2918
- '''Axis pointing to the south.'''
2919
- EAST : AxisDirection
2920
- '''Axis pointing to the east.'''
2921
- WEST : AxisDirection
2922
- '''Axis pointing to the west.'''
2923
- UP : AxisDirection
2924
- '''Axis pointing up.'''
2925
- DOWN : AxisDirection
2926
- '''Axis pointing down.'''
2927
- OTHER : AxisDirection
2928
- '''Axis pointing to some other direction. This might be \'X\' axis in geocentric SRS (it points to prime meridian).'''
2929
-
2930
- class GeocentricAxisesOrder:
2931
- '''Represents order of axises in geocentric SRS.'''
2932
-
2933
- INVALID : GeocentricAxisesOrder
2934
- '''Geocentric SRS is invalid and axises order can not be determined.'''
2935
- XYZ : GeocentricAxisesOrder
2936
- '''Order is X, Y, Z.'''
2937
- XZY : GeocentricAxisesOrder
2938
- '''Order is X, Z, Y.'''
2939
- YXZ : GeocentricAxisesOrder
2940
- '''Order is Y, X, Z.'''
2941
- YZX : GeocentricAxisesOrder
2942
- '''Order is Y, Z, X.'''
2943
- ZXY : GeocentricAxisesOrder
2944
- '''Order is Z, X, Y.'''
2945
- ZYX : GeocentricAxisesOrder
2946
- '''Order is Z, Y, X.'''
2947
-
2948
- class GeographicAxisesOrder:
2949
- '''Represents order of axises in geographic SRS.'''
2950
-
2951
- INVALID : GeographicAxisesOrder
2952
- '''Geographic SRS is invalid and axises order can not be determined.'''
2953
- LONGITUDE_LATITUDE : GeographicAxisesOrder
2954
- '''Order is (Longitude, Latitude).'''
2955
- LATITUDE_LONGITUDE : GeographicAxisesOrder
2956
- '''Order is (Latitude, Longitude).'''
2957
-
2958
- class ParameterType:
2959
- '''Determines type of parameter in :py:class:`aspose.gis.spatialreferencing.Projection`.'''
2960
-
2961
- OTHER : ParameterType
2962
- '''Type of parameter is unknown or none of the below.'''
2963
- LINEAR : ParameterType
2964
- '''Type of parameter is linear (for example "false_easting").'''
2965
- ANGULAR : ParameterType
2966
- '''Type of parameter is angular (for example "longitude_of_origin").'''
2967
-
2968
- class ProjectedAxisesOrder:
2969
- '''Represents order of axises in geographic SRS.'''
2970
-
2971
- INVALID : ProjectedAxisesOrder
2972
- '''Projected SRS is invalid and axises order can not be determined.'''
2973
- XY : ProjectedAxisesOrder
2974
- '''Order is (X, Y). (X is horizontal (East, West), Y is vertical (North, South)).'''
2975
- YX : ProjectedAxisesOrder
2976
- '''Order is (Y, X). (X is horizontal axis (East, West), Y is vertical axis (North, South)).'''
2977
-
2978
- class SpatialReferenceSystemType:
2979
- '''Represents type of spatial reference system.'''
2980
-
2981
- UNKNOWN : SpatialReferenceSystemType
2982
- '''Default value.
2983
- Can be returned from :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.type` if this is a compound SRS with invalid combination of
2984
- underlying SRSs. See :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.is_compound`.'''
2985
- GEOGRAPHIC : SpatialReferenceSystemType
2986
- '''Geographic SRS is based on angular longitude and angular latitude.
2987
- Geographic SRS can be converted to :py:class:`aspose.gis.spatialreferencing.GeographicSpatialReferenceSystem`
2988
- via :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.as_geographic` method.'''
2989
- GEOCENTRIC : SpatialReferenceSystemType
2990
- '''Geocentric SRS is three dimensional cartesian SRS with origin at Earth center.
2991
- Geocentric SRS can be converted to :py:class:`aspose.gis.spatialreferencing.GeocentricSpatialReferenceSystem`
2992
- via :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.as_geocentric` method.'''
2993
- PROJECTED : SpatialReferenceSystemType
2994
- '''Projected SRS is based on linear X and linear Y. It is the result of application a projection on a :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystemType.GEOGRAPHIC` SRS.
2995
- Projected SRS can be converted to :py:class:`aspose.gis.spatialreferencing.ProjectedSpatialReferenceSystem`
2996
- via :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.as_projected` method.'''
2997
- VERTICAL : SpatialReferenceSystemType
2998
- '''Vertical SRS describes linear height coordinate.
2999
- Vertical SRS can be converted to :py:class:`aspose.gis.spatialreferencing.VerticalSpatialReferenceSystem`
3000
- via :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.as_vertical` method.'''
3001
- LOCAL : SpatialReferenceSystemType
3002
- '''Local SRS relates coordinates to some object, other them Earth.
3003
- Local SRS can be converted to :py:class:`aspose.gis.spatialreferencing.LocalSpatialReferenceSystem`
3004
- via :py:attr:`aspose.gis.spatialreferencing.SpatialReferenceSystem.as_local` method.'''
3005
-