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
aspose/gis/__init__.pyi CHANGED
@@ -1,3057 +1,8 @@
1
+ """This is a wrapper module for Aspose.GIS .NET assembly"""
1
2
 
2
- from typing import List, Optional, Dict, Iterable, Any, overload
3
- import io
4
- import collections.abc
5
- from collections.abc import Sequence
6
- from datetime import datetime
7
- from aspose.pyreflection import Type
8
- import aspose.pycore
9
- import aspose.pydrawing
10
- from uuid import UUID
11
- import aspose.gis
12
- import aspose.gis.common
13
- import aspose.gis.common.formats
14
- import aspose.gis.common.formats.dbase
15
- import aspose.gis.common.formats.gdbtable
16
- import aspose.gis.common.formats.mapinfo
17
- import aspose.gis.common.formats.mapinfo.graphicalobjects
18
- import aspose.gis.common.formats.mapinfo.interchangeformat
19
- import aspose.gis.common.formats.mapinfo.styling
20
- import aspose.gis.common.formats.mapinfo.tabformat
21
- import aspose.gis.common.formats.mapinfo.tabformat.map
22
- import aspose.gis.common.formats.wkb
23
- import aspose.gis.common.formats.wkt
24
- import aspose.gis.common.formats.xml
25
- import aspose.gis.common.io
26
- import aspose.gis.epsg
27
- import aspose.gis.formats
28
- import aspose.gis.formats.bmpw
29
- import aspose.gis.formats.csv
30
- import aspose.gis.formats.database
31
- import aspose.gis.formats.database.dataediting
32
- import aspose.gis.formats.database.fromdefinition
33
- import aspose.gis.formats.esriascii
34
- import aspose.gis.formats.esrijson
35
- import aspose.gis.formats.filegdb
36
- import aspose.gis.formats.gdal
37
- import aspose.gis.formats.geojson
38
- import aspose.gis.formats.geojsonseq
39
- import aspose.gis.formats.geopackage
40
- import aspose.gis.formats.geotiff
41
- import aspose.gis.formats.gml
42
- import aspose.gis.formats.gpx
43
- import aspose.gis.formats.infile
44
- import aspose.gis.formats.inmemory
45
- import aspose.gis.formats.jpegw
46
- import aspose.gis.formats.kml
47
- import aspose.gis.formats.kml.specificfields
48
- import aspose.gis.formats.kml.styles
49
- import aspose.gis.formats.mapinfointerchange
50
- import aspose.gis.formats.mapinfotab
51
- import aspose.gis.formats.osmxml
52
- import aspose.gis.formats.pngw
53
- import aspose.gis.formats.postgis
54
- import aspose.gis.formats.shapefile
55
- import aspose.gis.formats.sqlserver
56
- import aspose.gis.formats.tiffw
57
- import aspose.gis.formats.topojson
58
- import aspose.gis.formats.worldfile
59
- import aspose.gis.formats.xyztile
60
- import aspose.gis.geometries
61
- import aspose.gis.geotools
62
- import aspose.gis.geotools.extensions
63
- import aspose.gis.geotools.layersmap
64
- import aspose.gis.geotools.mapbuilder
65
- import aspose.gis.geotools.wayanalyzer
66
- import aspose.gis.imagemetadata
67
- import aspose.gis.indexing
68
- import aspose.gis.indexing.bplustree
69
- import aspose.gis.indexing.qixtree
70
- import aspose.gis.indexing.rtree
71
- import aspose.gis.labeling
72
- import aspose.gis.labeling.line
73
- import aspose.gis.painting
74
- import aspose.gis.projections
75
- import aspose.gis.raster
76
- import aspose.gis.raster.web
77
- import aspose.gis.relationship
78
- import aspose.gis.relationship.joins
79
- import aspose.gis.rendering
80
- import aspose.gis.rendering.colorizers
81
- import aspose.gis.rendering.formats
82
- import aspose.gis.rendering.formats.bmp
83
- import aspose.gis.rendering.formats.jpeg
84
- import aspose.gis.rendering.formats.png
85
- import aspose.gis.rendering.formats.svg
86
- import aspose.gis.rendering.labelings
87
- import aspose.gis.rendering.sld
88
- import aspose.gis.rendering.symbolizers
89
- import aspose.gis.spatialreferencing
90
- import aspose.gis.topology
91
- import aspose.gis.topology.algorithms
92
- import aspose.gis.topology.buffer
93
- import aspose.gis.topology.graph
94
-
95
- class AbstractPath:
96
- '''An ``AbstractPath`` is a base class for classes that specify a unique location in an environment similar to a filesystem,
97
- like a local filesystem, a remote file storage or a ZIP archive, among others.'''
98
-
99
- @staticmethod
100
- def from_local_path(path : str) -> aspose.gis.AbstractPath:
101
- '''Creates an :py:class:`aspose.gis.AbstractPath` that represents a location on the local filesystem.
102
-
103
- :param path: A path on the local filesystem, like ``"C:\\file.shp"`` or ``"D:\\directory\\"``.
104
- :returns: An :py:class:`aspose.gis.AbstractPath` that represents the location defined by the ``path``.'''
105
- raise NotImplementedError()
106
-
107
- @staticmethod
108
- def from_stream(stream : io.RawIOBase) -> aspose.gis.AbstractPath:
109
- '''Creates an :py:class:`aspose.gis.AbstractPath` from a :py:class:`io.RawIOBase`.
110
-
111
- :param stream: A stream to create an :py:class:`aspose.gis.AbstractPath` from. ``Aspose.GIS`` does not dispose the stream.
112
- :returns: An instance of :py:class:`aspose.gis.AbstractPath` with the specified :py:class:`io.RawIOBase` as its content.'''
113
- raise NotImplementedError()
114
-
115
- def is_file(self) -> bool:
116
- '''Gets a value indicating whether this path points to an existing file that can be opened for reading.
117
-
118
- :returns: if location points to a file; otherwise.'''
119
- raise NotImplementedError()
120
-
121
- def delete(self) -> None:
122
- '''Deletes a file pointed to by this path.'''
123
- raise NotImplementedError()
124
-
125
- def open(self, access : System.IO.FileAccess) -> io.RawIOBase:
126
- '''Opens this ``AbstractPath`` as a file.
127
-
128
- :param access: Specifies a subset of operations that can be performed on a :py:class:`io.RawIOBase`.
129
- :returns: A :py:class:`io.RawIOBase` opened with the specified :py:class:`System.IO.FileAccess`.'''
130
- raise NotImplementedError()
131
-
132
- def list_directory(self) -> Iterable[aspose.gis.AbstractPath]:
133
- '''Returns paths located inside this ``AbstractPath``, if it\'s a directory.
134
-
135
- :returns: Paths located inside this ``AbstractPath``.'''
136
- raise NotImplementedError()
137
-
138
- def combine(self, location : str) -> aspose.gis.AbstractPath:
139
- '''Combines this :py:class:`aspose.gis.AbstractPath` with specified path components.
140
-
141
- :param location: A path component to append to this :py:class:`aspose.gis.AbstractPath`.
142
- :returns: A new :py:class:`aspose.gis.AbstractPath` pointing to a :py:attr:`aspose.gis.AbstractPath.location` that is a combination of locations of this :py:class:`aspose.gis.AbstractPath` and
143
- the argument.'''
144
- raise NotImplementedError()
145
-
146
- def with_extension(self, new_extension : str) -> aspose.gis.AbstractPath:
147
- '''Returns a new :py:class:`aspose.gis.AbstractPath` with the file extension changed to the specified value.
148
-
149
- :param new_extension: A new extension.
150
- :returns: A new :py:class:`aspose.gis.AbstractPath`, that points to a file in the same directory, but with a new extension.'''
151
- raise NotImplementedError()
152
-
153
- def get_file_name(self) -> str:
154
- '''Returns the file name and extension of this :py:class:`aspose.gis.AbstractPath`.
155
-
156
- :returns: The characters after the last :py:attr:`aspose.gis.AbstractPath.separator` character in the :py:attr:`aspose.gis.AbstractPath.location`. If the
157
- last character is the :py:attr:`aspose.gis.AbstractPath.separator` character, an empty string is returned. If there is no
158
- :py:attr:`aspose.gis.AbstractPath.separator` characters in the :py:attr:`aspose.gis.AbstractPath.location`, the :py:attr:`aspose.gis.AbstractPath.location` itself
159
- is returned.'''
160
- raise NotImplementedError()
161
-
162
- def get_file_name_without_extension(self) -> str:
163
- '''Returns the file name of this :py:class:`aspose.gis.AbstractPath` without the extension.
164
-
165
- :returns: The string returned by :py:func:`aspose.gis.AbstractPath.get_file_name` minus the last period and all characters following it.'''
166
- raise NotImplementedError()
167
-
168
- def get_extension(self) -> str:
169
- '''Returns the extension of this :py:class:`aspose.gis.AbstractPath`.
170
-
171
- :returns: The extension of this :py:class:`aspose.gis.AbstractPath` (including the period ".") or
172
- an empty string if the :py:class:`aspose.gis.AbstractPath` has no extension.'''
173
- raise NotImplementedError()
174
-
175
- @property
176
- def location(self) -> str:
177
- '''Gets a string representation of the location of this ``AbstractPath``.'''
178
- raise NotImplementedError()
179
-
180
- @property
181
- def separator(self) -> str:
182
- '''Gets a separator character used to separate directory levels of the :py:attr:`aspose.gis.AbstractPath.location` string.'''
183
- raise NotImplementedError()
184
-
185
-
186
- class AttributesConverterActions:
187
- '''Optional actions with attributes of the destination layer.'''
188
-
189
- @property
190
- def exclude(self) -> bool:
191
- '''Sets to exclude the attribute from the destination layer. The initial value is .'''
192
- raise NotImplementedError()
193
-
194
- @exclude.setter
195
- def exclude(self, value : bool) -> None:
196
- '''Sets to exclude the attribute from the destination layer. The initial value is .'''
197
- raise NotImplementedError()
198
-
199
-
200
- class BaseFeatureAttributeCollection:
201
- '''A :py:class:`aspose.gis.FeatureAttributeCollection` defines what attributes are available for a :py:class:`aspose.gis.Feature`.'''
202
-
203
- @overload
204
- def remove(self, name : str) -> None:
205
- '''Removes the attribute from the collection.
206
-
207
- :param name: Name of the attribute.'''
208
- raise NotImplementedError()
209
-
210
- @overload
211
- def remove(self, index : int) -> None:
212
- '''Removes the attribute from the collection.
213
-
214
- :param index: Index of the attribute.'''
215
- raise NotImplementedError()
216
-
217
- def lock(self) -> None:
218
- '''Locks this attribute collection to prevent further modifications.'''
219
- raise NotImplementedError()
220
-
221
- def contains(self, name : str) -> bool:
222
- '''Determines whether the attribute collection contains an attribute with the specified name.
223
-
224
- :param name: Name of the attribute.
225
- :returns: if the attribute collection contains and attribute with the specified name; otherwise, .'''
226
- raise NotImplementedError()
227
-
228
- def index_of(self, name : str) -> int:
229
- '''Searches for the attribute and returns the its zero-based index.
230
-
231
- :param name: Name of the attribute.
232
- :returns: The zero-based index of the attribute within the collection, if found; otherwise, –1.'''
233
- raise NotImplementedError()
234
-
235
- def add(self, attribute : aspose.gis.FeatureAttribute) -> None:
236
- '''Adds an attribute to the collection.
237
-
238
- :param attribute: The attribute to add.'''
239
- raise NotImplementedError()
240
-
241
- @property
242
- def count(self) -> int:
243
- '''Gets the number of attributes in a :py:class:`aspose.gis.Feature`.'''
244
- raise NotImplementedError()
245
-
246
- @property
247
- def is_locked(self) -> bool:
248
- '''Gets a value indicating whether this attribute collection is locked.'''
249
- raise NotImplementedError()
250
-
251
- def __getitem__(self, key : int) -> aspose.gis.FeatureAttribute:
252
- '''Gets or sets the :py:class:`aspose.gis.FeatureAttribute` at the specified index.'''
253
- raise NotImplementedError()
254
-
255
- def __setitem__(self, key : int, value : aspose.gis.FeatureAttribute):
256
- raise NotImplementedError()
257
-
258
-
259
- class ConversionOptions:
260
- '''Options for converting data between formats.'''
261
-
262
- @property
263
- def source_driver_options(self) -> aspose.gis.DriverOptions:
264
- '''Driver-specific options for the source layer.'''
265
- raise NotImplementedError()
266
-
267
- @source_driver_options.setter
268
- def source_driver_options(self, value : aspose.gis.DriverOptions) -> None:
269
- '''Driver-specific options for the source layer.'''
270
- raise NotImplementedError()
271
-
272
- @property
273
- def destination_driver_options(self) -> aspose.gis.DriverOptions:
274
- '''Driver-specific options for the destination layer.'''
275
- raise NotImplementedError()
276
-
277
- @destination_driver_options.setter
278
- def destination_driver_options(self, value : aspose.gis.DriverOptions) -> None:
279
- '''Driver-specific options for the destination layer.'''
280
- raise NotImplementedError()
281
-
282
- @property
283
- def attributes_converter(self) -> aspose.gis.IAttributesConverter:
284
- '''A custom converter for attributes. It allows us to rename or exclude destination attributes.
285
- If not , it is called for each attribute of the source layer and is expected to change it if necessary.'''
286
- raise NotImplementedError()
287
-
288
- @attributes_converter.setter
289
- def attributes_converter(self, value : aspose.gis.IAttributesConverter) -> None:
290
- '''A custom converter for attributes. It allows us to rename or exclude destination attributes.
291
- If not , it is called for each attribute of the source layer and is expected to change it if necessary.'''
292
- raise NotImplementedError()
293
-
294
- @property
295
- def destination_spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
296
- '''Spatial reference system to assign to destination layer.'''
297
- raise NotImplementedError()
298
-
299
- @destination_spatial_reference_system.setter
300
- def destination_spatial_reference_system(self, value : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> None:
301
- '''Spatial reference system to assign to destination layer.'''
302
- raise NotImplementedError()
303
-
304
-
305
- class DatabaseDriver(Driver):
306
- '''A driver for a specific database based format.'''
307
-
308
-
309
- class DatabaseDriverOptions(DriverOptions):
310
- '''Options for a :py:class:`aspose.gis.DatabaseDriver`.'''
311
-
312
- @property
313
- def validate_geometries_on_write(self) -> bool:
314
- '''Determines if geometries should be validated when they are added to the layer.
315
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
316
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
317
- raise NotImplementedError()
318
-
319
- @validate_geometries_on_write.setter
320
- def validate_geometries_on_write(self, value : bool) -> None:
321
- '''Determines if geometries should be validated when they are added to the layer.
322
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
323
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
324
- raise NotImplementedError()
325
-
326
- @property
327
- def write_polygons_as_lines(self) -> bool:
328
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
329
- raise NotImplementedError()
330
-
331
- @write_polygons_as_lines.setter
332
- def write_polygons_as_lines(self, value : bool) -> None:
333
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
334
- raise NotImplementedError()
335
-
336
- @property
337
- def create_midpoints(self) -> bool:
338
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
339
- raise NotImplementedError()
340
-
341
- @create_midpoints.setter
342
- def create_midpoints(self, value : bool) -> None:
343
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
344
- raise NotImplementedError()
345
-
346
- @property
347
- def close_linear_ring(self) -> bool:
348
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
349
- raise NotImplementedError()
350
-
351
- @close_linear_ring.setter
352
- def close_linear_ring(self, value : bool) -> None:
353
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
354
- raise NotImplementedError()
355
-
356
- @property
357
- def delete_near_points(self) -> bool:
358
- '''Determines if delete near points in each geometry. Defaults to .'''
359
- raise NotImplementedError()
360
-
361
- @delete_near_points.setter
362
- def delete_near_points(self, value : bool) -> None:
363
- '''Determines if delete near points in each geometry. Defaults to .'''
364
- raise NotImplementedError()
365
-
366
- @property
367
- def delete_near_points_distance(self) -> float:
368
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
369
- raise NotImplementedError()
370
-
371
- @delete_near_points_distance.setter
372
- def delete_near_points_distance(self, value : float) -> None:
373
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
374
- raise NotImplementedError()
375
-
376
- @property
377
- def simplify_segments(self) -> bool:
378
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
379
- raise NotImplementedError()
380
-
381
- @simplify_segments.setter
382
- def simplify_segments(self, value : bool) -> None:
383
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
384
- raise NotImplementedError()
385
-
386
- @property
387
- def simplify_segments_distance(self) -> float:
388
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
389
- raise NotImplementedError()
390
-
391
- @simplify_segments_distance.setter
392
- def simplify_segments_distance(self, value : float) -> None:
393
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
394
- raise NotImplementedError()
395
-
396
- @property
397
- def xy_precision_model(self) -> aspose.gis.PrecisionModel:
398
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
399
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
400
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
401
- raise NotImplementedError()
402
-
403
- @xy_precision_model.setter
404
- def xy_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
405
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
406
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
407
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
408
- raise NotImplementedError()
409
-
410
- @property
411
- def z_precision_model(self) -> aspose.gis.PrecisionModel:
412
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
413
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
414
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
415
- raise NotImplementedError()
416
-
417
- @z_precision_model.setter
418
- def z_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
419
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
420
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
421
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
422
- raise NotImplementedError()
423
-
424
- @property
425
- def m_precision_model(self) -> aspose.gis.PrecisionModel:
426
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
427
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
428
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
429
- raise NotImplementedError()
430
-
431
- @m_precision_model.setter
432
- def m_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
433
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
434
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
435
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
436
- raise NotImplementedError()
437
-
438
- @property
439
- def linearization_tolerance(self) -> float:
440
- '''A tolerance to use to linearize curve geometries.'''
441
- raise NotImplementedError()
442
-
443
- @linearization_tolerance.setter
444
- def linearization_tolerance(self, value : float) -> None:
445
- '''A tolerance to use to linearize curve geometries.'''
446
- raise NotImplementedError()
447
-
448
- @property
449
- def spatial_reference_system_mode(self) -> aspose.gis.SpatialReferenceSystemMode:
450
- '''Determines how the unknown geometries\' SRS for the database should be handle when they are added to the layer.
451
- The default value is :py:attr:`aspose.gis.SpatialReferenceSystemMode.THROW_EXCEPTION`.'''
452
- raise NotImplementedError()
453
-
454
- @spatial_reference_system_mode.setter
455
- def spatial_reference_system_mode(self, value : aspose.gis.SpatialReferenceSystemMode) -> None:
456
- '''Determines how the unknown geometries\' SRS for the database should be handle when they are added to the layer.
457
- The default value is :py:attr:`aspose.gis.SpatialReferenceSystemMode.THROW_EXCEPTION`.'''
458
- raise NotImplementedError()
459
-
460
-
461
- class Dataset:
462
- '''A dataset is the collection of :py:class:`aspose.gis.VectorLayer` instances.'''
463
-
464
- @overload
465
- @staticmethod
466
- def open(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.Dataset:
467
- '''Opens the dataset.
468
-
469
- :param path: Path to the dataset.
470
- :param driver: Driver to use.
471
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
472
- raise NotImplementedError()
473
-
474
- @overload
475
- @staticmethod
476
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.Dataset:
477
- '''Opens the dataset.
478
-
479
- :param path: Path to the dataset.
480
- :param driver: Driver to use.
481
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
482
- raise NotImplementedError()
483
-
484
- @overload
485
- @staticmethod
486
- def open(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
487
- '''Opens the dataset.
488
-
489
- :param path: Path to the dataset.
490
- :param driver: Driver to use.
491
- :param options: Driver-specific options.
492
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
493
- raise NotImplementedError()
494
-
495
- @overload
496
- @staticmethod
497
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
498
- '''Opens the dataset.
499
-
500
- :param path: Path to the dataset.
501
- :param driver: Driver to use.
502
- :param options: Driver-specific options.
503
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
504
- raise NotImplementedError()
505
-
506
- @overload
507
- @staticmethod
508
- def create(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.Dataset:
509
- '''Creates a dataset.
510
-
511
- :param path: Path to the dataset.
512
- :param driver: Driver to use.
513
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
514
- raise NotImplementedError()
515
-
516
- @overload
517
- @staticmethod
518
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.Dataset:
519
- '''Creates a dataset.
520
-
521
- :param path: Path to the dataset.
522
- :param driver: Driver to use.
523
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
524
- raise NotImplementedError()
525
-
526
- @overload
527
- @staticmethod
528
- def create(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
529
- '''Creates a dataset.
530
-
531
- :param path: Path to the dataset.
532
- :param driver: Driver to use.
533
- :param options: Driver-specific options.
534
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
535
- raise NotImplementedError()
536
-
537
- @overload
538
- @staticmethod
539
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
540
- '''Creates a dataset.
541
-
542
- :param path: Path to the dataset.
543
- :param driver: Driver to use.
544
- :param options: Driver-specific options.
545
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
546
- raise NotImplementedError()
547
-
548
- @overload
549
- def create_layer(self) -> aspose.gis.VectorLayer:
550
- '''Creates a new vector layer and opens it for appending.
551
-
552
- :returns: A :py:class:`aspose.gis.VectorLayer` opened for writing.'''
553
- raise NotImplementedError()
554
-
555
- @overload
556
- def create_layer(self, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
557
- '''Creates a new vector layer and opens it for appending.
558
-
559
- :param spatial_reference_system: Spatial reference system of the new layer.
560
- :returns: A :py:class:`aspose.gis.VectorLayer` opened for writing.'''
561
- raise NotImplementedError()
562
-
563
- @overload
564
- def create_layer(self, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
565
- '''Creates a new vector layer and opens it for appending.
566
-
567
- :param options: Open options.
568
- :param spatial_reference_system: Spatial reference system of the new layer.
569
- :returns: A :py:class:`aspose.gis.VectorLayer` opened for writing.'''
570
- raise NotImplementedError()
571
-
572
- @overload
573
- def create_layer(self, name : str, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
574
- '''Creates a new vector layer with specified name and opens it for appending.
575
-
576
- :param name: Name of the layer.
577
- :param spatial_reference_system: Spatial reference system of the new layer.
578
- :returns: A :py:class:`aspose.gis.VectorLayer` opened for writing.'''
579
- raise NotImplementedError()
580
-
581
- @overload
582
- def create_layer(self, name : str, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
583
- '''Creates a new vector layer with specified name and opens it for appending.
584
-
585
- :param name: Name of the layer.
586
- :param options: Open options.
587
- :param spatial_reference_system: Spatial reference system of the new layer.
588
- :returns: A :py:class:`aspose.gis.VectorLayer` opened for writing.'''
589
- raise NotImplementedError()
590
-
591
- def get_layer_name(self, index : int) -> str:
592
- '''Gets the name of the layer at specified index.
593
-
594
- :param index: Index of the layer.
595
- :returns: Name of the layer.'''
596
- raise NotImplementedError()
597
-
598
- def open_layer(self, name : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
599
- '''Opens the layer with specified name for reading.
600
-
601
- :param name: Name of the layer to open.
602
- :param options: Open options.
603
- :returns: The layer opened for reading.'''
604
- raise NotImplementedError()
605
-
606
- def open_layer_at(self, index : int, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
607
- '''Opens the layer at specified index for reading.
608
-
609
- :param index: Index of the layer to open.
610
- :param options: Open options.
611
- :returns: The layer opened for reading.'''
612
- raise NotImplementedError()
613
-
614
- def edit_layer(self, name : str, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
615
- '''Opens the layer with specified name for editing.
616
-
617
- :param name: Name of the layer to edit.
618
- :param options: Open options.
619
- :param spatial_reference_system: Spatial reference system for new geometries.
620
- :returns: The layer opened for editing.'''
621
- raise NotImplementedError()
622
-
623
- def edit_layer_at(self, index : int, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
624
- '''Opens the layer with specified name for editing.
625
-
626
- :param index: Index of the layer to edit.
627
- :param options: Open options.
628
- :param spatial_reference_system: Spatial reference system for new geometries.
629
- :returns: The layer opened for editing.'''
630
- raise NotImplementedError()
631
-
632
- def remove_layer(self, name : str) -> None:
633
- '''Removes the vector layer with specified name.
634
-
635
- :param name: Name of the layer'''
636
- raise NotImplementedError()
637
-
638
- def remove_layer_at(self, index : int) -> None:
639
- '''Removes the vector layer at specified index.
640
-
641
- :param index: Index of the layer'''
642
- raise NotImplementedError()
643
-
644
- def has_layer_with_name(self, name : str) -> bool:
645
- '''Check has current dataset a layer with specific name
646
-
647
- :param name: Name of the layer
648
- :returns: , if dataset has layer with this name; otherwise,'''
649
- raise NotImplementedError()
650
-
651
- def rename_layer(self, current_name : str, new_name : str) -> None:
652
- '''Rename layer in dataset
653
-
654
- :param current_name: Current name of the layer
655
- :param new_name: New name for the layer'''
656
- raise NotImplementedError()
657
-
658
- @property
659
- def can_create_layers(self) -> bool:
660
- '''Gets a value indicating whether this dataset can create vector layers.'''
661
- raise NotImplementedError()
662
-
663
- @property
664
- def can_remove_layers(self) -> bool:
665
- '''Gets a value indicating whether this dataset can remove vector layers.'''
666
- raise NotImplementedError()
667
-
668
- @property
669
- def driver(self) -> aspose.gis.Driver:
670
- '''Gets the :py:attr:`aspose.gis.Dataset.driver` that instantiated this dataset.'''
671
- raise NotImplementedError()
672
-
673
- @property
674
- def layers_count(self) -> int:
675
- '''Gets the number of layers in this dataset.'''
676
- raise NotImplementedError()
677
-
678
-
679
- class Driver:
680
- '''A base class for drivers to GIS data.'''
681
-
682
-
683
- class DriverOptions:
684
- '''Options for a :py:class:`aspose.gis.Driver`.'''
685
-
686
- @property
687
- def validate_geometries_on_write(self) -> bool:
688
- '''Determines if geometries should be validated when they are added to the layer.
689
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
690
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
691
- raise NotImplementedError()
692
-
693
- @validate_geometries_on_write.setter
694
- def validate_geometries_on_write(self, value : bool) -> None:
695
- '''Determines if geometries should be validated when they are added to the layer.
696
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
697
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
698
- raise NotImplementedError()
699
-
700
- @property
701
- def write_polygons_as_lines(self) -> bool:
702
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
703
- raise NotImplementedError()
704
-
705
- @write_polygons_as_lines.setter
706
- def write_polygons_as_lines(self, value : bool) -> None:
707
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
708
- raise NotImplementedError()
709
-
710
- @property
711
- def create_midpoints(self) -> bool:
712
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
713
- raise NotImplementedError()
714
-
715
- @create_midpoints.setter
716
- def create_midpoints(self, value : bool) -> None:
717
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
718
- raise NotImplementedError()
719
-
720
- @property
721
- def close_linear_ring(self) -> bool:
722
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
723
- raise NotImplementedError()
724
-
725
- @close_linear_ring.setter
726
- def close_linear_ring(self, value : bool) -> None:
727
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
728
- raise NotImplementedError()
729
-
730
- @property
731
- def delete_near_points(self) -> bool:
732
- '''Determines if delete near points in each geometry. Defaults to .'''
733
- raise NotImplementedError()
734
-
735
- @delete_near_points.setter
736
- def delete_near_points(self, value : bool) -> None:
737
- '''Determines if delete near points in each geometry. Defaults to .'''
738
- raise NotImplementedError()
739
-
740
- @property
741
- def delete_near_points_distance(self) -> float:
742
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
743
- raise NotImplementedError()
744
-
745
- @delete_near_points_distance.setter
746
- def delete_near_points_distance(self, value : float) -> None:
747
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
748
- raise NotImplementedError()
749
-
750
- @property
751
- def simplify_segments(self) -> bool:
752
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
753
- raise NotImplementedError()
754
-
755
- @simplify_segments.setter
756
- def simplify_segments(self, value : bool) -> None:
757
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
758
- raise NotImplementedError()
759
-
760
- @property
761
- def simplify_segments_distance(self) -> float:
762
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
763
- raise NotImplementedError()
764
-
765
- @simplify_segments_distance.setter
766
- def simplify_segments_distance(self, value : float) -> None:
767
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
768
- raise NotImplementedError()
769
-
770
- @property
771
- def xy_precision_model(self) -> aspose.gis.PrecisionModel:
772
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
773
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
774
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
775
- raise NotImplementedError()
776
-
777
- @xy_precision_model.setter
778
- def xy_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
779
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
780
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
781
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
782
- raise NotImplementedError()
783
-
784
- @property
785
- def z_precision_model(self) -> aspose.gis.PrecisionModel:
786
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
787
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
788
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
789
- raise NotImplementedError()
790
-
791
- @z_precision_model.setter
792
- def z_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
793
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
794
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
795
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
796
- raise NotImplementedError()
797
-
798
- @property
799
- def m_precision_model(self) -> aspose.gis.PrecisionModel:
800
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
801
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
802
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
803
- raise NotImplementedError()
804
-
805
- @m_precision_model.setter
806
- def m_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
807
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
808
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
809
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
810
- raise NotImplementedError()
811
-
812
- @property
813
- def linearization_tolerance(self) -> float:
814
- '''A tolerance to use to linearize curve geometries.'''
815
- raise NotImplementedError()
816
-
817
- @linearization_tolerance.setter
818
- def linearization_tolerance(self, value : float) -> None:
819
- '''A tolerance to use to linearize curve geometries.'''
820
- raise NotImplementedError()
821
-
822
-
823
- class Drivers:
824
- '''Drivers for all supported formats.'''
825
-
826
- esri_json : aspose.gis.formats.esrijson.EsriJsonDriver
827
- '''A driver for the EsriJson format.'''
828
- gdal : aspose.gis.formats.gdal.GdalDriver
829
- '''A driver for the GDAL format.'''
830
- geo_json : aspose.gis.formats.geojson.GeoJsonDriver
831
- '''A driver for the GeoJSON format.'''
832
- geo_json_seq : aspose.gis.formats.geojsonseq.GeoJsonSeqDriver
833
- '''A driver for the GeoJsonSeq: sequence of GeoJSON features.'''
834
- in_memory : aspose.gis.formats.inmemory.InMemoryDriver
835
- '''A driver for work with data in memory.'''
836
- in_file : aspose.gis.formats.infile.InFileDriver
837
- '''A driver for work with data and save changes in file on HDD.'''
838
- kml : aspose.gis.formats.kml.KmlDriver
839
- '''A driver for the KML format.'''
840
- shapefile : aspose.gis.formats.shapefile.ShapefileDriver
841
- '''A driver for the Shapefile format.'''
842
- osm_xml : aspose.gis.formats.osmxml.OsmXmlDriver
843
- '''A driver for the OSM XML format.'''
844
- gpx : aspose.gis.formats.gpx.GpxDriver
845
- '''A driver for the GPX format.'''
846
- gml : aspose.gis.formats.gml.GmlDriver
847
- '''A driver for the GML format.'''
848
- file_gdb : aspose.gis.formats.filegdb.FileGdbDriver
849
- '''A driver for the ESRI File Geodatabase format.'''
850
- topo_json : aspose.gis.formats.topojson.TopoJsonDriver
851
- '''A driver for the TopoJSON format.'''
852
- map_info_interchange : aspose.gis.formats.mapinfointerchange.MapInfoInterchangeDriver
853
- '''A driver for the MapInfo Interchange Format.'''
854
- map_info_tab : aspose.gis.formats.mapinfotab.MapInfoTabDriver
855
- '''A driver for the MapInfo Tab format.'''
856
- post_gis : aspose.gis.formats.postgis.PostGisDriver
857
- '''A driver for the PostGIS database.'''
858
- sql_server : aspose.gis.formats.sqlserver.SqlServerDriver
859
- '''A driver for the SQL Server database.'''
860
- esri_ascii : aspose.gis.formats.esriascii.EsriAsciiDriver
861
- '''A driver for the Esri AscII raster format.'''
862
- geo_tiff : aspose.gis.formats.geotiff.GeoTiffDriver
863
- '''A driver for the GeoTIFF or TIFF raster format.'''
864
- world_raster : aspose.gis.formats.worldfile.WorldRasterDriver
865
- '''A driver for raster.formats with world file'''
866
- jpeg_w : aspose.gis.formats.jpegw.JpegWDriver
867
- '''A driver for the JpegW raster format.'''
868
- png_w : aspose.gis.formats.pngw.PngWDriver
869
- '''A driver for the PngW raster format.'''
870
- bmp_w : aspose.gis.formats.bmpw.BmpWDriver
871
- '''A driver for the BmpW raster format.'''
872
- tiff_w : aspose.gis.formats.tiffw.TiffWDriver
873
- '''A driver for the TiffW raster format.'''
874
- xyz_tiles : aspose.gis.formats.xyztile.XyzTilesDriver
875
- '''A driver for the tiled web map like OpenStreetMaps, Google Maps, etc.'''
876
- csv : aspose.gis.formats.csv.CsvDriver
877
- '''A driver for the CSV format.'''
878
- geo_package : aspose.gis.formats.geopackage.GeoPackageDriver
879
- '''A driver for the GeoPackage format.'''
880
-
881
- class DynamicFeature(Feature):
882
- '''A geographic feature composed of a geometry and user-defined attributes.'''
883
-
884
- @overload
885
- def get_values(self, values : List[Any], default_value : Any) -> int:
886
- '''Returns the values for all the attributes in an array.
887
-
888
- :param values: The array into which to copy the attributes values.
889
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
890
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
891
- :returns: A number of attributes copied.'''
892
- raise NotImplementedError()
893
-
894
- @overload
895
- def get_values(self, values_count : int, default_value : Any) -> List[Any]:
896
- '''Returns the values for all the attributes in an array.
897
-
898
- :param values_count: The values count.
899
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
900
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
901
- :returns: A number of attributes copied.'''
902
- raise NotImplementedError()
903
-
904
- def get_value(self, attribute_name : str) -> Any:
905
- '''Gets the value of an attribute.
906
-
907
- :param attribute_name: Name of the attribute.
908
- :returns: Value of the attribute.'''
909
- raise NotImplementedError()
910
-
911
- def get_values_list(self, attribute_name : str, separator : str, count : int) -> List[Any]:
912
- '''Gets the values list. Non-generic analog of List T GetValuesList
913
-
914
- :param attribute_name: Name of the attribute.
915
- :param separator: A string which is used to separate attribute name and index value of sequence.
916
- :param count: Count of values to return (missed value fill as null)
917
- :returns: List of values of the attributes which names different by sequence index value.'''
918
- raise NotImplementedError()
919
-
920
- def get_value_or_default(self, attribute_name : str, default_value : Any) -> Any:
921
- '''Gets the value of an attribute, or :py:attr:`aspose.gis.FeatureAttribute.default_value` if the value is unset or ``null``.
922
-
923
- :param attribute_name: Name of the attribute.
924
- :param default_value: The value to return if the attribute value is missing. Default value is .
925
- :returns: Value of the attribute.'''
926
- raise NotImplementedError()
927
-
928
- def set_value(self, attribute_name : str, value : Any) -> None:
929
- '''Sets the value. Non-generic analog of void SetValue (string attributeName, T value)
930
-
931
- :param attribute_name: The name of the attribute.
932
- :param value: The value of the attribute.'''
933
- raise NotImplementedError()
934
-
935
- def is_value_null(self, attribute_name : str) -> bool:
936
- '''Determines whether the specified attribute has been explicitly set to ``null`` value.
937
-
938
- :param attribute_name: Name of the attribute.
939
- :returns: if the attribute value is ``null``; otherwise, .'''
940
- raise NotImplementedError()
941
-
942
- def set_value_null(self, attribute_name : str) -> None:
943
- '''Sets value of the attribute to ``null``.
944
-
945
- :param attribute_name: The name of the attribute.'''
946
- raise NotImplementedError()
947
-
948
- def unset_value(self, attribute_name : str) -> None:
949
- '''Removes the attribute value from this feature.
950
-
951
- :param attribute_name: Name of the attribute.'''
952
- raise NotImplementedError()
953
-
954
- def is_value_set(self, attribute_name : str) -> bool:
955
- '''Checks if the attribute value is set in this feature.
956
-
957
- :param attribute_name: Name of the attribute.
958
- :returns: if value for the specified attribute is set; otherwise, .'''
959
- raise NotImplementedError()
960
-
961
- def copy_values(self, input_feature : aspose.gis.Feature) -> None:
962
- '''Copies values of attributes from another feature.
963
-
964
- :param input_feature: The feature to copy values from.'''
965
- raise NotImplementedError()
966
-
967
- def get_values_dump(self, default_value : Any) -> List[Any]:
968
- '''Returns the values for all the attributes in an array.
969
- Consider to use :py:func:`aspose.gis.DynamicFeature.get_values` method to avoid additional memory allocation.
970
-
971
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
972
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
973
- :returns: A new array into which to copy the attributes values.'''
974
- raise NotImplementedError()
975
-
976
- def set_values(self, values : List[Any]) -> int:
977
- '''Sets new values for all of the attributes.
978
- Also consider to use :py:func:`aspose.gis.DynamicFeature.copy_values` method to streamline setting values in one call.
979
-
980
- :param values: The array of new values.
981
- :returns: The number of attribute values set.'''
982
- raise NotImplementedError()
983
-
984
- def get_as_node(self) -> aspose.gis.NodeLink:
985
- '''Gets the feature as node. This can be helpful for the custom data
986
-
987
- :returns: The NodeLink to feature'''
988
- raise NotImplementedError()
989
-
990
- @property
991
- def geometry(self) -> aspose.gis.geometries.IGeometry:
992
- '''Gets geometry of the feature.
993
- Cannot be , use :py:attr:`aspose.gis.geometries.Geometry.null` to indicate missing geometry.'''
994
- raise NotImplementedError()
995
-
996
- @geometry.setter
997
- def geometry(self, value : aspose.gis.geometries.IGeometry) -> None:
998
- '''Sets geometry of the feature.
999
- Cannot be , use :py:attr:`aspose.gis.geometries.Geometry.null` to indicate missing geometry.'''
1000
- raise NotImplementedError()
1001
-
1002
-
1003
- class Extent:
1004
- '''A two-dimensional spatial bounding box.'''
1005
-
1006
- @overload
1007
- def grow(self, extent : aspose.gis.Extent) -> None:
1008
- '''Grows this extent so it includes the argument.
1009
-
1010
- :param extent: Other extent.'''
1011
- raise NotImplementedError()
1012
-
1013
- @overload
1014
- def grow(self, x : float, y : float) -> None:
1015
- '''Grows this extent so it includes the specified point.
1016
-
1017
- :param x: X coordinate to include.
1018
- :param y: Y coordinate to include.'''
1019
- raise NotImplementedError()
1020
-
1021
- @overload
1022
- def contains(self, x : float, y : float) -> bool:
1023
- '''Determines whether this extent contains a coordinate defined by the arguments.
1024
-
1025
- :param x: X of the coordinate.
1026
- :param y: Y of the coordinate.
1027
- :returns: Value, indicating whether coordinate is inside bounding box.'''
1028
- raise NotImplementedError()
1029
-
1030
- @overload
1031
- def contains(self, extent : aspose.gis.Extent) -> bool:
1032
- '''Determines whether this extent contains the argument.
1033
-
1034
- :param extent: Another extent.
1035
- :returns: Value, indicating whether this extent contains the argument.'''
1036
- raise NotImplementedError()
1037
-
1038
- @overload
1039
- def contains(self, geometry : aspose.gis.geometries.IGeometry) -> bool:
1040
- '''Determines whether this extent contains the argument.
1041
-
1042
- :param geometry: A geometry to test for containment.
1043
- :returns: Value, indicating whether this extent contains the argument.'''
1044
- raise NotImplementedError()
1045
-
1046
- @overload
1047
- def intersects(self, extent : aspose.gis.Extent) -> bool:
1048
- '''Determines whether this extent intersects with the argument.
1049
-
1050
- :param extent: Another extent.
1051
- :returns: Value, indicating whether this extent intersects with the argument.'''
1052
- raise NotImplementedError()
1053
-
1054
- @overload
1055
- def intersects(self, geometry : aspose.gis.geometries.IGeometry) -> bool:
1056
- '''Determines whether this extent intersects with the argument.
1057
-
1058
- :param geometry: A geometry to test for intersection
1059
- :returns: Value, indicating whether this extent intersects with the argument.'''
1060
- raise NotImplementedError()
1061
-
1062
- def get_transformed(self, target_srs : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.Extent:
1063
- '''Returns new extent in specified :py:class:`aspose.gis.spatialreferencing.SpatialReferenceSystem` that contains this extent.
1064
-
1065
- :param target_srs: :py:class:`aspose.gis.spatialreferencing.SpatialReferenceSystem` to transform to.
1066
- :returns: The result of transformation this extent to the specified SRS.'''
1067
- raise NotImplementedError()
1068
-
1069
- def normalize(self) -> None:
1070
- '''Swaps :py:attr:`aspose.gis.Extent.x_min` with :py:attr:`aspose.gis.Extent.x_max` if :py:attr:`aspose.gis.Extent.width` is negative and
1071
- :py:attr:`aspose.gis.Extent.y_min` with :py:attr:`aspose.gis.Extent.y_max` if :py:attr:`aspose.gis.Extent.height` is negative.'''
1072
- raise NotImplementedError()
1073
-
1074
- def clone(self) -> aspose.gis.Extent:
1075
- '''Clones this instance.
1076
-
1077
- :returns: Clone of this instance.'''
1078
- raise NotImplementedError()
1079
-
1080
- def to_polygon(self) -> aspose.gis.geometries.Polygon:
1081
- '''Converts this extent to a rectangular polygon that represents it.
1082
-
1083
- :returns: A rectangular :py:class:`aspose.gis.geometries.Polygon` that represents this extent. For invalid extents
1084
- an empty polygon is returned.'''
1085
- raise NotImplementedError()
1086
-
1087
- def grow_x(self, value : float) -> None:
1088
- '''Grows this extent along the X axis so it includes the specified value.
1089
-
1090
- :param value: Value to include.'''
1091
- raise NotImplementedError()
1092
-
1093
- def grow_y(self, value : float) -> None:
1094
- '''Grows this extent along the Y axis so it includes the specified value.
1095
-
1096
- :param value: Value to include.'''
1097
- raise NotImplementedError()
1098
-
1099
- def equals(self, other : aspose.gis.Extent) -> bool:
1100
- '''Indicates whether the current object is equal to another object of the same type.
1101
-
1102
- :param other: An object to compare with this object.
1103
- :returns: if the current object is equal to the ``other`` parameter; otherwise, .'''
1104
- raise NotImplementedError()
1105
-
1106
- @property
1107
- def x_min(self) -> float:
1108
- '''Minimum value of the X coordinate.'''
1109
- raise NotImplementedError()
1110
-
1111
- @x_min.setter
1112
- def x_min(self, value : float) -> None:
1113
- '''Minimum value of the X coordinate.'''
1114
- raise NotImplementedError()
1115
-
1116
- @property
1117
- def x_max(self) -> float:
1118
- '''Maximum value of the X coordinate.'''
1119
- raise NotImplementedError()
1120
-
1121
- @x_max.setter
1122
- def x_max(self, value : float) -> None:
1123
- '''Maximum value of the X coordinate.'''
1124
- raise NotImplementedError()
1125
-
1126
- @property
1127
- def y_min(self) -> float:
1128
- '''Minimum value of the Y coordinate.'''
1129
- raise NotImplementedError()
1130
-
1131
- @y_min.setter
1132
- def y_min(self, value : float) -> None:
1133
- '''Minimum value of the Y coordinate.'''
1134
- raise NotImplementedError()
1135
-
1136
- @property
1137
- def y_max(self) -> float:
1138
- '''Maximum value of the Y coordinate.'''
1139
- raise NotImplementedError()
1140
-
1141
- @y_max.setter
1142
- def y_max(self, value : float) -> None:
1143
- '''Maximum value of the Y coordinate.'''
1144
- raise NotImplementedError()
1145
-
1146
- @property
1147
- def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1148
- ''':py:class:`aspose.gis.spatialreferencing.SpatialReferenceSystem` associated with this extent.
1149
- Can be if :py:attr:`aspose.gis.Extent.spatial_reference_system` is unknown.
1150
- Use :py:func:`aspose.gis.Extent.get_transformed`
1151
- in order to transform extent between difference spatial reference systems.'''
1152
- raise NotImplementedError()
1153
-
1154
- @spatial_reference_system.setter
1155
- def spatial_reference_system(self, value : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> None:
1156
- ''':py:class:`aspose.gis.spatialreferencing.SpatialReferenceSystem` associated with this extent.
1157
- Can be if :py:attr:`aspose.gis.Extent.spatial_reference_system` is unknown.
1158
- Use :py:func:`aspose.gis.Extent.get_transformed`
1159
- in order to transform extent between difference spatial reference systems.'''
1160
- raise NotImplementedError()
1161
-
1162
- @property
1163
- def center(self) -> aspose.gis.geometries.IPoint:
1164
- '''Center of the extent.'''
1165
- raise NotImplementedError()
1166
-
1167
- @property
1168
- def width(self) -> float:
1169
- '''Width of the extent.'''
1170
- raise NotImplementedError()
1171
-
1172
- @property
1173
- def height(self) -> float:
1174
- '''Height of the extent.'''
1175
- raise NotImplementedError()
1176
-
1177
- @property
1178
- def is_valid(self) -> bool:
1179
- '''Determines whether this :py:class:`aspose.gis.Extent` is valid.'''
1180
- raise NotImplementedError()
1181
-
1182
-
1183
- class Feature:
1184
- '''A geographic feature composed of a geometry and user-defined attributes.'''
1185
-
1186
- @overload
1187
- def get_values(self, values_count : int, default_value : Any) -> List[Any]:
1188
- '''Returns the values for all the attributes in an array.
1189
-
1190
- :param values_count: The values count.
1191
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
1192
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
1193
- :returns: A number of attributes copied.'''
1194
- raise NotImplementedError()
1195
-
1196
- @overload
1197
- def get_values(self, values : List[Any], default_value : Any) -> int:
1198
- '''Returns the values for all the attributes in an array.
1199
-
1200
- :param values: The array into which to copy the attributes values.
1201
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
1202
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
1203
- :returns: A number of attributes copied.'''
1204
- raise NotImplementedError()
1205
-
1206
- def get_value(self, attribute_name : str) -> Any:
1207
- '''Gets the value of an attribute.
1208
-
1209
- :param attribute_name: Name of the attribute.
1210
- :returns: Value of the attribute.'''
1211
- raise NotImplementedError()
1212
-
1213
- def get_values_list(self, attribute_name : str, separator : str, count : int) -> List[Any]:
1214
- '''Gets the values list. Non-generic analog of List T GetValuesList
1215
-
1216
- :param attribute_name: Name of the attribute.
1217
- :param separator: A string which is used to separate attribute name and index value of sequence.
1218
- :param count: Count of values to return (missed value fill as null)
1219
- :returns: List of values of the attributes which names different by sequence index value.'''
1220
- raise NotImplementedError()
1221
-
1222
- def get_value_or_default(self, attribute_name : str, default_value : Any) -> Any:
1223
- '''Gets the value of an attribute, or :py:attr:`aspose.gis.FeatureAttribute.default_value` if the value is unset or ``null``.
1224
-
1225
- :param attribute_name: Name of the attribute.
1226
- :param default_value: The value to return if the attribute value is missing. Default value is .
1227
- :returns: Value of the attribute.'''
1228
- raise NotImplementedError()
1229
-
1230
- def set_value(self, attribute_name : str, value : Any) -> None:
1231
- '''Sets the value. Non-generic analog of void SetValue (string attributeName, T value)
1232
-
1233
- :param attribute_name: The name of the attribute.
1234
- :param value: The value of the attribute.'''
1235
- raise NotImplementedError()
1236
-
1237
- def is_value_null(self, attribute_name : str) -> bool:
1238
- '''Determines whether the specified attribute has been explicitly set to ``null`` value.
1239
-
1240
- :param attribute_name: Name of the attribute.
1241
- :returns: if the attribute value is ``null``; otherwise, .'''
1242
- raise NotImplementedError()
1243
-
1244
- def set_value_null(self, attribute_name : str) -> None:
1245
- '''Sets value of the attribute to ``null``.
1246
-
1247
- :param attribute_name: The name of the attribute.'''
1248
- raise NotImplementedError()
1249
-
1250
- def unset_value(self, attribute_name : str) -> None:
1251
- '''Removes the attribute value from this feature.
1252
-
1253
- :param attribute_name: Name of the attribute.'''
1254
- raise NotImplementedError()
1255
-
1256
- def is_value_set(self, attribute_name : str) -> bool:
1257
- '''Checks if the attribute value is set in this feature.
1258
-
1259
- :param attribute_name: Name of the attribute.
1260
- :returns: if value for the specified attribute is set; otherwise, .'''
1261
- raise NotImplementedError()
1262
-
1263
- def copy_values(self, input_feature : aspose.gis.Feature) -> None:
1264
- '''Copies values of attributes from another feature.
1265
-
1266
- :param input_feature: The feature to copy values from.'''
1267
- raise NotImplementedError()
1268
-
1269
- def get_values_dump(self, default_value : Any) -> List[Any]:
1270
- '''Returns the values for all the attributes in an array.
1271
- Consider to use :py:func:`aspose.gis.Feature.get_values` method to avoid additional memory allocation.
1272
-
1273
- :param default_value: The value to return if the attribute value is missing (unset). Default value is .
1274
- Consider to use \':py:class:`System.DBNull`.Value\' for separating \'unset\' and \'\' values.
1275
- :returns: A new array into which to copy the attributes values.'''
1276
- raise NotImplementedError()
1277
-
1278
- def set_values(self, values : List[Any]) -> int:
1279
- '''Sets new values for all of the attributes.
1280
- Also consider to use :py:func:`aspose.gis.Feature.copy_values` method to streamline setting values in one call.
1281
-
1282
- :param values: The array of new values.
1283
- :returns: The number of attribute values set.'''
1284
- raise NotImplementedError()
1285
-
1286
- @property
1287
- def geometry(self) -> aspose.gis.geometries.IGeometry:
1288
- '''Gets geometry of the feature.
1289
- Cannot be , use :py:attr:`aspose.gis.geometries.Geometry.null` to indicate missing geometry.'''
1290
- raise NotImplementedError()
1291
-
1292
- @geometry.setter
1293
- def geometry(self, value : aspose.gis.geometries.IGeometry) -> None:
1294
- '''Sets geometry of the feature.
1295
- Cannot be , use :py:attr:`aspose.gis.geometries.Geometry.null` to indicate missing geometry.'''
1296
- raise NotImplementedError()
1297
-
1298
-
1299
- class FeatureAttribute:
1300
- '''An attribute of a :py:class:`aspose.gis.Feature`.'''
1301
-
1302
- def lock(self) -> None:
1303
- '''Locks this attribute.'''
1304
- raise NotImplementedError()
1305
-
1306
- @property
1307
- def name(self) -> str:
1308
- '''Gets the name of the attribute.'''
1309
- raise NotImplementedError()
1310
-
1311
- @name.setter
1312
- def name(self, value : str) -> None:
1313
- '''Gets the name of the attribute.'''
1314
- raise NotImplementedError()
1315
-
1316
- @property
1317
- def data_type(self) -> aspose.gis.AttributeDataType:
1318
- '''Gets the data type of the attribute.'''
1319
- raise NotImplementedError()
1320
-
1321
- @data_type.setter
1322
- def data_type(self, value : aspose.gis.AttributeDataType) -> None:
1323
- '''Gets the data type of the attribute.'''
1324
- raise NotImplementedError()
1325
-
1326
- @property
1327
- def type_name(self) -> str:
1328
- '''The type name of the attribute.'''
1329
- raise NotImplementedError()
1330
-
1331
- @type_name.setter
1332
- def type_name(self, value : str) -> None:
1333
- '''The type name of the attribute.'''
1334
- raise NotImplementedError()
1335
-
1336
- @property
1337
- def can_be_null(self) -> bool:
1338
- '''Gets a value indicating whether this instance can be null.'''
1339
- raise NotImplementedError()
1340
-
1341
- @can_be_null.setter
1342
- def can_be_null(self, value : bool) -> None:
1343
- '''Gets a value indicating whether this instance can be null.'''
1344
- raise NotImplementedError()
1345
-
1346
- @property
1347
- def can_be_unset(self) -> bool:
1348
- '''Gets a value indicating whether value for this attribute can be omitted.'''
1349
- raise NotImplementedError()
1350
-
1351
- @can_be_unset.setter
1352
- def can_be_unset(self, value : bool) -> None:
1353
- '''Sets a value indicating whether value for this attribute can be omitted.'''
1354
- raise NotImplementedError()
1355
-
1356
- @property
1357
- def default_value(self) -> Any:
1358
- '''Gets a value for the attribute, that indicates missing data.'''
1359
- raise NotImplementedError()
1360
-
1361
- @default_value.setter
1362
- def default_value(self, value : Any) -> None:
1363
- '''Sets a value for the attribute, that indicates missing data.'''
1364
- raise NotImplementedError()
1365
-
1366
- @property
1367
- def has_custom_default_value(self) -> bool:
1368
- '''Gets a value indicating whether the pre-defined default value for this attribute was overridden with a custom value.'''
1369
- raise NotImplementedError()
1370
-
1371
- @property
1372
- def width(self) -> Optional[int]:
1373
- '''Gets maximum allowed width of character representation of the attribute.'''
1374
- raise NotImplementedError()
1375
-
1376
- @width.setter
1377
- def width(self, value : Optional[int]) -> None:
1378
- '''Sets maximum allowed width of character representation of the attribute.'''
1379
- raise NotImplementedError()
1380
-
1381
- @property
1382
- def precision(self) -> Optional[int]:
1383
- '''Gets maximum number of decimal digits to store.'''
1384
- raise NotImplementedError()
1385
-
1386
- @precision.setter
1387
- def precision(self, value : Optional[int]) -> None:
1388
- '''Sets maximum number of decimal digits to store.'''
1389
- raise NotImplementedError()
1390
-
1391
- @property
1392
- def is_locked(self) -> bool:
1393
- '''Gets a value indicating whether this attribute is locked.'''
1394
- raise NotImplementedError()
1395
-
1396
-
1397
- class FeatureAttributeCollection(BaseFeatureAttributeCollection):
1398
- '''A :py:class:`aspose.gis.FeatureAttributeCollection` defines what attributes are available for a :py:class:`aspose.gis.Feature`.'''
1399
-
1400
- @overload
1401
- def remove(self, name : str) -> None:
1402
- '''Removes the attribute from the collection.
1403
-
1404
- :param name: Name of the attribute.'''
1405
- raise NotImplementedError()
1406
-
1407
- @overload
1408
- def remove(self, index : int) -> None:
1409
- '''Removes the attribute from the collection.
1410
-
1411
- :param index: Index of the attribute.'''
1412
- raise NotImplementedError()
1413
-
1414
- def lock(self) -> None:
1415
- '''Locks this attribute collection to prevent further modifications.'''
1416
- raise NotImplementedError()
1417
-
1418
- def contains(self, name : str) -> bool:
1419
- '''Determines whether the attribute collection contains an attribute with the specified name.
1420
-
1421
- :param name: Name of the attribute.
1422
- :returns: if the attribute collection contains and attribute with the specified name; otherwise, .'''
1423
- raise NotImplementedError()
1424
-
1425
- def index_of(self, name : str) -> int:
1426
- '''Searches for the attribute and returns the its zero-based index.
1427
-
1428
- :param name: Name of the attribute.
1429
- :returns: The zero-based index of the attribute within the collection, if found; otherwise, –1.'''
1430
- raise NotImplementedError()
1431
-
1432
- def add(self, attribute : aspose.gis.FeatureAttribute) -> None:
1433
- '''Adds an attribute to the collection.
1434
-
1435
- :param attribute: The attribute to add.'''
1436
- raise NotImplementedError()
1437
-
1438
- @property
1439
- def count(self) -> int:
1440
- '''Gets the number of attributes in a :py:class:`aspose.gis.Feature`.'''
1441
- raise NotImplementedError()
1442
-
1443
- @property
1444
- def is_locked(self) -> bool:
1445
- '''Gets a value indicating whether this attribute collection is locked.'''
1446
- raise NotImplementedError()
1447
-
1448
- def __getitem__(self, key : int) -> aspose.gis.FeatureAttribute:
1449
- raise NotImplementedError()
1450
-
1451
- def __setitem__(self, key : int, value : aspose.gis.FeatureAttribute):
1452
- raise NotImplementedError()
1453
-
1454
-
1455
- class FeatureStyle(IFeatureStyle):
1456
- '''The abstract root class of the feature styles hierarchy.'''
1457
-
1458
- null : aspose.gis.IFeatureStyle
1459
- '''Gets an instance of null style.'''
1460
-
1461
- class FeaturesSequence:
1462
- ''':py:class:`aspose.gis.FeaturesSequence` represents a set of vector features.'''
1463
-
1464
- @overload
1465
- def where_intersects(self, sequence : aspose.gis.FeaturesSequence) -> aspose.gis.FeaturesSequence:
1466
- '''Filters features based on the union of all geometries in other features sequence.
1467
-
1468
- :param sequence: Other features sequence.
1469
- :returns: Features that intersect with the union of all geometries in other features sequence.'''
1470
- raise NotImplementedError()
1471
-
1472
- @overload
1473
- def where_intersects(self, geometry : aspose.gis.geometries.IGeometry) -> aspose.gis.FeaturesSequence:
1474
- '''Filters features based on the provided geometry.
1475
-
1476
- :param geometry: Filter geometry.
1477
- :returns: Features that intersect with the provided geometry.'''
1478
- raise NotImplementedError()
1479
-
1480
- @overload
1481
- def where_intersects(self, extent : aspose.gis.Extent) -> aspose.gis.FeaturesSequence:
1482
- '''Filters features based on the extent.
1483
-
1484
- :param extent: Filter extent.
1485
- :returns: Features that intersect with the provided geometry.'''
1486
- raise NotImplementedError()
1487
-
1488
- @overload
1489
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver) -> None:
1490
- '''Saves features sequence to layer.
1491
-
1492
- :param destination_path: Path to the output layer.
1493
- :param destination_driver: The format driver for the output layer.'''
1494
- raise NotImplementedError()
1495
-
1496
- @overload
1497
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver) -> None:
1498
- '''Saves features sequence to layer.
1499
-
1500
- :param destination_path: Path to the output layer.
1501
- :param destination_driver: The format driver for the output layer.'''
1502
- raise NotImplementedError()
1503
-
1504
- @overload
1505
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
1506
- '''Saves features sequence to layer.
1507
-
1508
- :param destination_path: Path to the output layer.
1509
- :param destination_driver: The format driver for the output layer.
1510
- :param options: Options for the saving procedure.'''
1511
- raise NotImplementedError()
1512
-
1513
- @overload
1514
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
1515
- '''Saves features sequence to layer.
1516
-
1517
- :param destination_path: Path to the output layer.
1518
- :param destination_driver: The format driver for the output layer.
1519
- :param options: Options for the saving procedure.'''
1520
- raise NotImplementedError()
1521
-
1522
- def get_extent(self) -> aspose.gis.Extent:
1523
- '''Gets a spatial extent of this layer.
1524
-
1525
- :returns: A spatial extent of this layer.'''
1526
- raise NotImplementedError()
1527
-
1528
- def where_greater(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1529
- '''Selects features with attribute value greater than the provided value.
1530
-
1531
- :param attribute_name: Attribute to filter by.
1532
- :param value: Value to compare against.
1533
- :returns: Features with attribute value greater than the provided value.'''
1534
- raise NotImplementedError()
1535
-
1536
- def where_greater_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1537
- '''Selects features with attribute value greater or equal to the provided value.
1538
-
1539
- :param attribute_name: Attribute to filter by.
1540
- :param value: Value to compare against.
1541
- :returns: Features with attribute value greater or equal to the provided value.'''
1542
- raise NotImplementedError()
1543
-
1544
- def where_smaller(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1545
- '''Selects features with attribute value smaller than the provided value.
1546
-
1547
- :param attribute_name: Attribute to filter by.
1548
- :param value: Value to compare against.
1549
- :returns: Features with attribute value smaller than the provided value.'''
1550
- raise NotImplementedError()
1551
-
1552
- def where_smaller_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1553
- '''Selects features with attribute value smaller or equal to the provided value.
1554
-
1555
- :param attribute_name: Attribute to filter by.
1556
- :param value: Value to compare against.
1557
- :returns: Features with attribute value smaller or equal to the provided value.'''
1558
- raise NotImplementedError()
1559
-
1560
- def where_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1561
- '''Selects features with attribute value equal to the provided value.
1562
-
1563
- :param attribute_name: Attribute to filter by.
1564
- :param value: Value to compare against.
1565
- :returns: Features with attribute value equal to the provided value.'''
1566
- raise NotImplementedError()
1567
-
1568
- def where_not_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
1569
- '''Selects features with attribute value not equal to the provided value.
1570
-
1571
- :param attribute_name: Attribute to filter by.
1572
- :param value: Value to compare against.
1573
- :returns: Features with attribute value not equal to the provided value.'''
1574
- raise NotImplementedError()
1575
-
1576
- def where_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
1577
- '''Selects features with attribute equal to null.
1578
-
1579
- :param attribute_name: Attribute to filter by.
1580
- :returns: Features with attribute value equal to null.'''
1581
- raise NotImplementedError()
1582
-
1583
- def where_not_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
1584
- '''Selects features with attribute not equal to null.
1585
-
1586
- :param attribute_name: Attribute to filter by.
1587
- :returns: Features with attribute value not equal to null.'''
1588
- raise NotImplementedError()
1589
-
1590
- def where_set(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
1591
- '''Selects features with attribute set.
1592
-
1593
- :param attribute_name: Attribute to filter by.
1594
- :returns: Features with set attribute value.'''
1595
- raise NotImplementedError()
1596
-
1597
- def where_unset(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
1598
- '''Selects features where specified attribute is not set.
1599
-
1600
- :param attribute_name: Attribute to filter by.
1601
- :returns: Features with unset attribute value.'''
1602
- raise NotImplementedError()
1603
-
1604
- def split_to(self) -> List[aspose.gis.VectorLayer]:
1605
- '''Split features by geometry type.
1606
-
1607
- :returns: Layers with the same type of geometry.'''
1608
- raise NotImplementedError()
1609
-
1610
- @property
1611
- def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
1612
- '''Gets spatial reference system of this features sequence.'''
1613
- raise NotImplementedError()
1614
-
1615
- @property
1616
- def attributes(self) -> aspose.gis.BaseFeatureAttributeCollection:
1617
- '''Gets the collection of custom attributes for features in this :py:class:`aspose.gis.VectorLayer`.'''
1618
- raise NotImplementedError()
1619
-
1620
-
1621
- class FileDriver(Driver):
1622
- '''A driver for a specific file based format.'''
1623
-
1624
- @overload
1625
- def open_layer(self, path : str) -> aspose.gis.VectorLayer:
1626
- '''Opens the layer for reading.
1627
-
1628
- :param path: Path to the file.
1629
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1630
- raise NotImplementedError()
1631
-
1632
- @overload
1633
- def open_layer(self, path : aspose.gis.AbstractPath) -> aspose.gis.VectorLayer:
1634
- '''Opens the layer for reading.
1635
-
1636
- :param path: Path to the file.
1637
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1638
- raise NotImplementedError()
1639
-
1640
- @overload
1641
- def open_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1642
- '''Opens the layer for reading.
1643
-
1644
- :param path: Path to the file.
1645
- :param options: Driver-specific options.
1646
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1647
- raise NotImplementedError()
1648
-
1649
- @overload
1650
- def open_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1651
- '''Opens the layer for reading.
1652
-
1653
- :param path: Path to the file.
1654
- :param options: Driver-specific options.
1655
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1656
- raise NotImplementedError()
1657
-
1658
- @overload
1659
- def create_layer(self, path : str) -> aspose.gis.VectorLayer:
1660
- '''Creates the layer and opens it for appending.
1661
-
1662
- :param path: Path to the file.
1663
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1664
- raise NotImplementedError()
1665
-
1666
- @overload
1667
- def create_layer(self, path : aspose.gis.AbstractPath) -> aspose.gis.VectorLayer:
1668
- '''Creates the layer and opens it for appending.
1669
-
1670
- :param path: Path to the file.
1671
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1672
- raise NotImplementedError()
1673
-
1674
- @overload
1675
- def create_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1676
- '''Creates the layer and opens it for appending.
1677
-
1678
- :param path: Path to the file.
1679
- :param options: Driver-specific options.
1680
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1681
- raise NotImplementedError()
1682
-
1683
- @overload
1684
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1685
- '''Creates the layer and opens it for appending.
1686
-
1687
- :param path: Path to the file.
1688
- :param options: Driver-specific options.
1689
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1690
- raise NotImplementedError()
1691
-
1692
- @overload
1693
- def create_layer(self, path : str, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
1694
- '''Creates the layer and opens it for appending.
1695
-
1696
- :param path: Path to the file.
1697
- :param spatial_reference_system: Spatial reference system.
1698
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1699
- raise NotImplementedError()
1700
-
1701
- @overload
1702
- def create_layer(self, path : aspose.gis.AbstractPath, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
1703
- '''Creates the layer and opens it for appending.
1704
-
1705
- :param path: Path to the file.
1706
- :param spatial_reference_system: Spatial reference system.
1707
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1708
- raise NotImplementedError()
1709
-
1710
- @overload
1711
- def create_layer(self, path : str, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
1712
- '''Creates the layer and opens it for appending.
1713
-
1714
- :param path: Path to the file.
1715
- :param options: Driver-specific options.
1716
- :param spatial_reference_system: Spatial reference system.
1717
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1718
- raise NotImplementedError()
1719
-
1720
- @overload
1721
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
1722
- '''Creates the layer and opens it for appending.
1723
-
1724
- :param path: Path to the file.
1725
- :param options: Driver-specific options.
1726
- :param spatial_reference_system: Spatial reference system.
1727
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1728
- raise NotImplementedError()
1729
-
1730
- @overload
1731
- def edit_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1732
- '''Opens a layer for editing.
1733
-
1734
- :param path: Path to the file.
1735
- :param options: Driver-specific options.
1736
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1737
- raise NotImplementedError()
1738
-
1739
- @overload
1740
- def edit_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
1741
- '''Opens a layer for editing.
1742
-
1743
- :param path: Path to the file.
1744
- :param options: Driver-specific options.
1745
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
1746
- raise NotImplementedError()
1747
-
1748
- @overload
1749
- def open_dataset(self, path : str) -> aspose.gis.Dataset:
1750
- '''Opens the dataset.
1751
-
1752
- :param path: Path to the dataset.
1753
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1754
- raise NotImplementedError()
1755
-
1756
- @overload
1757
- def open_dataset(self, path : aspose.gis.AbstractPath) -> aspose.gis.Dataset:
1758
- '''Opens the dataset.
1759
-
1760
- :param path: Path to the dataset.
1761
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1762
- raise NotImplementedError()
1763
-
1764
- @overload
1765
- def open_dataset(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
1766
- '''Opens the dataset.
1767
-
1768
- :param path: Path to the dataset.
1769
- :param options: Driver-specific options.
1770
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1771
- raise NotImplementedError()
1772
-
1773
- @overload
1774
- def open_dataset(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
1775
- '''Opens the dataset.
1776
-
1777
- :param path: Path to the dataset.
1778
- :param options: Driver-specific options.
1779
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1780
- raise NotImplementedError()
1781
-
1782
- @overload
1783
- def create_dataset(self, path : str) -> aspose.gis.Dataset:
1784
- '''Creates a dataset.
1785
-
1786
- :param path: Path to the dataset.
1787
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1788
- raise NotImplementedError()
1789
-
1790
- @overload
1791
- def create_dataset(self, path : aspose.gis.AbstractPath) -> aspose.gis.Dataset:
1792
- '''Creates a dataset.
1793
-
1794
- :param path: Path to the dataset.
1795
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1796
- raise NotImplementedError()
1797
-
1798
- @overload
1799
- def create_dataset(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
1800
- '''Creates a dataset.
1801
-
1802
- :param path: Path to the dataset.
1803
- :param options: Driver-specific options.
1804
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1805
- raise NotImplementedError()
1806
-
1807
- @overload
1808
- def create_dataset(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
1809
- '''Creates a dataset.
1810
-
1811
- :param path: Path to the dataset.
1812
- :param options: Driver-specific options.
1813
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
1814
- raise NotImplementedError()
1815
-
1816
- def supports_spatial_reference_system(self, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
1817
- '''Determines, whether specified spatial reference system is supported by the driver.
1818
-
1819
- :param spatial_reference_system: Spatial reference system.
1820
- :returns: Boolean value, indicating whether specified spatial reference system is supported by the driver.
1821
- is considered supported by any driver.'''
1822
- raise NotImplementedError()
1823
-
1824
- @property
1825
- def can_create_layers(self) -> bool:
1826
- '''Gets a value indicating whether this driver can create vector layers.'''
1827
- raise NotImplementedError()
1828
-
1829
- @property
1830
- def can_open_layers(self) -> bool:
1831
- '''Gets a value indicating whether this driver can open vector layers.'''
1832
- raise NotImplementedError()
1833
-
1834
- @property
1835
- def can_open_datasets(self) -> bool:
1836
- '''Gets a value indicating whether this driver can open datasets.'''
1837
- raise NotImplementedError()
1838
-
1839
- @property
1840
- def can_create_datasets(self) -> bool:
1841
- '''Gets a value indicating whether this driver can create datasets.'''
1842
- raise NotImplementedError()
1843
-
1844
-
1845
- class GeoConvert:
1846
- '''Converts coordinates to/from the different formats.'''
1847
-
1848
- @overload
1849
- @staticmethod
1850
- def as_point_text(latitude : float, longitude : float, format : aspose.gis.PointFormats) -> str:
1851
- '''Returns the calculated position as a string in the specified format.
1852
-
1853
- :param latitude: Position latitude.
1854
- :param longitude: Position longitude.
1855
- :param format: Format of the result.
1856
- :returns: Position as string.'''
1857
- raise NotImplementedError()
1858
-
1859
- @overload
1860
- @staticmethod
1861
- def as_point_text(point : aspose.gis.geometries.IPoint, format : aspose.gis.PointFormats) -> str:
1862
- '''Returns the calculated position as a string in the specified format.
1863
-
1864
- :param point: IPoint object.
1865
- :param format: Format of the result.
1866
- :returns: Position as string.'''
1867
- raise NotImplementedError()
1868
-
1869
- @staticmethod
1870
- def parse_point_text(text : str) -> aspose.gis.geometries.IPoint:
1871
- '''Converts the string that contains сoordinates to IPoint object.
1872
-
1873
- :param text: A string that contains coordinates to convert.
1874
- The string should contain both coordinate latitude and longitude.
1875
- Coordinates should be separated by whitespace, by comma or by semicolon.
1876
- :returns: IPoint object with coordinates that are equivalent to the input string.'''
1877
- raise NotImplementedError()
1878
-
1879
- @staticmethod
1880
- def try_parse_point_text(text : str, point : List[aspose.gis.geometries.IPoint]) -> bool:
1881
- '''Converts the string that contains сoordinates to IPoint object. A return value indicates whether the conversion succeeded or failed.
1882
-
1883
- :param text: A string that contains coordinates to convert.
1884
- The string should contain both coordinate latitude and longitude.
1885
- Coordinates should be separated by whitespace, by comma or by semicolon.
1886
- :param point: When this method returns, contains the IPoint object with parsed coordinates, if the conversion succeeded, or null if the conversion failed.
1887
- :returns: True if text was parsed successfully, otherwise False.'''
1888
- raise NotImplementedError()
1889
-
1890
-
1891
- class GisException:
1892
- '''The exception that is thrown when an error occurs during GIS data processing.'''
1893
-
1894
-
1895
- class IAttributesConverter:
1896
- '''A custom converter for layer attributes.'''
1897
-
1898
- def modify_attribute(self, attribute : aspose.gis.FeatureAttribute, actions : aspose.gis.AttributesConverterActions) -> None:
1899
- '''Adjusts a :py:class:`aspose.gis.FeatureAttribute` as necessary for the target layer.
1900
-
1901
- :param attribute: A copy of an attribute of the source layer.
1902
- :param actions: Specifies optional actions with attributes of the destination layer.
1903
- For example, allows us to exclude our attribute.'''
1904
- raise NotImplementedError()
1905
-
1906
-
1907
- class IFeatureStyle:
1908
- '''The interface root class of the feature styles hierarchy.'''
1909
-
1910
-
1911
- class License:
1912
- '''Provides methods to license the component.'''
1913
-
1914
- @overload
1915
- def set_license(self, license_name : str) -> None:
1916
- '''Licenses the component.'''
1917
- raise NotImplementedError()
1918
-
1919
- @overload
1920
- def set_license(self, stream : io.RawIOBase) -> None:
1921
- '''Licenses the component.
1922
-
1923
- :param stream: A stream that contains the license.'''
1924
- raise NotImplementedError()
1925
-
1926
-
1927
- class Metered:
1928
- '''Provides methods to set metered key.'''
1929
-
1930
- @staticmethod
1931
- def set_metered_key(public_key : str, private_key : str) -> None:
1932
- '''Sets metered public and private key
1933
-
1934
- :param public_key: public key
1935
- :param private_key: private key'''
1936
- raise NotImplementedError()
1937
-
1938
- @staticmethod
1939
- def get_consumption_quantity() -> float:
1940
- '''Gets consumption file size
1941
-
1942
- :returns: consumption quantity'''
1943
- raise NotImplementedError()
1944
-
1945
- @staticmethod
1946
- def reset_metered_key() -> None:
1947
- '''Removes previously setup license'''
1948
- raise NotImplementedError()
1949
-
1950
- @staticmethod
1951
- def get_consumption_credit() -> float:
1952
- '''Gets consumption credit
1953
-
1954
- :returns: consumption quantity'''
1955
- raise NotImplementedError()
1956
-
1957
-
1958
- class MultiStreamPath(AbstractPath):
1959
- '''This class works with formats which contains several files.'''
1960
-
1961
- @staticmethod
1962
- def from_local_path(path : str) -> aspose.gis.AbstractPath:
1963
- '''Creates an :py:class:`aspose.gis.AbstractPath` that represents a location on the local filesystem.
1964
-
1965
- :param path: A path on the local filesystem, like ``"C:\\file.shp"`` or ``"D:\\directory\\"``.
1966
- :returns: An :py:class:`aspose.gis.AbstractPath` that represents the location defined by the ``path``.'''
1967
- raise NotImplementedError()
1968
-
1969
- @staticmethod
1970
- def from_stream(stream : io.RawIOBase) -> aspose.gis.AbstractPath:
1971
- '''Creates an :py:class:`aspose.gis.AbstractPath` from a :py:class:`io.RawIOBase`.
1972
-
1973
- :param stream: A stream to create an :py:class:`aspose.gis.AbstractPath` from. ``Aspose.GIS`` does not dispose the stream.
1974
- :returns: An instance of :py:class:`aspose.gis.AbstractPath` with the specified :py:class:`io.RawIOBase` as its content.'''
1975
- raise NotImplementedError()
1976
-
1977
- def is_file(self) -> bool:
1978
- '''Gets a value indicating whether this path points to an existing file that can be opened for reading.
1979
-
1980
- :returns: if location points to a file; otherwise.'''
1981
- raise NotImplementedError()
1982
-
1983
- def delete(self) -> None:
1984
- '''Deletes a file pointed to by this path.'''
1985
- raise NotImplementedError()
1986
-
1987
- def open(self, access : System.IO.FileAccess) -> io.RawIOBase:
1988
- '''Abstracts a set of open streaming multi-file formats a path for accessing data.
1989
-
1990
- :param access: Specifies a subset of operations that can be performed on a :py:class:`io.RawIOBase`.
1991
- :returns: This can be either a :py:class:`System.IO.MemoryStream` or the stream originally passed by the client.'''
1992
- raise NotImplementedError()
1993
-
1994
- def list_directory(self) -> Iterable[aspose.gis.AbstractPath]:
1995
- '''Returns paths located inside this ``AbstractPath``, if it\'s a directory.
1996
-
1997
- :returns: Paths located inside this ``AbstractPath``.'''
1998
- raise NotImplementedError()
1999
-
2000
- def combine(self, location : str) -> aspose.gis.AbstractPath:
2001
- '''Combines this :py:class:`aspose.gis.AbstractPath` with specified path components.
2002
-
2003
- :param location: A path component to append to this :py:class:`aspose.gis.AbstractPath`.
2004
- :returns: A new :py:class:`aspose.gis.AbstractPath` pointing to a :py:attr:`aspose.gis.AbstractPath.location` that is a combination of locations of this :py:class:`aspose.gis.AbstractPath` and
2005
- the argument.'''
2006
- raise NotImplementedError()
2007
-
2008
- def with_extension(self, new_extension : str) -> aspose.gis.AbstractPath:
2009
- '''Returns a new :py:class:`aspose.gis.AbstractPath` with the file extension changed to the specified value.
2010
-
2011
- :param new_extension: A new extension.
2012
- :returns: A new :py:class:`aspose.gis.AbstractPath`, that points to a file in the same directory, but with a new extension.'''
2013
- raise NotImplementedError()
2014
-
2015
- def get_file_name(self) -> str:
2016
- '''Returns the file name and extension of this :py:class:`aspose.gis.AbstractPath`.
2017
-
2018
- :returns: The characters after the last :py:attr:`aspose.gis.AbstractPath.separator` character in the :py:attr:`aspose.gis.AbstractPath.location`. If the
2019
- last character is the :py:attr:`aspose.gis.AbstractPath.separator` character, an empty string is returned. If there is no
2020
- :py:attr:`aspose.gis.AbstractPath.separator` characters in the :py:attr:`aspose.gis.AbstractPath.location`, the :py:attr:`aspose.gis.AbstractPath.location` itself
2021
- is returned.'''
2022
- raise NotImplementedError()
2023
-
2024
- def get_file_name_without_extension(self) -> str:
2025
- '''Returns the file name of this :py:class:`aspose.gis.AbstractPath` without the extension.
2026
-
2027
- :returns: The string returned by :py:func:`aspose.gis.AbstractPath.get_file_name` minus the last period and all characters following it.'''
2028
- raise NotImplementedError()
2029
-
2030
- def get_extension(self) -> str:
2031
- '''Returns the extension of this :py:class:`aspose.gis.AbstractPath`.
2032
-
2033
- :returns: The extension of this :py:class:`aspose.gis.AbstractPath` (including the period ".") or
2034
- an empty string if the :py:class:`aspose.gis.AbstractPath` has no extension.'''
2035
- raise NotImplementedError()
2036
-
2037
- @property
2038
- def location(self) -> str:
2039
- '''Gets a string representation of the location of this ``AbstractPath``.'''
2040
- raise NotImplementedError()
2041
-
2042
- @property
2043
- def separator(self) -> str:
2044
- '''Gets a separator character used to separate directory levels of the :py:attr:`aspose.gis.MultiStreamPath.location` string.'''
2045
- raise NotImplementedError()
2046
-
2047
-
2048
- class NodeLink:
2049
- '''Node-based link to the parts of resources'''
2050
-
2051
- def get_node_by_name(self, name : str) -> aspose.gis.NodeLink:
2052
- '''Gets the node by name. Please note, this method will return the first found Node.
2053
- Doesn\'t matter in what level it will be found
2054
-
2055
- :param name: The name of the node you want to find.
2056
- :returns: The found node with NodeLink API'''
2057
- raise NotImplementedError()
2058
-
2059
- def get_nodes_by_name(self, names : List[str]) -> List[aspose.gis.NodeLink]:
2060
- '''Gets the all nodes with the specified name.
2061
- Doesn\'t matter in what level it will be found
2062
-
2063
- :param names: The names.
2064
- :returns: The array of found nodes.'''
2065
- raise NotImplementedError()
2066
-
2067
- def as_double(self) -> float:
2068
- '''Returns value casted to the double.
2069
-
2070
- :returns: The double value of node'''
2071
- raise NotImplementedError()
2072
-
2073
- def as_int(self) -> int:
2074
- '''Returns value casted to the int.
2075
-
2076
- :returns: The int value of node'''
2077
- raise NotImplementedError()
2078
-
2079
- def as_bool(self) -> bool:
2080
- '''Returns value casted to the bool
2081
-
2082
- :returns: The bool value of node'''
2083
- raise NotImplementedError()
2084
-
2085
- def get_node_content(self) -> str:
2086
- '''Gets the content of the node.
2087
-
2088
- :returns: The content of node'''
2089
- raise NotImplementedError()
2090
-
2091
- def find_nodes_by_name(self, name : str) -> List[aspose.gis.NodeLink]:
2092
- '''Finds the nodes by the name
2093
-
2094
- :param name: The name of the node
2095
- :returns: Array of Nodes of format by name'''
2096
- raise NotImplementedError()
2097
-
2098
- def add_child(self, child : aspose.gis.NodeLink) -> None:
2099
- '''Adds the child.
2100
-
2101
- :param child: The child.'''
2102
- raise NotImplementedError()
2103
-
2104
- @property
2105
- def node_name(self) -> str:
2106
- '''Gets the name.'''
2107
- raise NotImplementedError()
2108
-
2109
- @node_name.setter
2110
- def node_name(self, value : str) -> None:
2111
- '''Sets the name.'''
2112
- raise NotImplementedError()
2113
-
2114
- @property
2115
- def node_value(self) -> str:
2116
- '''Gets the value.'''
2117
- raise NotImplementedError()
2118
-
2119
- @node_value.setter
2120
- def node_value(self, value : str) -> None:
2121
- '''Sets the value.'''
2122
- raise NotImplementedError()
2123
-
2124
- @property
2125
- def children(self) -> List[aspose.gis.NodeLink]:
2126
- '''Gets the children.'''
2127
- raise NotImplementedError()
2128
-
2129
-
2130
- class NumericFormat:
2131
- ''':py:class:`aspose.gis.NumericFormat` are used to format common numeric types in text.'''
2132
-
2133
- @staticmethod
2134
- def general(precision : int) -> aspose.gis.NumericFormat:
2135
- '''Converts a number to the more compact of either fixed-point or scientific notation,
2136
- depending on the type of the number and whether a precision specifier is present. Recommended to use.
2137
-
2138
- :param precision: The precision defines the maximum number of significant digits that can appear in the result string.
2139
- If the precision is zero, the value "15" is used. The maximum available precision is "17".
2140
- :returns: The General Format Specifier.'''
2141
- raise NotImplementedError()
2142
-
2143
- @staticmethod
2144
- def flat(significant_digits : int) -> aspose.gis.NumericFormat:
2145
- '''Converts a number to a fixed-point text without a scientific notation.
2146
-
2147
- :param significant_digits: Number of significant digits. The maximum available precision is "308"
2148
- :returns: The Rounding Precision Specifier.'''
2149
- raise NotImplementedError()
2150
-
2151
- round_trip : aspose.gis.NumericFormat
2152
- '''Converts and attempts to ensure that a numeric value that is converted to
2153
- a string is parsed back into the same numeric value.'''
2154
-
2155
- class PrecisionModel:
2156
- ''':py:class:`aspose.gis.PrecisionModel` specifies a number of significant digits in a coordinate.'''
2157
-
2158
- @staticmethod
2159
- def rounding(significant_digits : int) -> aspose.gis.PrecisionModel:
2160
- '''Returns a rounding precision model.
2161
- According to rounding precision model only a limited number of digits are significant.
2162
-
2163
- :param significant_digits: Number of significant digits.
2164
- :returns: Rounding Precision model.'''
2165
- raise NotImplementedError()
2166
-
2167
- def equals(self, other : aspose.gis.PrecisionModel) -> bool:
2168
- '''Indicates whether the current object is equal to another object of the same type.
2169
-
2170
- :param other: An object to compare with this object.
2171
- :returns: true if the current object is equal to the ``other`` parameter; otherwise, false.'''
2172
- raise NotImplementedError()
2173
-
2174
- exact : aspose.gis.PrecisionModel
2175
- '''Returns an exact precision model.
2176
- According to exact precision model all digits in a double value are significant.'''
2177
- @property
2178
- def is_exact(self) -> bool:
2179
- '''Gets a value indicating whether this precision model is exact.'''
2180
- raise NotImplementedError()
2181
-
2182
- @property
2183
- def is_rounding(self) -> bool:
2184
- '''Gets a value indicating whether this precision model is rounding.'''
2185
- raise NotImplementedError()
2186
-
2187
- @property
2188
- def significant_digits(self) -> int:
2189
- '''Gets a number of significant digits in a precision model if it is rounding.'''
2190
- raise NotImplementedError()
2191
-
2192
-
2193
- class RasterDriver(Driver):
2194
- '''A driver for a specific raster based format.'''
2195
-
2196
- @overload
2197
- def open_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.RasterDriverOptions) -> aspose.gis.raster.RasterLayer:
2198
- '''Opens the layer for reading.
2199
-
2200
- :param path: Path to the file.
2201
- :param options: Driver-specific options.
2202
- :returns: An instance of :py:class:`aspose.gis.raster.RasterLayer`.'''
2203
- raise NotImplementedError()
2204
-
2205
- @overload
2206
- def open_layer(self, path : str) -> aspose.gis.raster.RasterLayer:
2207
- '''Opens the layer for reading.
2208
-
2209
- :param path: Path to the file.
2210
- :returns: An instance of :py:class:`aspose.gis.raster.RasterLayer`.'''
2211
- raise NotImplementedError()
2212
-
2213
- @overload
2214
- def open_layer(self, path : aspose.gis.AbstractPath) -> aspose.gis.raster.RasterLayer:
2215
- '''Opens the layer for reading.
2216
-
2217
- :param path: Path to the file.
2218
- :returns: An instance of :py:class:`aspose.gis.raster.RasterLayer`.'''
2219
- raise NotImplementedError()
2220
-
2221
- @overload
2222
- def open_layer(self, path : str, options : aspose.gis.RasterDriverOptions) -> aspose.gis.raster.RasterLayer:
2223
- '''Opens the layer for reading.
2224
-
2225
- :param path: Path to the file.
2226
- :param options: Driver-specific options.
2227
- :returns: An instance of :py:class:`aspose.gis.raster.RasterLayer`.'''
2228
- raise NotImplementedError()
2229
-
2230
- @property
2231
- def can_open_layers(self) -> bool:
2232
- '''Gets a value indicating whether this driver can open raster layers.'''
2233
- raise NotImplementedError()
2234
-
2235
-
2236
- class RasterDriverOptions(DriverOptions):
2237
- '''Options for a :py:class:`aspose.gis.RasterDriver`.'''
2238
-
2239
- @property
2240
- def validate_geometries_on_write(self) -> bool:
2241
- '''Determines if geometries should be validated when they are added to the layer.
2242
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
2243
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
2244
- raise NotImplementedError()
2245
-
2246
- @validate_geometries_on_write.setter
2247
- def validate_geometries_on_write(self, value : bool) -> None:
2248
- '''Determines if geometries should be validated when they are added to the layer.
2249
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
2250
- geometry when it\'s added to the layer, and if validation fails (:py:attr:`aspose.gis.geometries.Geometry.is_valid` is ), :py:class:`aspose.gis.GisException` is thrown.'''
2251
- raise NotImplementedError()
2252
-
2253
- @property
2254
- def write_polygons_as_lines(self) -> bool:
2255
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
2256
- raise NotImplementedError()
2257
-
2258
- @write_polygons_as_lines.setter
2259
- def write_polygons_as_lines(self, value : bool) -> None:
2260
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
2261
- raise NotImplementedError()
2262
-
2263
- @property
2264
- def create_midpoints(self) -> bool:
2265
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
2266
- raise NotImplementedError()
2267
-
2268
- @create_midpoints.setter
2269
- def create_midpoints(self, value : bool) -> None:
2270
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
2271
- raise NotImplementedError()
2272
-
2273
- @property
2274
- def close_linear_ring(self) -> bool:
2275
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
2276
- raise NotImplementedError()
2277
-
2278
- @close_linear_ring.setter
2279
- def close_linear_ring(self, value : bool) -> None:
2280
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
2281
- raise NotImplementedError()
2282
-
2283
- @property
2284
- def delete_near_points(self) -> bool:
2285
- '''Determines if delete near points in each geometry. Defaults to .'''
2286
- raise NotImplementedError()
2287
-
2288
- @delete_near_points.setter
2289
- def delete_near_points(self, value : bool) -> None:
2290
- '''Determines if delete near points in each geometry. Defaults to .'''
2291
- raise NotImplementedError()
2292
-
2293
- @property
2294
- def delete_near_points_distance(self) -> float:
2295
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
2296
- raise NotImplementedError()
2297
-
2298
- @delete_near_points_distance.setter
2299
- def delete_near_points_distance(self, value : float) -> None:
2300
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
2301
- raise NotImplementedError()
2302
-
2303
- @property
2304
- def simplify_segments(self) -> bool:
2305
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
2306
- raise NotImplementedError()
2307
-
2308
- @simplify_segments.setter
2309
- def simplify_segments(self, value : bool) -> None:
2310
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
2311
- raise NotImplementedError()
2312
-
2313
- @property
2314
- def simplify_segments_distance(self) -> float:
2315
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
2316
- raise NotImplementedError()
2317
-
2318
- @simplify_segments_distance.setter
2319
- def simplify_segments_distance(self, value : float) -> None:
2320
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
2321
- raise NotImplementedError()
2322
-
2323
- @property
2324
- def xy_precision_model(self) -> aspose.gis.PrecisionModel:
2325
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
2326
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2327
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2328
- raise NotImplementedError()
2329
-
2330
- @xy_precision_model.setter
2331
- def xy_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
2332
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
2333
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2334
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2335
- raise NotImplementedError()
2336
-
2337
- @property
2338
- def z_precision_model(self) -> aspose.gis.PrecisionModel:
2339
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
2340
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2341
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2342
- raise NotImplementedError()
2343
-
2344
- @z_precision_model.setter
2345
- def z_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
2346
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
2347
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2348
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2349
- raise NotImplementedError()
2350
-
2351
- @property
2352
- def m_precision_model(self) -> aspose.gis.PrecisionModel:
2353
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
2354
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2355
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2356
- raise NotImplementedError()
2357
-
2358
- @m_precision_model.setter
2359
- def m_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
2360
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
2361
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
2362
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
2363
- raise NotImplementedError()
2364
-
2365
- @property
2366
- def linearization_tolerance(self) -> float:
2367
- '''A tolerance to use to linearize curve geometries.'''
2368
- raise NotImplementedError()
2369
-
2370
- @linearization_tolerance.setter
2371
- def linearization_tolerance(self, value : float) -> None:
2372
- '''A tolerance to use to linearize curve geometries.'''
2373
- raise NotImplementedError()
2374
-
2375
-
2376
- class SavingOptions:
2377
- '''Options for saving :py:class:`aspose.gis.FeaturesSequence` to file.'''
2378
-
2379
- @property
2380
- def driver_options(self) -> aspose.gis.DriverOptions:
2381
- '''Driver-specific options for the output layer.'''
2382
- raise NotImplementedError()
2383
-
2384
- @driver_options.setter
2385
- def driver_options(self, value : aspose.gis.DriverOptions) -> None:
2386
- '''Driver-specific options for the output layer.'''
2387
- raise NotImplementedError()
2388
-
2389
- @property
2390
- def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2391
- '''Driver-specific options for the output layer.'''
2392
- raise NotImplementedError()
2393
-
2394
- @spatial_reference_system.setter
2395
- def spatial_reference_system(self, value : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> None:
2396
- '''Driver-specific options for the output layer.'''
2397
- raise NotImplementedError()
2398
-
2399
- @property
2400
- def attributes_converter(self) -> aspose.gis.IAttributesConverter:
2401
- '''A custom converter for attributes.
2402
- If not , it is called for each attribute of the source layer and is expected to change it if necessary.'''
2403
- raise NotImplementedError()
2404
-
2405
- @attributes_converter.setter
2406
- def attributes_converter(self, value : aspose.gis.IAttributesConverter) -> None:
2407
- '''A custom converter for attributes.
2408
- If not , it is called for each attribute of the source layer and is expected to change it if necessary.'''
2409
- raise NotImplementedError()
2410
-
2411
-
2412
- class VectorLayer(FeaturesSequence):
2413
- '''Represents a vector layer.
2414
- A vector layer is a collection of geographic features, stored in a file.'''
2415
-
2416
- @overload
2417
- def where_intersects(self, sequence : aspose.gis.FeaturesSequence) -> aspose.gis.FeaturesSequence:
2418
- '''Filters features based on the union of all geometries in other features sequence.
2419
-
2420
- :param sequence: Other features sequence.
2421
- :returns: Features that intersect with the union of all geometries in other features sequence.'''
2422
- raise NotImplementedError()
2423
-
2424
- @overload
2425
- def where_intersects(self, geometry : aspose.gis.geometries.IGeometry) -> aspose.gis.FeaturesSequence:
2426
- '''Filters features based on the provided geometry.
2427
-
2428
- :param geometry: Filter geometry.
2429
- :returns: Features that intersect with the provided geometry.'''
2430
- raise NotImplementedError()
2431
-
2432
- @overload
2433
- def where_intersects(self, extent : aspose.gis.Extent) -> aspose.gis.FeaturesSequence:
2434
- '''Filters features based on the extent.
2435
-
2436
- :param extent: Filter extent.
2437
- :returns: Features that intersect with the provided geometry.'''
2438
- raise NotImplementedError()
2439
-
2440
- @overload
2441
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver) -> None:
2442
- '''Saves features sequence to layer.
2443
-
2444
- :param destination_path: Path to the output layer.
2445
- :param destination_driver: The format driver for the output layer.'''
2446
- raise NotImplementedError()
2447
-
2448
- @overload
2449
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver) -> None:
2450
- '''Saves features sequence to layer.
2451
-
2452
- :param destination_path: Path to the output layer.
2453
- :param destination_driver: The format driver for the output layer.'''
2454
- raise NotImplementedError()
2455
-
2456
- @overload
2457
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
2458
- '''Saves features sequence to layer.
2459
-
2460
- :param destination_path: Path to the output layer.
2461
- :param destination_driver: The format driver for the output layer.
2462
- :param options: Options for the saving procedure.'''
2463
- raise NotImplementedError()
2464
-
2465
- @overload
2466
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
2467
- '''Saves features sequence to layer.
2468
-
2469
- :param destination_path: Path to the output layer.
2470
- :param destination_driver: The format driver for the output layer.
2471
- :param options: Options for the saving procedure.'''
2472
- raise NotImplementedError()
2473
-
2474
- @overload
2475
- @staticmethod
2476
- def open(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
2477
- '''Open the layer for reading.
2478
-
2479
- :param path: Path to the file.
2480
- :param driver: Driver to use.
2481
- :returns: A read-only layer.'''
2482
- raise NotImplementedError()
2483
-
2484
- @overload
2485
- @staticmethod
2486
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
2487
- '''Open the layer for reading.
2488
-
2489
- :param path: Path to the file.
2490
- :param driver: Driver to use.
2491
- :returns: A read-only layer.'''
2492
- raise NotImplementedError()
2493
-
2494
- @overload
2495
- @staticmethod
2496
- def open(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
2497
- '''Open the layer for reading.
2498
-
2499
- :param path: Path to the file.
2500
- :param driver: Driver to use.
2501
- :param options: Driver-specific options.
2502
- :returns: A read-only layer.'''
2503
- raise NotImplementedError()
2504
-
2505
- @overload
2506
- @staticmethod
2507
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
2508
- '''Open the layer for reading.
2509
-
2510
- :param path: Path to the file.
2511
- :param driver: Driver to use.
2512
- :param options: Driver-specific options.
2513
- :returns: A read-only layer.'''
2514
- raise NotImplementedError()
2515
-
2516
- @overload
2517
- @staticmethod
2518
- def create(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
2519
- '''Creates the layer and opens it for adding new features.
2520
-
2521
- :param path: Path to the file.
2522
- :param driver: Driver to use.
2523
- :returns: A write-only layer.'''
2524
- raise NotImplementedError()
2525
-
2526
- @overload
2527
- @staticmethod
2528
- def create(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
2529
- '''Creates the layer and opens it for adding new features.
2530
-
2531
- :param path: Path to the file.
2532
- :param driver: Driver to use.
2533
- :param options: Driver-specific options.
2534
- :returns: A write-only layer.'''
2535
- raise NotImplementedError()
2536
-
2537
- @overload
2538
- @staticmethod
2539
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
2540
- '''Creates the layer and opens it for adding new features.
2541
-
2542
- :param path: Path to the file.
2543
- :param driver: Driver to use.
2544
- :returns: A write-only layer.'''
2545
- raise NotImplementedError()
2546
-
2547
- @overload
2548
- @staticmethod
2549
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
2550
- '''Creates the layer and opens it for adding new features.
2551
-
2552
- :param path: Path to the file.
2553
- :param driver: Driver to use.
2554
- :param options: Driver-specific options.
2555
- :returns: A write-only layer.'''
2556
- raise NotImplementedError()
2557
-
2558
- @overload
2559
- @staticmethod
2560
- def create(path : str, driver : aspose.gis.FileDriver, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
2561
- '''Creates the layer and opens it for appending.
2562
-
2563
- :param path: Path to the file.
2564
- :param driver: Driver to use.
2565
- :param spatial_reference_system: Spatial reference system.
2566
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
2567
- raise NotImplementedError()
2568
-
2569
- @overload
2570
- @staticmethod
2571
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
2572
- '''Creates the layer and opens it for appending.
2573
-
2574
- :param path: Path to the file.
2575
- :param driver: Driver to use.
2576
- :param spatial_reference_system: Spatial reference system.
2577
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
2578
- raise NotImplementedError()
2579
-
2580
- @overload
2581
- @staticmethod
2582
- def create(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
2583
- '''Creates the layer and opens it for appending.
2584
-
2585
- :param path: Path to the file.
2586
- :param driver: Driver to use.
2587
- :param options: Driver-specific options.
2588
- :param spatial_reference_system: Spatial reference system.
2589
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
2590
- raise NotImplementedError()
2591
-
2592
- @overload
2593
- @staticmethod
2594
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
2595
- '''Creates the layer and opens it for appending.
2596
-
2597
- :param path: Path to the file.
2598
- :param driver: Driver to use.
2599
- :param options: Driver-specific options.
2600
- :param spatial_reference_system: Spatial reference system.
2601
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
2602
- raise NotImplementedError()
2603
-
2604
- @overload
2605
- @staticmethod
2606
- def convert(source_path : str, source_driver : aspose.gis.FileDriver, destination_path : str, destination_driver : aspose.gis.FileDriver) -> None:
2607
- '''Convert a layer to a different format.
2608
-
2609
- :param source_path: Path to the layer that will be converted.
2610
- :param source_driver: The format driver for the source layer.
2611
- :param destination_path: Path to the layer that will created as a result of conversion.
2612
- :param destination_driver: The format driver for the destination layer.'''
2613
- raise NotImplementedError()
2614
-
2615
- @overload
2616
- @staticmethod
2617
- def convert(source_path : aspose.gis.AbstractPath, source_driver : aspose.gis.FileDriver, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver) -> None:
2618
- '''Convert a layer to a different format.
2619
-
2620
- :param source_path: Path to the layer that will be converted.
2621
- :param source_driver: The format driver for the source layer.
2622
- :param destination_path: Path to the layer that will created as a result of conversion.
2623
- :param destination_driver: The format driver for the destination layer.'''
2624
- raise NotImplementedError()
2625
-
2626
- @overload
2627
- @staticmethod
2628
- def convert(source_path : str, source_driver : aspose.gis.FileDriver, destination_path : str, destination_driver : aspose.gis.FileDriver, options : aspose.gis.ConversionOptions) -> None:
2629
- '''Convert a layer to a different format.
2630
-
2631
- :param source_path: Path to the layer that will be converted.
2632
- :param source_driver: The format driver for the source layer.
2633
- :param destination_path: Path to the layer that will created as a result of conversion.
2634
- :param destination_driver: The format driver for the destination layer.
2635
- :param options: Options for the conversion procedure.'''
2636
- raise NotImplementedError()
2637
-
2638
- @overload
2639
- @staticmethod
2640
- def convert(source_path : aspose.gis.AbstractPath, source_driver : aspose.gis.FileDriver, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver, options : aspose.gis.ConversionOptions) -> None:
2641
- '''Convert a layer to a different format.
2642
-
2643
- :param source_path: Path to the layer that will be converted.
2644
- :param source_driver: The format driver for the source layer.
2645
- :param destination_path: Path to the layer that will created as a result of conversion.
2646
- :param destination_driver: The format driver for the destination layer.
2647
- :param options: Options for the conversion procedure.'''
2648
- raise NotImplementedError()
2649
-
2650
- @overload
2651
- def copy_attributes(self, features_sequence : aspose.gis.FeaturesSequence) -> None:
2652
- '''Copies attributes of other :py:class:`aspose.gis.VectorLayer` to this one.
2653
-
2654
- :param features_sequence: The features sequence to copy attributes from.'''
2655
- raise NotImplementedError()
2656
-
2657
- @overload
2658
- def copy_attributes(self, features_sequence : aspose.gis.FeaturesSequence, converter : aspose.gis.IAttributesConverter) -> None:
2659
- '''Copies attributes of other :py:class:`aspose.gis.VectorLayer` to this one.
2660
-
2661
- :param features_sequence: The features sequence to copy attributes from.
2662
- :param converter: An instance of custom :py:class:`aspose.gis.IAttributesConverter` that will process the attributes one by one.'''
2663
- raise NotImplementedError()
2664
-
2665
- @overload
2666
- def add(self, feature : aspose.gis.Feature) -> None:
2667
- '''Adds a new feature to the layer, if supported by the :py:class:`aspose.gis.VectorLayer`\'s :py:attr:`aspose.gis.VectorLayer.driver`.
2668
-
2669
- :param feature: The feature to add.'''
2670
- raise NotImplementedError()
2671
-
2672
- @overload
2673
- def add(self, feature : aspose.gis.Feature, style : aspose.gis.IFeatureStyle) -> None:
2674
- '''Adds a new feature with the specified style to the layer, if supported by the :py:class:`aspose.gis.VectorLayer`\'s :py:attr:`aspose.gis.VectorLayer.driver`.
2675
-
2676
- :param feature: The feature to add.
2677
- :param style: The feature style. Use to indicate missing style.'''
2678
- raise NotImplementedError()
2679
-
2680
- @overload
2681
- def nearest_to(self, x : float, y : float) -> aspose.gis.Feature:
2682
- '''Gets the nearest feature to the provided coordinate.
2683
-
2684
- :param x: X of the coordinate.
2685
- :param y: Y of the coordinate.
2686
- :returns: The nearest feature to the provided coordinate.'''
2687
- raise NotImplementedError()
2688
-
2689
- @overload
2690
- def nearest_to(self, point : aspose.gis.geometries.IPoint) -> aspose.gis.Feature:
2691
- '''Gets the nearest feature to the provided point.
2692
-
2693
- :param point: The point.
2694
- :returns: The nearest feature to the provided point.'''
2695
- raise NotImplementedError()
2696
-
2697
- @overload
2698
- def use_attributes_index(self, index_path : str, attribute_name : str, force_rebuild : bool) -> None:
2699
- '''Loads attribute index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.WhereGreater``1`.
2700
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
2701
-
2702
- :param index_path: Path to the index file.
2703
- :param attribute_name: Name of the attribute to build index on.
2704
- :param force_rebuild: Whether to recreate index even if it already exists.'''
2705
- raise NotImplementedError()
2706
-
2707
- @overload
2708
- def use_attributes_index(self, index_path : aspose.gis.AbstractPath, attribute_name : str, force_rebuild : bool) -> None:
2709
- '''Loads attribute index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.WhereGreater``1`.
2710
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
2711
-
2712
- :param index_path: Path to the index file.
2713
- :param attribute_name: Name of the attribute to build index on.
2714
- :param force_rebuild: Whether to recreate index even if it already exists.'''
2715
- raise NotImplementedError()
2716
-
2717
- @overload
2718
- def use_spatial_index(self, index_path : str, force_rebuild : bool) -> None:
2719
- '''Loads spatial index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.where_intersects`
2720
- and :py:func:`aspose.gis.VectorLayer.nearest_to`.
2721
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
2722
-
2723
- :param index_path: Path to the index file.
2724
- :param force_rebuild: Whether to recreate index even if it already exists.'''
2725
- raise NotImplementedError()
2726
-
2727
- @overload
2728
- def use_spatial_index(self, index_path : aspose.gis.AbstractPath, force_rebuild : bool) -> None:
2729
- '''Loads spatial index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.where_intersects`
2730
- and :py:func:`aspose.gis.VectorLayer.nearest_to`.
2731
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
2732
-
2733
- :param index_path: Path to the index file.
2734
- :param force_rebuild: Whether to recreate index even if it already exists.'''
2735
- raise NotImplementedError()
2736
-
2737
- def get_extent(self) -> aspose.gis.Extent:
2738
- '''Gets a spatial extent of this layer.
2739
-
2740
- :returns: A spatial extent of this layer.'''
2741
- raise NotImplementedError()
2742
-
2743
- def where_greater(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2744
- '''Selects features with attribute value greater than the provided value.
2745
-
2746
- :param attribute_name: Attribute to filter by.
2747
- :param value: Value to compare against.
2748
- :returns: Features with attribute value greater than the provided value.'''
2749
- raise NotImplementedError()
2750
-
2751
- def where_greater_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2752
- '''Selects features with attribute value greater or equal to the provided value.
2753
-
2754
- :param attribute_name: Attribute to filter by.
2755
- :param value: Value to compare against.
2756
- :returns: Features with attribute value greater or equal to the provided value.'''
2757
- raise NotImplementedError()
2758
-
2759
- def where_smaller(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2760
- '''Selects features with attribute value smaller than the provided value.
2761
-
2762
- :param attribute_name: Attribute to filter by.
2763
- :param value: Value to compare against.
2764
- :returns: Features with attribute value smaller than the provided value.'''
2765
- raise NotImplementedError()
2766
-
2767
- def where_smaller_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2768
- '''Selects features with attribute value smaller or equal to the provided value.
2769
-
2770
- :param attribute_name: Attribute to filter by.
2771
- :param value: Value to compare against.
2772
- :returns: Features with attribute value smaller or equal to the provided value.'''
2773
- raise NotImplementedError()
2774
-
2775
- def where_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2776
- '''Selects features with attribute value equal to the provided value.
2777
-
2778
- :param attribute_name: Attribute to filter by.
2779
- :param value: Value to compare against.
2780
- :returns: Features with attribute value equal to the provided value.'''
2781
- raise NotImplementedError()
2782
-
2783
- def where_not_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
2784
- '''Selects features with attribute value not equal to the provided value.
2785
-
2786
- :param attribute_name: Attribute to filter by.
2787
- :param value: Value to compare against.
2788
- :returns: Features with attribute value not equal to the provided value.'''
2789
- raise NotImplementedError()
2790
-
2791
- def where_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
2792
- '''Selects features with attribute equal to null.
2793
-
2794
- :param attribute_name: Attribute to filter by.
2795
- :returns: Features with attribute value equal to null.'''
2796
- raise NotImplementedError()
2797
-
2798
- def where_not_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
2799
- '''Selects features with attribute not equal to null.
2800
-
2801
- :param attribute_name: Attribute to filter by.
2802
- :returns: Features with attribute value not equal to null.'''
2803
- raise NotImplementedError()
2804
-
2805
- def where_set(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
2806
- '''Selects features with attribute set.
2807
-
2808
- :param attribute_name: Attribute to filter by.
2809
- :returns: Features with set attribute value.'''
2810
- raise NotImplementedError()
2811
-
2812
- def where_unset(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
2813
- '''Selects features where specified attribute is not set.
2814
-
2815
- :param attribute_name: Attribute to filter by.
2816
- :returns: Features with unset attribute value.'''
2817
- raise NotImplementedError()
2818
-
2819
- def split_to(self) -> List[aspose.gis.VectorLayer]:
2820
- '''Split features by geometry type.
2821
-
2822
- :returns: Layers with the same type of geometry.'''
2823
- raise NotImplementedError()
2824
-
2825
- def construct_feature(self) -> aspose.gis.Feature:
2826
- '''Creates (but does not add to the layer) a new feature with attributes matching the collection of attributes of this layer.
2827
- When done with setting data for the feature, use :py:func:`aspose.gis.VectorLayer.add` to add the feature to the layer.
2828
-
2829
- :returns: A new feature.'''
2830
- raise NotImplementedError()
2831
-
2832
- def remove_at(self, index : int) -> None:
2833
- '''Remove the :py:class:`aspose.gis.Feature` at the specified index.
2834
-
2835
- :param index: The index of the feature.'''
2836
- raise NotImplementedError()
2837
-
2838
- def replace_at(self, index : int, feature : aspose.gis.Feature) -> None:
2839
- '''Replace the :py:class:`aspose.gis.Feature` at the specified index.
2840
-
2841
- :param index: The index of the feature.
2842
- :param feature: The feature to set.'''
2843
- raise NotImplementedError()
2844
-
2845
- def join(self, layer : aspose.gis.VectorLayer, options : aspose.gis.relationship.joins.JoinOptions) -> aspose.gis.VectorLayer:
2846
- '''Joins a layer to the current layer.
2847
-
2848
- :param layer: A layer to join.
2849
- :param options: Join parameters.
2850
- :returns: A new layer as a result of join two layers.'''
2851
- raise NotImplementedError()
2852
-
2853
- def join_by_geometry(self, layer : aspose.gis.VectorLayer, options : aspose.gis.relationship.joins.JoinByGeometryOptions) -> aspose.gis.VectorLayer:
2854
- '''Joins a layer to the current layer by geometry.
2855
-
2856
- :param layer: A layer to join.
2857
- :param options: Join parameters.
2858
- :returns: A new layer as a result of join two layers.'''
2859
- raise NotImplementedError()
2860
-
2861
- def as_in_memory(self) -> aspose.gis.VectorLayer:
2862
- '''Create a layer clon as the InMemory format.
2863
-
2864
- :returns: The InMemory Layer.'''
2865
- raise NotImplementedError()
2866
-
2867
- @property
2868
- def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
2869
- '''Gets spatial reference system of this features sequence.'''
2870
- raise NotImplementedError()
2871
-
2872
- @property
2873
- def attributes(self) -> aspose.gis.BaseFeatureAttributeCollection:
2874
- '''Gets the collection of custom attributes for features in this :py:class:`aspose.gis.VectorLayer`.'''
2875
- raise NotImplementedError()
2876
-
2877
- @property
2878
- def count(self) -> int:
2879
- '''Gets the number of features in this layer.'''
2880
- raise NotImplementedError()
2881
-
2882
- @property
2883
- def geometry_type(self) -> aspose.gis.geometries.GeometryType:
2884
- '''Gets the type of the geometry for the layer.'''
2885
- raise NotImplementedError()
2886
-
2887
- @property
2888
- def driver(self) -> aspose.gis.Driver:
2889
- '''Gets the :py:attr:`aspose.gis.VectorLayer.driver` that instantiated this layer.'''
2890
- raise NotImplementedError()
2891
-
2892
- def __getitem__(self, key : int) -> aspose.gis.Feature:
2893
- '''Gets the :py:class:`aspose.gis.Feature` at the specified index.'''
2894
- raise NotImplementedError()
2895
-
2896
-
2897
- class XmlNodeLink(NodeLink):
2898
- '''XML Node-Based links to parts of sources'''
2899
-
2900
- def get_node_by_name(self, name : str) -> aspose.gis.NodeLink:
2901
- '''Gets the node by name. Please note, this method will return the first found Node.
2902
- Doesn\'t matter in what level it will be found
2903
-
2904
- :param name: The name of the node you want to find.
2905
- :returns: The found node with NodeLink API'''
2906
- raise NotImplementedError()
2907
-
2908
- def get_nodes_by_name(self, names : List[str]) -> List[aspose.gis.NodeLink]:
2909
- '''Gets the all nodes with the specified name.
2910
- Doesn\'t matter in what level it will be found
2911
-
2912
- :param names: The names.
2913
- :returns: The array of found nodes.'''
2914
- raise NotImplementedError()
2915
-
2916
- def as_double(self) -> float:
2917
- '''Returns value casted to the double.
2918
-
2919
- :returns: The double value of node'''
2920
- raise NotImplementedError()
2921
-
2922
- def as_int(self) -> int:
2923
- '''Returns value casted to the int.
2924
-
2925
- :returns: The int value of node'''
2926
- raise NotImplementedError()
2927
-
2928
- def as_bool(self) -> bool:
2929
- '''Returns value casted to the bool
2930
-
2931
- :returns: The bool value of node'''
2932
- raise NotImplementedError()
2933
-
2934
- def get_node_content(self) -> str:
2935
- '''Gets the content of the node.
2936
-
2937
- :returns: The content of node'''
2938
- raise NotImplementedError()
2939
-
2940
- def find_nodes_by_name(self, name : str) -> List[aspose.gis.NodeLink]:
2941
- '''Finds the XML nodes by the name
2942
-
2943
- :param name: The name of the node
2944
- :returns: Array of XML Nodes by name'''
2945
- raise NotImplementedError()
2946
-
2947
- def add_child(self, child : aspose.gis.NodeLink) -> None:
2948
- '''Adds the child.
2949
-
2950
- :param child: The child.'''
2951
- raise NotImplementedError()
2952
-
2953
- @property
2954
- def node_name(self) -> str:
2955
- '''Gets the name.'''
2956
- raise NotImplementedError()
2957
-
2958
- @node_name.setter
2959
- def node_name(self, value : str) -> None:
2960
- '''Sets the name.'''
2961
- raise NotImplementedError()
2962
-
2963
- @property
2964
- def node_value(self) -> str:
2965
- '''Gets the value.'''
2966
- raise NotImplementedError()
2967
-
2968
- @node_value.setter
2969
- def node_value(self, value : str) -> None:
2970
- '''Sets the value.'''
2971
- raise NotImplementedError()
2972
-
2973
- @property
2974
- def children(self) -> List[aspose.gis.NodeLink]:
2975
- '''Gets the children.'''
2976
- raise NotImplementedError()
2977
-
2978
- @property
2979
- def name_without_prefix(self) -> str:
2980
- '''Gets the name without prefix.'''
2981
- raise NotImplementedError()
2982
-
2983
- @property
2984
- def prefix(self) -> str:
2985
- '''Gets the prefix.'''
2986
- raise NotImplementedError()
2987
-
2988
-
2989
- class AttributeDataType:
2990
- '''The data type of a feature attribute.'''
2991
-
2992
- INTEGER : AttributeDataType
2993
- '''32-bit integer.'''
2994
- LONG : AttributeDataType
2995
- '''64-bit integer.'''
2996
- GUID : AttributeDataType
2997
- '''A globally unique identifier (GUID).'''
2998
- BOOLEAN : AttributeDataType
2999
- '''Boolean (true/false) value.'''
3000
- DOUBLE : AttributeDataType
3001
- '''Double-precision real number.'''
3002
- DATE : AttributeDataType
3003
- '''Date value.'''
3004
- TIME : AttributeDataType
3005
- '''Time value.'''
3006
- DATE_TIME : AttributeDataType
3007
- '''Date and time value.'''
3008
- STRING : AttributeDataType
3009
- '''String value.'''
3010
-
3011
- class AutoIds:
3012
- '''Auto-generate ids.'''
3013
-
3014
- NONE : AutoIds
3015
- '''Hide Auto Ids.'''
3016
- NUMBER : AutoIds
3017
- '''Increment Number Ids.'''
3018
- GUID : AutoIds
3019
- '''Generate Guid Ids.'''
3020
-
3021
- class PointFormats:
3022
- ''':py:class:`aspose.gis.PointFormats` are used to convert coordinates in text.'''
3023
-
3024
- DECIMAL_DEGREES : PointFormats
3025
- '''Decimal Degrees (DD) format.'''
3026
- DEGREE_MINUTES_SECONDS : PointFormats
3027
- '''Degree Minutes Seconds (DMS) format.'''
3028
- DEGREE_DECIMAL_MINUTES : PointFormats
3029
- '''Degree Decimal Minutes (DDM) format.'''
3030
- GEO_REF : PointFormats
3031
- '''World Geographic Reference System.'''
3032
- MGRS : PointFormats
3033
- '''Military Grid Reference System with WGS 84 datum.'''
3034
- USNG : PointFormats
3035
- '''United States National Grid with WGS 84 datum.'''
3036
- GARS : PointFormats
3037
- '''Global Area Reference System'''
3038
- PLUS_CODE : PointFormats
3039
- '''The Open Location Code (OLC) or Plus Code'''
3040
- MAIDENHEAD : PointFormats
3041
- '''The Maidenhead Locator System (a.k.a. QTH Locator and IARU Locator)'''
3042
- UTM : PointFormats
3043
- '''Universal Transverse Mercator'''
3044
- UPS : PointFormats
3045
- '''Universal polar stereographic coordinate system'''
3046
-
3047
- class SpatialReferenceSystemMode:
3048
- '''Specifies a mode of Spatial Reference System (SRS) writing in database
3049
- if it\'s an unknown SRS.'''
3050
-
3051
- THROW_EXCEPTION : SpatialReferenceSystemMode
3052
- '''Throw exceptions if it\'s an unknown SRS for the database.'''
3053
- WRITE_IN_SYSTEM_TABLE : SpatialReferenceSystemMode
3054
- '''Write SRS info in system table if it\'s an unknown SRS for the database.'''
3055
- SETUP_TO_ZERO : SpatialReferenceSystemMode
3056
- '''Setup the SRID of a geometry to \'zero\' if it\'s an unknown SRS for the database.'''
3
+ from typing import Any
3057
4
 
5
+ def get_pyinstaller_hook_dirs() -> Any:
6
+ """Function required by PyInstaller. Returns paths to module
7
+ PyInstaller hooks. Not intended to be called explicitly."""
8
+ ...