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