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

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

Potentially problematic release.


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

Files changed (112) hide show
  1. aspose/assemblies/gis/Aspose.GIS.dll +0 -0
  2. aspose/assemblies/gis/WrpInterop.Aspose.Gis.dll +0 -0
  3. aspose/gis/__init__.pyi +6 -3055
  4. aspose/gis.cpython-310-x86_64-linux-gnu.so +0 -0
  5. aspose/gis.cpython-311-x86_64-linux-gnu.so +0 -0
  6. aspose/gis.cpython-312-x86_64-linux-gnu.so +0 -0
  7. aspose/gis.cpython-313-x86_64-linux-gnu.so +0 -0
  8. aspose/gis.cpython-35m-x86_64-linux-gnu.so +0 -0
  9. aspose/gis.cpython-36m-x86_64-linux-gnu.so +0 -0
  10. aspose/gis.cpython-37m-x86_64-linux-gnu.so +0 -0
  11. aspose/gis.cpython-38-x86_64-linux-gnu.so +0 -0
  12. aspose/gis.cpython-39-x86_64-linux-gnu.so +0 -0
  13. aspose/pycore/__init__.pyi +55 -56
  14. aspose/pydrawing/__init__.pyi +7 -4089
  15. aspose/pyreflection/__init__.pyi +7 -11
  16. {aspose_gis_net-25.8.0.dist-info → aspose_gis_net-25.9.0.dist-info}/METADATA +1 -1
  17. {aspose_gis_net-25.8.0.dist-info → aspose_gis_net-25.9.0.dist-info}/RECORD +16 -111
  18. .__pyi_patched +0 -0
  19. aspose/gis/common/__init__.pyi +0 -1030
  20. aspose/gis/common/formats/__init__.pyi +0 -100
  21. aspose/gis/common/formats/dbase/__init__.pyi +0 -252
  22. aspose/gis/common/formats/gdbtable/__init__.pyi +0 -1024
  23. aspose/gis/common/formats/mapinfo/__init__.pyi +0 -349
  24. aspose/gis/common/formats/mapinfo/graphicalobjects/__init__.pyi +0 -664
  25. aspose/gis/common/formats/mapinfo/interchangeformat/__init__.pyi +0 -219
  26. aspose/gis/common/formats/mapinfo/styling/__init__.pyi +0 -165
  27. aspose/gis/common/formats/mapinfo/tabformat/__init__.pyi +0 -145
  28. aspose/gis/common/formats/mapinfo/tabformat/map/__init__.pyi +0 -432
  29. aspose/gis/common/formats/wkb/__init__.pyi +0 -122
  30. aspose/gis/common/formats/wkt/__init__.pyi +0 -422
  31. aspose/gis/common/formats/xml/__init__.pyi +0 -175
  32. aspose/gis/common/io/__init__.pyi +0 -292
  33. aspose/gis/epsg/__init__.pyi +0 -359
  34. aspose/gis/formats/__init__.pyi +0 -93
  35. aspose/gis/formats/bmpw/__init__.pyi +0 -136
  36. aspose/gis/formats/csv/__init__.pyi +0 -610
  37. aspose/gis/formats/database/__init__.pyi +0 -175
  38. aspose/gis/formats/database/dataediting/__init__.pyi +0 -107
  39. aspose/gis/formats/database/fromdefinition/__init__.pyi +0 -143
  40. aspose/gis/formats/esriascii/__init__.pyi +0 -294
  41. aspose/gis/formats/esrijson/__init__.pyi +0 -514
  42. aspose/gis/formats/filegdb/__init__.pyi +0 -724
  43. aspose/gis/formats/gdal/__init__.pyi +0 -480
  44. aspose/gis/formats/geojson/__init__.pyi +0 -622
  45. aspose/gis/formats/geojsonseq/__init__.pyi +0 -574
  46. aspose/gis/formats/geopackage/__init__.pyi +0 -732
  47. aspose/gis/formats/geotiff/__init__.pyi +0 -294
  48. aspose/gis/formats/gml/__init__.pyi +0 -576
  49. aspose/gis/formats/gpx/__init__.pyi +0 -545
  50. aspose/gis/formats/infile/__init__.pyi +0 -584
  51. aspose/gis/formats/inmemory/__init__.pyi +0 -339
  52. aspose/gis/formats/jpegw/__init__.pyi +0 -136
  53. aspose/gis/formats/kml/__init__.pyi +0 -1071
  54. aspose/gis/formats/kml/specificfields/__init__.pyi +0 -1125
  55. aspose/gis/formats/kml/styles/__init__.pyi +0 -638
  56. aspose/gis/formats/mapinfointerchange/__init__.pyi +0 -533
  57. aspose/gis/formats/mapinfotab/__init__.pyi +0 -532
  58. aspose/gis/formats/osmxml/__init__.pyi +0 -545
  59. aspose/gis/formats/pngw/__init__.pyi +0 -136
  60. aspose/gis/formats/postgis/__init__.pyi +0 -264
  61. aspose/gis/formats/shapefile/__init__.pyi +0 -513
  62. aspose/gis/formats/sqlserver/__init__.pyi +0 -250
  63. aspose/gis/formats/tiffw/__init__.pyi +0 -136
  64. aspose/gis/formats/topojson/__init__.pyi +0 -598
  65. aspose/gis/formats/worldfile/__init__.pyi +0 -136
  66. aspose/gis/formats/xyztile/__init__.pyi +0 -157
  67. aspose/gis/geometries/__init__.pyi +0 -15972
  68. aspose/gis/geotools/__init__.pyi +0 -548
  69. aspose/gis/geotools/extensions/__init__.pyi +0 -109
  70. aspose/gis/geotools/layersmap/__init__.pyi +0 -313
  71. aspose/gis/geotools/mapbuilder/__init__.pyi +0 -143
  72. aspose/gis/geotools/wayanalyzer/__init__.pyi +0 -189
  73. aspose/gis/imagemetadata/__init__.pyi +0 -299
  74. aspose/gis/indexing/__init__.pyi +0 -105
  75. aspose/gis/indexing/bplustree/__init__.pyi +0 -120
  76. aspose/gis/indexing/qixtree/__init__.pyi +0 -123
  77. aspose/gis/indexing/rtree/__init__.pyi +0 -155
  78. aspose/gis/labeling/__init__.pyi +0 -237
  79. aspose/gis/labeling/line/__init__.pyi +0 -281
  80. aspose/gis/painting/__init__.pyi +0 -792
  81. aspose/gis/projections/__init__.pyi +0 -274
  82. aspose/gis/py.typed +0 -0
  83. aspose/gis/raster/__init__.pyi +0 -588
  84. aspose/gis/raster/web/__init__.pyi +0 -135
  85. aspose/gis/relationship/__init__.pyi +0 -93
  86. aspose/gis/relationship/joins/__init__.pyi +0 -163
  87. aspose/gis/rendering/__init__.pyi +0 -574
  88. aspose/gis/rendering/colorizers/__init__.pyi +0 -204
  89. aspose/gis/rendering/formats/__init__.pyi +0 -93
  90. aspose/gis/rendering/formats/bmp/__init__.pyi +0 -113
  91. aspose/gis/rendering/formats/jpeg/__init__.pyi +0 -113
  92. aspose/gis/rendering/formats/png/__init__.pyi +0 -113
  93. aspose/gis/rendering/formats/svg/__init__.pyi +0 -113
  94. aspose/gis/rendering/labelings/__init__.pyi +0 -418
  95. aspose/gis/rendering/sld/__init__.pyi +0 -111
  96. aspose/gis/rendering/symbolizers/__init__.pyi +0 -884
  97. aspose/gis/spatialreferencing/__init__.pyi +0 -3007
  98. aspose/gis/topology/__init__.pyi +0 -344
  99. aspose/gis/topology/algorithms/__init__.pyi +0 -100
  100. aspose/gis/topology/buffer/__init__.pyi +0 -216
  101. aspose/gis/topology/graph/__init__.pyi +0 -340
  102. aspose/pycore/py.typed +0 -0
  103. aspose/pydrawing/design.pyi +0 -24
  104. aspose/pydrawing/drawing2d.pyi +0 -1324
  105. aspose/pydrawing/imaging.pyi +0 -1988
  106. aspose/pydrawing/printing.pyi +0 -995
  107. aspose/pydrawing/py.typed +0 -0
  108. aspose/pydrawing/text.pyi +0 -75
  109. aspose/pyreflection/py.typed +0 -0
  110. {aspose_gis_net-25.8.0.dist-info → aspose_gis_net-25.9.0.dist-info}/WHEEL +0 -0
  111. {aspose_gis_net-25.8.0.dist-info → aspose_gis_net-25.9.0.dist-info}/entry_points.txt +0 -0
  112. {aspose_gis_net-25.8.0.dist-info → aspose_gis_net-25.9.0.dist-info}/top_level.txt +0 -0
@@ -1,1071 +0,0 @@
1
- from typing import List, Optional, Dict, Iterable, Any, overload
2
- import io
3
- import collections.abc
4
- from collections.abc import Sequence
5
- from datetime import datetime
6
- from aspose.pyreflection import Type
7
- import aspose.pycore
8
- import aspose.pydrawing
9
- from uuid import UUID
10
- import aspose.gis
11
- import aspose.gis.common
12
- import aspose.gis.common.formats
13
- import aspose.gis.common.formats.dbase
14
- import aspose.gis.common.formats.gdbtable
15
- import aspose.gis.common.formats.mapinfo
16
- import aspose.gis.common.formats.mapinfo.graphicalobjects
17
- import aspose.gis.common.formats.mapinfo.interchangeformat
18
- import aspose.gis.common.formats.mapinfo.styling
19
- import aspose.gis.common.formats.mapinfo.tabformat
20
- import aspose.gis.common.formats.mapinfo.tabformat.map
21
- import aspose.gis.common.formats.wkb
22
- import aspose.gis.common.formats.wkt
23
- import aspose.gis.common.formats.xml
24
- import aspose.gis.common.io
25
- import aspose.gis.epsg
26
- import aspose.gis.formats
27
- import aspose.gis.formats.bmpw
28
- import aspose.gis.formats.csv
29
- import aspose.gis.formats.database
30
- import aspose.gis.formats.database.dataediting
31
- import aspose.gis.formats.database.fromdefinition
32
- import aspose.gis.formats.esriascii
33
- import aspose.gis.formats.esrijson
34
- import aspose.gis.formats.filegdb
35
- import aspose.gis.formats.gdal
36
- import aspose.gis.formats.geojson
37
- import aspose.gis.formats.geojsonseq
38
- import aspose.gis.formats.geopackage
39
- import aspose.gis.formats.geotiff
40
- import aspose.gis.formats.gml
41
- import aspose.gis.formats.gpx
42
- import aspose.gis.formats.infile
43
- import aspose.gis.formats.inmemory
44
- import aspose.gis.formats.jpegw
45
- import aspose.gis.formats.kml
46
- import aspose.gis.formats.kml.specificfields
47
- import aspose.gis.formats.kml.styles
48
- import aspose.gis.formats.mapinfointerchange
49
- import aspose.gis.formats.mapinfotab
50
- import aspose.gis.formats.osmxml
51
- import aspose.gis.formats.pngw
52
- import aspose.gis.formats.postgis
53
- import aspose.gis.formats.shapefile
54
- import aspose.gis.formats.sqlserver
55
- import aspose.gis.formats.tiffw
56
- import aspose.gis.formats.topojson
57
- import aspose.gis.formats.worldfile
58
- import aspose.gis.formats.xyztile
59
- import aspose.gis.geometries
60
- import aspose.gis.geotools
61
- import aspose.gis.geotools.extensions
62
- import aspose.gis.geotools.layersmap
63
- import aspose.gis.geotools.mapbuilder
64
- import aspose.gis.geotools.wayanalyzer
65
- import aspose.gis.imagemetadata
66
- import aspose.gis.indexing
67
- import aspose.gis.indexing.bplustree
68
- import aspose.gis.indexing.qixtree
69
- import aspose.gis.indexing.rtree
70
- import aspose.gis.labeling
71
- import aspose.gis.labeling.line
72
- import aspose.gis.painting
73
- import aspose.gis.projections
74
- import aspose.gis.raster
75
- import aspose.gis.raster.web
76
- import aspose.gis.relationship
77
- import aspose.gis.relationship.joins
78
- import aspose.gis.rendering
79
- import aspose.gis.rendering.colorizers
80
- import aspose.gis.rendering.formats
81
- import aspose.gis.rendering.formats.bmp
82
- import aspose.gis.rendering.formats.jpeg
83
- import aspose.gis.rendering.formats.png
84
- import aspose.gis.rendering.formats.svg
85
- import aspose.gis.rendering.labelings
86
- import aspose.gis.rendering.sld
87
- import aspose.gis.rendering.symbolizers
88
- import aspose.gis.spatialreferencing
89
- import aspose.gis.topology
90
- import aspose.gis.topology.algorithms
91
- import aspose.gis.topology.buffer
92
- import aspose.gis.topology.graph
93
-
94
- class KmlDriver(aspose.gis.FileDriver):
95
- '''A driver for the KML format'''
96
-
97
- @overload
98
- def open_layer(self, path : str, options : aspose.gis.formats.kml.KmlOptions) -> aspose.gis.VectorLayer:
99
- '''Opens a layer for reading.
100
-
101
- :param path: Path to the file.
102
- :param options: Driver-specific options.
103
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
104
- raise NotImplementedError()
105
-
106
- @overload
107
- def open_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
108
- '''Opens a layer for reading.
109
-
110
- :param path: Path to the file.
111
- :param options: Driver-specific options.
112
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
113
- raise NotImplementedError()
114
-
115
- @overload
116
- def open_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.formats.kml.KmlOptions) -> aspose.gis.VectorLayer:
117
- '''Opens a layer for reading.
118
-
119
- :param path: Path to the file.
120
- :param options: Driver-specific options.
121
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
122
- raise NotImplementedError()
123
-
124
- @overload
125
- def open_layer(self, path : str) -> aspose.gis.VectorLayer:
126
- '''Opens the layer for reading.
127
-
128
- :param path: Path to the file.
129
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
130
- raise NotImplementedError()
131
-
132
- @overload
133
- def open_layer(self, path : aspose.gis.AbstractPath) -> aspose.gis.VectorLayer:
134
- '''Opens the layer for reading.
135
-
136
- :param path: Path to the file.
137
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
138
- raise NotImplementedError()
139
-
140
- @overload
141
- def open_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
142
- '''Opens the layer for reading.
143
-
144
- :param path: Path to the file.
145
- :param options: Driver-specific options.
146
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
147
- raise NotImplementedError()
148
-
149
- @overload
150
- def create_layer(self, path : str, options : aspose.gis.formats.kml.KmlOptions) -> aspose.gis.VectorLayer:
151
- '''Creates a layer and opens it for adding new features.
152
-
153
- :param path: Path to the file.
154
- :param options: Driver-specific options.
155
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
156
- raise NotImplementedError()
157
-
158
- @overload
159
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.formats.kml.KmlOptions) -> aspose.gis.VectorLayer:
160
- '''Creates a layer and opens it for adding new features.
161
-
162
- :param path: Path to the file.
163
- :param options: Driver-specific options.
164
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
165
- raise NotImplementedError()
166
-
167
- @overload
168
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
169
- '''Creates a layer and opens it for adding new features.
170
-
171
- :param path: Path to the file.
172
- :param options: Driver-specific options.
173
- :param spatial_reference_system: Spatial reference system.
174
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
175
- raise NotImplementedError()
176
-
177
- @overload
178
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.formats.kml.KmlOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
179
- '''Creates a layer and opens it for adding new features.
180
-
181
- :param path: Path to the file.
182
- :param options: Driver-specific options.
183
- :param spatial_reference_system: Spatial reference system.
184
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
185
- raise NotImplementedError()
186
-
187
- @overload
188
- def create_layer(self, path : str) -> aspose.gis.VectorLayer:
189
- '''Creates the layer and opens it for appending.
190
-
191
- :param path: Path to the file.
192
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
193
- raise NotImplementedError()
194
-
195
- @overload
196
- def create_layer(self, path : aspose.gis.AbstractPath) -> aspose.gis.VectorLayer:
197
- '''Creates the layer and opens it for appending.
198
-
199
- :param path: Path to the file.
200
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
201
- raise NotImplementedError()
202
-
203
- @overload
204
- def create_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
205
- '''Creates the layer and opens it for appending.
206
-
207
- :param path: Path to the file.
208
- :param options: Driver-specific options.
209
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
210
- raise NotImplementedError()
211
-
212
- @overload
213
- def create_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
214
- '''Creates the layer and opens it for appending.
215
-
216
- :param path: Path to the file.
217
- :param options: Driver-specific options.
218
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
219
- raise NotImplementedError()
220
-
221
- @overload
222
- def create_layer(self, path : str, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
223
- '''Creates the layer and opens it for appending.
224
-
225
- :param path: Path to the file.
226
- :param spatial_reference_system: Spatial reference system.
227
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
228
- raise NotImplementedError()
229
-
230
- @overload
231
- def create_layer(self, path : aspose.gis.AbstractPath, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
232
- '''Creates the layer and opens it for appending.
233
-
234
- :param path: Path to the file.
235
- :param spatial_reference_system: Spatial reference system.
236
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
237
- raise NotImplementedError()
238
-
239
- @overload
240
- def create_layer(self, path : str, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
241
- '''Creates the layer and opens it for appending.
242
-
243
- :param path: Path to the file.
244
- :param options: Driver-specific options.
245
- :param spatial_reference_system: Spatial reference system.
246
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
247
- raise NotImplementedError()
248
-
249
- @overload
250
- def edit_layer(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
251
- '''Opens a layer for editing.
252
-
253
- :param path: Path to the file.
254
- :param options: Driver-specific options.
255
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
256
- raise NotImplementedError()
257
-
258
- @overload
259
- def edit_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
260
- '''Opens a layer for editing.
261
-
262
- :param path: Path to the file.
263
- :param options: Driver-specific options.
264
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
265
- raise NotImplementedError()
266
-
267
- @overload
268
- def open_dataset(self, path : str) -> aspose.gis.Dataset:
269
- '''Opens the dataset.
270
-
271
- :param path: Path to the dataset.
272
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
273
- raise NotImplementedError()
274
-
275
- @overload
276
- def open_dataset(self, path : aspose.gis.AbstractPath) -> aspose.gis.Dataset:
277
- '''Opens the dataset.
278
-
279
- :param path: Path to the dataset.
280
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
281
- raise NotImplementedError()
282
-
283
- @overload
284
- def open_dataset(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
285
- '''Opens the dataset.
286
-
287
- :param path: Path to the dataset.
288
- :param options: Driver-specific options.
289
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
290
- raise NotImplementedError()
291
-
292
- @overload
293
- def open_dataset(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
294
- '''Opens the dataset.
295
-
296
- :param path: Path to the dataset.
297
- :param options: Driver-specific options.
298
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
299
- raise NotImplementedError()
300
-
301
- @overload
302
- def create_dataset(self, path : str) -> aspose.gis.Dataset:
303
- '''Creates a dataset.
304
-
305
- :param path: Path to the dataset.
306
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
307
- raise NotImplementedError()
308
-
309
- @overload
310
- def create_dataset(self, path : aspose.gis.AbstractPath) -> aspose.gis.Dataset:
311
- '''Creates a dataset.
312
-
313
- :param path: Path to the dataset.
314
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
315
- raise NotImplementedError()
316
-
317
- @overload
318
- def create_dataset(self, path : str, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
319
- '''Creates a dataset.
320
-
321
- :param path: Path to the dataset.
322
- :param options: Driver-specific options.
323
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
324
- raise NotImplementedError()
325
-
326
- @overload
327
- def create_dataset(self, path : aspose.gis.AbstractPath, options : aspose.gis.DriverOptions) -> aspose.gis.Dataset:
328
- '''Creates a dataset.
329
-
330
- :param path: Path to the dataset.
331
- :param options: Driver-specific options.
332
- :returns: An instance of :py:class:`aspose.gis.Dataset`.'''
333
- raise NotImplementedError()
334
-
335
- def supports_spatial_reference_system(self, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> bool:
336
- '''Determines, whether specified spatial reference system is supported by the driver.
337
-
338
- :param spatial_reference_system: Spatial reference system.
339
- :returns: Boolean value, indicating whether specified spatial reference system is supported by the driver.'''
340
- raise NotImplementedError()
341
-
342
- def open_as_kml_layer(self, path : aspose.gis.AbstractPath, options : aspose.gis.formats.kml.KmlOptions) -> aspose.gis.formats.kml.KmlLayer:
343
- '''Opens a Kml layer for reading.
344
-
345
- :param path: Path to the file.
346
- :param options: Driver-specific options.
347
- :returns: KmlLayer with specific fields'''
348
- raise NotImplementedError()
349
-
350
- @property
351
- def can_create_layers(self) -> bool:
352
- '''Gets a value indicating whether this driver can create vector layers.'''
353
- raise NotImplementedError()
354
-
355
- @property
356
- def can_open_layers(self) -> bool:
357
- '''Gets a value indicating whether this driver can open vector layers.'''
358
- raise NotImplementedError()
359
-
360
- @property
361
- def can_open_datasets(self) -> bool:
362
- '''Gets a value indicating whether this driver can open datasets.'''
363
- raise NotImplementedError()
364
-
365
- @property
366
- def can_create_datasets(self) -> bool:
367
- '''Gets a value indicating whether this driver can create datasets.'''
368
- raise NotImplementedError()
369
-
370
-
371
- class KmlLayer(aspose.gis.VectorLayer):
372
- '''Represents a Kml layer with non-destructive behavior that supports read and writing of features and attributes at one time.
373
- A Kml layer is a collection of geographic features, stored in a file.'''
374
-
375
- @overload
376
- def where_intersects(self, sequence : aspose.gis.FeaturesSequence) -> aspose.gis.FeaturesSequence:
377
- '''Filters features based on the union of all geometries in other features sequence.
378
-
379
- :param sequence: Other features sequence.
380
- :returns: Features that intersect with the union of all geometries in other features sequence.'''
381
- raise NotImplementedError()
382
-
383
- @overload
384
- def where_intersects(self, geometry : aspose.gis.geometries.IGeometry) -> aspose.gis.FeaturesSequence:
385
- '''Filters features based on the provided geometry.
386
-
387
- :param geometry: Filter geometry.
388
- :returns: Features that intersect with the provided geometry.'''
389
- raise NotImplementedError()
390
-
391
- @overload
392
- def where_intersects(self, extent : aspose.gis.Extent) -> aspose.gis.FeaturesSequence:
393
- '''Filters features based on the extent.
394
-
395
- :param extent: Filter extent.
396
- :returns: Features that intersect with the provided geometry.'''
397
- raise NotImplementedError()
398
-
399
- @overload
400
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver) -> None:
401
- '''Saves features sequence to layer.
402
-
403
- :param destination_path: Path to the output layer.
404
- :param destination_driver: The format driver for the output layer.'''
405
- raise NotImplementedError()
406
-
407
- @overload
408
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver) -> None:
409
- '''Saves features sequence to layer.
410
-
411
- :param destination_path: Path to the output layer.
412
- :param destination_driver: The format driver for the output layer.'''
413
- raise NotImplementedError()
414
-
415
- @overload
416
- def save_to(self, destination_path : str, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
417
- '''Saves features sequence to layer.
418
-
419
- :param destination_path: Path to the output layer.
420
- :param destination_driver: The format driver for the output layer.
421
- :param options: Options for the saving procedure.'''
422
- raise NotImplementedError()
423
-
424
- @overload
425
- def save_to(self, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver, options : aspose.gis.SavingOptions) -> None:
426
- '''Saves features sequence to layer.
427
-
428
- :param destination_path: Path to the output layer.
429
- :param destination_driver: The format driver for the output layer.
430
- :param options: Options for the saving procedure.'''
431
- raise NotImplementedError()
432
-
433
- @overload
434
- @staticmethod
435
- def open(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
436
- '''Open the layer for reading.
437
-
438
- :param path: Path to the file.
439
- :param driver: Driver to use.
440
- :returns: A read-only layer.'''
441
- raise NotImplementedError()
442
-
443
- @overload
444
- @staticmethod
445
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
446
- '''Open the layer for reading.
447
-
448
- :param path: Path to the file.
449
- :param driver: Driver to use.
450
- :returns: A read-only layer.'''
451
- raise NotImplementedError()
452
-
453
- @overload
454
- @staticmethod
455
- def open(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
456
- '''Open the layer for reading.
457
-
458
- :param path: Path to the file.
459
- :param driver: Driver to use.
460
- :param options: Driver-specific options.
461
- :returns: A read-only layer.'''
462
- raise NotImplementedError()
463
-
464
- @overload
465
- @staticmethod
466
- def open(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
467
- '''Open the layer for reading.
468
-
469
- :param path: Path to the file.
470
- :param driver: Driver to use.
471
- :param options: Driver-specific options.
472
- :returns: A read-only layer.'''
473
- raise NotImplementedError()
474
-
475
- @overload
476
- @staticmethod
477
- def create(path : str, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
478
- '''Creates the layer and opens it for adding new features.
479
-
480
- :param path: Path to the file.
481
- :param driver: Driver to use.
482
- :returns: A write-only layer.'''
483
- raise NotImplementedError()
484
-
485
- @overload
486
- @staticmethod
487
- def create(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
488
- '''Creates the layer and opens it for adding new features.
489
-
490
- :param path: Path to the file.
491
- :param driver: Driver to use.
492
- :param options: Driver-specific options.
493
- :returns: A write-only layer.'''
494
- raise NotImplementedError()
495
-
496
- @overload
497
- @staticmethod
498
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver) -> aspose.gis.VectorLayer:
499
- '''Creates the layer and opens it for adding new features.
500
-
501
- :param path: Path to the file.
502
- :param driver: Driver to use.
503
- :returns: A write-only layer.'''
504
- raise NotImplementedError()
505
-
506
- @overload
507
- @staticmethod
508
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions) -> aspose.gis.VectorLayer:
509
- '''Creates the layer and opens it for adding new features.
510
-
511
- :param path: Path to the file.
512
- :param driver: Driver to use.
513
- :param options: Driver-specific options.
514
- :returns: A write-only layer.'''
515
- raise NotImplementedError()
516
-
517
- @overload
518
- @staticmethod
519
- def create(path : str, driver : aspose.gis.FileDriver, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
520
- '''Creates the layer and opens it for appending.
521
-
522
- :param path: Path to the file.
523
- :param driver: Driver to use.
524
- :param spatial_reference_system: Spatial reference system.
525
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
526
- raise NotImplementedError()
527
-
528
- @overload
529
- @staticmethod
530
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
531
- '''Creates the layer and opens it for appending.
532
-
533
- :param path: Path to the file.
534
- :param driver: Driver to use.
535
- :param spatial_reference_system: Spatial reference system.
536
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
537
- raise NotImplementedError()
538
-
539
- @overload
540
- @staticmethod
541
- def create(path : str, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
542
- '''Creates the layer and opens it for appending.
543
-
544
- :param path: Path to the file.
545
- :param driver: Driver to use.
546
- :param options: Driver-specific options.
547
- :param spatial_reference_system: Spatial reference system.
548
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
549
- raise NotImplementedError()
550
-
551
- @overload
552
- @staticmethod
553
- def create(path : aspose.gis.AbstractPath, driver : aspose.gis.FileDriver, options : aspose.gis.DriverOptions, spatial_reference_system : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> aspose.gis.VectorLayer:
554
- '''Creates the layer and opens it for appending.
555
-
556
- :param path: Path to the file.
557
- :param driver: Driver to use.
558
- :param options: Driver-specific options.
559
- :param spatial_reference_system: Spatial reference system.
560
- :returns: An instance of :py:class:`aspose.gis.VectorLayer`.'''
561
- raise NotImplementedError()
562
-
563
- @overload
564
- @staticmethod
565
- def convert(source_path : str, source_driver : aspose.gis.FileDriver, destination_path : str, destination_driver : aspose.gis.FileDriver) -> None:
566
- '''Convert a layer to a different format.
567
-
568
- :param source_path: Path to the layer that will be converted.
569
- :param source_driver: The format driver for the source layer.
570
- :param destination_path: Path to the layer that will created as a result of conversion.
571
- :param destination_driver: The format driver for the destination layer.'''
572
- raise NotImplementedError()
573
-
574
- @overload
575
- @staticmethod
576
- def convert(source_path : aspose.gis.AbstractPath, source_driver : aspose.gis.FileDriver, destination_path : aspose.gis.AbstractPath, destination_driver : aspose.gis.FileDriver) -> None:
577
- '''Convert a layer to a different format.
578
-
579
- :param source_path: Path to the layer that will be converted.
580
- :param source_driver: The format driver for the source layer.
581
- :param destination_path: Path to the layer that will created as a result of conversion.
582
- :param destination_driver: The format driver for the destination layer.'''
583
- raise NotImplementedError()
584
-
585
- @overload
586
- @staticmethod
587
- def convert(source_path : str, source_driver : aspose.gis.FileDriver, destination_path : str, destination_driver : aspose.gis.FileDriver, options : aspose.gis.ConversionOptions) -> None:
588
- '''Convert a layer to a different format.
589
-
590
- :param source_path: Path to the layer that will be converted.
591
- :param source_driver: The format driver for the source layer.
592
- :param destination_path: Path to the layer that will created as a result of conversion.
593
- :param destination_driver: The format driver for the destination layer.
594
- :param options: Options for the conversion procedure.'''
595
- raise NotImplementedError()
596
-
597
- @overload
598
- @staticmethod
599
- 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:
600
- '''Convert a layer to a different format.
601
-
602
- :param source_path: Path to the layer that will be converted.
603
- :param source_driver: The format driver for the source layer.
604
- :param destination_path: Path to the layer that will created as a result of conversion.
605
- :param destination_driver: The format driver for the destination layer.
606
- :param options: Options for the conversion procedure.'''
607
- raise NotImplementedError()
608
-
609
- @overload
610
- def copy_attributes(self, features_sequence : aspose.gis.FeaturesSequence) -> None:
611
- '''Copies attributes of other :py:class:`aspose.gis.VectorLayer` to this one.
612
-
613
- :param features_sequence: The features sequence to copy attributes from.'''
614
- raise NotImplementedError()
615
-
616
- @overload
617
- def copy_attributes(self, features_sequence : aspose.gis.FeaturesSequence, converter : aspose.gis.IAttributesConverter) -> None:
618
- '''Copies attributes of other :py:class:`aspose.gis.VectorLayer` to this one.
619
-
620
- :param features_sequence: The features sequence to copy attributes from.
621
- :param converter: An instance of custom :py:class:`aspose.gis.IAttributesConverter` that will process the attributes one by one.'''
622
- raise NotImplementedError()
623
-
624
- @overload
625
- def add(self, feature : aspose.gis.Feature) -> None:
626
- '''Adds a new feature to the layer, if supported by the :py:class:`aspose.gis.VectorLayer`\'s :py:attr:`aspose.gis.VectorLayer.driver`.
627
-
628
- :param feature: The feature to add.'''
629
- raise NotImplementedError()
630
-
631
- @overload
632
- def add(self, feature : aspose.gis.Feature, style : aspose.gis.IFeatureStyle) -> None:
633
- '''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`.
634
-
635
- :param feature: The feature to add.
636
- :param style: The feature style. Use to indicate missing style.'''
637
- raise NotImplementedError()
638
-
639
- @overload
640
- def nearest_to(self, x : float, y : float) -> aspose.gis.Feature:
641
- '''Gets the nearest feature to the provided coordinate.
642
-
643
- :param x: X of the coordinate.
644
- :param y: Y of the coordinate.
645
- :returns: The nearest feature to the provided coordinate.'''
646
- raise NotImplementedError()
647
-
648
- @overload
649
- def nearest_to(self, point : aspose.gis.geometries.IPoint) -> aspose.gis.Feature:
650
- '''Gets the nearest feature to the provided point.
651
-
652
- :param point: The point.
653
- :returns: The nearest feature to the provided point.'''
654
- raise NotImplementedError()
655
-
656
- @overload
657
- def use_attributes_index(self, index_path : str, attribute_name : str, force_rebuild : bool) -> None:
658
- '''Loads attribute index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.WhereGreater``1`.
659
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
660
-
661
- :param index_path: Path to the index file.
662
- :param attribute_name: Name of the attribute to build index on.
663
- :param force_rebuild: Whether to recreate index even if it already exists.'''
664
- raise NotImplementedError()
665
-
666
- @overload
667
- def use_attributes_index(self, index_path : aspose.gis.AbstractPath, attribute_name : str, force_rebuild : bool) -> None:
668
- '''Loads attribute index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.WhereGreater``1`.
669
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
670
-
671
- :param index_path: Path to the index file.
672
- :param attribute_name: Name of the attribute to build index on.
673
- :param force_rebuild: Whether to recreate index even if it already exists.'''
674
- raise NotImplementedError()
675
-
676
- @overload
677
- def use_spatial_index(self, index_path : str, force_rebuild : bool) -> None:
678
- '''Loads spatial index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.where_intersects`
679
- and :py:func:`aspose.gis.VectorLayer.nearest_to`.
680
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
681
-
682
- :param index_path: Path to the index file.
683
- :param force_rebuild: Whether to recreate index even if it already exists.'''
684
- raise NotImplementedError()
685
-
686
- @overload
687
- def use_spatial_index(self, index_path : aspose.gis.AbstractPath, force_rebuild : bool) -> None:
688
- '''Loads spatial index to speed up filtering by attributes value in filter methods like :py:func:`aspose.gis.FeaturesSequence.where_intersects`
689
- and :py:func:`aspose.gis.VectorLayer.nearest_to`.
690
- If index does not exist creates it first. Use ``forceRebuild`` to force index recreation.
691
-
692
- :param index_path: Path to the index file.
693
- :param force_rebuild: Whether to recreate index even if it already exists.'''
694
- raise NotImplementedError()
695
-
696
- def get_extent(self) -> aspose.gis.Extent:
697
- '''Gets a spatial extent of this layer.
698
-
699
- :returns: A spatial extent of this layer.'''
700
- raise NotImplementedError()
701
-
702
- def where_greater(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
703
- '''Selects features with attribute value greater than the provided value.
704
-
705
- :param attribute_name: Attribute to filter by.
706
- :param value: Value to compare against.
707
- :returns: Features with attribute value greater than the provided value.'''
708
- raise NotImplementedError()
709
-
710
- def where_greater_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
711
- '''Selects features with attribute value greater or equal to the provided value.
712
-
713
- :param attribute_name: Attribute to filter by.
714
- :param value: Value to compare against.
715
- :returns: Features with attribute value greater or equal to the provided value.'''
716
- raise NotImplementedError()
717
-
718
- def where_smaller(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
719
- '''Selects features with attribute value smaller than the provided value.
720
-
721
- :param attribute_name: Attribute to filter by.
722
- :param value: Value to compare against.
723
- :returns: Features with attribute value smaller than the provided value.'''
724
- raise NotImplementedError()
725
-
726
- def where_smaller_or_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
727
- '''Selects features with attribute value smaller or equal to the provided value.
728
-
729
- :param attribute_name: Attribute to filter by.
730
- :param value: Value to compare against.
731
- :returns: Features with attribute value smaller or equal to the provided value.'''
732
- raise NotImplementedError()
733
-
734
- def where_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
735
- '''Selects features with attribute value equal to the provided value.
736
-
737
- :param attribute_name: Attribute to filter by.
738
- :param value: Value to compare against.
739
- :returns: Features with attribute value equal to the provided value.'''
740
- raise NotImplementedError()
741
-
742
- def where_not_equal(self, attribute_name : str, value : Any) -> aspose.gis.FeaturesSequence:
743
- '''Selects features with attribute value not equal to the provided value.
744
-
745
- :param attribute_name: Attribute to filter by.
746
- :param value: Value to compare against.
747
- :returns: Features with attribute value not equal to the provided value.'''
748
- raise NotImplementedError()
749
-
750
- def where_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
751
- '''Selects features with attribute equal to null.
752
-
753
- :param attribute_name: Attribute to filter by.
754
- :returns: Features with attribute value equal to null.'''
755
- raise NotImplementedError()
756
-
757
- def where_not_null(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
758
- '''Selects features with attribute not equal to null.
759
-
760
- :param attribute_name: Attribute to filter by.
761
- :returns: Features with attribute value not equal to null.'''
762
- raise NotImplementedError()
763
-
764
- def where_set(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
765
- '''Selects features with attribute set.
766
-
767
- :param attribute_name: Attribute to filter by.
768
- :returns: Features with set attribute value.'''
769
- raise NotImplementedError()
770
-
771
- def where_unset(self, attribute_name : str) -> aspose.gis.FeaturesSequence:
772
- '''Selects features where specified attribute is not set.
773
-
774
- :param attribute_name: Attribute to filter by.
775
- :returns: Features with unset attribute value.'''
776
- raise NotImplementedError()
777
-
778
- def split_to(self) -> List[aspose.gis.VectorLayer]:
779
- '''Split features by geometry type.
780
-
781
- :returns: Layers with the same type of geometry.'''
782
- raise NotImplementedError()
783
-
784
- def construct_feature(self) -> aspose.gis.Feature:
785
- '''Creates (but does not add to the layer) a new feature with attributes matching the collection of attributes of this layer.
786
- When done with setting data for the feature, use :py:func:`aspose.gis.VectorLayer.add` to add the feature to the layer.
787
-
788
- :returns: A new feature.'''
789
- raise NotImplementedError()
790
-
791
- def remove_at(self, index : int) -> None:
792
- '''Remove the :py:class:`aspose.gis.Feature` at the specified index.
793
-
794
- :param index: The index of the feature.'''
795
- raise NotImplementedError()
796
-
797
- def replace_at(self, index : int, feature : aspose.gis.Feature) -> None:
798
- '''Replace the :py:class:`aspose.gis.Feature` at the specified index.
799
-
800
- :param index: The index of the feature.
801
- :param feature: The feature to set.'''
802
- raise NotImplementedError()
803
-
804
- def join(self, layer : aspose.gis.VectorLayer, options : aspose.gis.relationship.joins.JoinOptions) -> aspose.gis.VectorLayer:
805
- '''Joins a layer to the current layer.
806
-
807
- :param layer: A layer to join.
808
- :param options: Join parameters.
809
- :returns: A new layer as a result of join two layers.'''
810
- raise NotImplementedError()
811
-
812
- def join_by_geometry(self, layer : aspose.gis.VectorLayer, options : aspose.gis.relationship.joins.JoinByGeometryOptions) -> aspose.gis.VectorLayer:
813
- '''Joins a layer to the current layer by geometry.
814
-
815
- :param layer: A layer to join.
816
- :param options: Join parameters.
817
- :returns: A new layer as a result of join two layers.'''
818
- raise NotImplementedError()
819
-
820
- def as_in_memory(self) -> aspose.gis.VectorLayer:
821
- '''Create a layer clon as the InMemory format.
822
-
823
- :returns: The InMemory Layer.'''
824
- raise NotImplementedError()
825
-
826
- @property
827
- def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
828
- '''Get spatial reference system of this layer. For KML this is always WGS84.'''
829
- raise NotImplementedError()
830
-
831
- @property
832
- def attributes(self) -> aspose.gis.BaseFeatureAttributeCollection:
833
- '''Gets the collection of custom attributes for features in this :py:class:`aspose.gis.VectorLayer`.'''
834
- raise NotImplementedError()
835
-
836
- @property
837
- def count(self) -> int:
838
- '''Gets the number of features in this layer.'''
839
- raise NotImplementedError()
840
-
841
- @property
842
- def geometry_type(self) -> aspose.gis.geometries.GeometryType:
843
- '''Gets the type of the geometry for the layer.'''
844
- raise NotImplementedError()
845
-
846
- @property
847
- def driver(self) -> aspose.gis.Driver:
848
- '''Gets the :py:attr:`aspose.gis.formats.kml.KmlLayer.driver` that instantiated this layer.'''
849
- raise NotImplementedError()
850
-
851
- @property
852
- def region_list(self) -> List[aspose.gis.formats.kml.specificfields.KmlRegionInfo]:
853
- '''List of KmlRegionInfo from Region nodes'''
854
- raise NotImplementedError()
855
-
856
- @property
857
- def ground_overlay_list(self) -> List[aspose.gis.formats.kml.specificfields.KmlGroundOverlayInfo]:
858
- '''List of KmlGroundOverlayInfo from GroundOverlay nodes'''
859
- raise NotImplementedError()
860
-
861
- @property
862
- def network_link_list(self) -> List[aspose.gis.formats.kml.specificfields.KmlNetworkLinkInfo]:
863
- '''List of KmlNetworkLinkInfo from NetworkLink nodes'''
864
- raise NotImplementedError()
865
-
866
- @property
867
- def features(self) -> List[aspose.gis.Feature]:
868
- '''Gets the list features.'''
869
- raise NotImplementedError()
870
-
871
- def __getitem__(self, key : int) -> aspose.gis.Feature:
872
- '''Gets the :py:class:`aspose.gis.Feature` at the specified index.'''
873
- raise NotImplementedError()
874
-
875
-
876
- class KmlOptions(aspose.gis.DriverOptions):
877
- '''Driver-specific options for KML format.'''
878
-
879
- @property
880
- def validate_geometries_on_write(self) -> bool:
881
- '''Determines if geometries should be validated when they are added to the layer.
882
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
883
- 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.'''
884
- raise NotImplementedError()
885
-
886
- @validate_geometries_on_write.setter
887
- def validate_geometries_on_write(self, value : bool) -> None:
888
- '''Determines if geometries should be validated when they are added to the layer.
889
- If set to , :py:attr:`aspose.gis.geometries.Geometry.is_valid` is called for each
890
- 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.'''
891
- raise NotImplementedError()
892
-
893
- @property
894
- def write_polygons_as_lines(self) -> bool:
895
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
896
- raise NotImplementedError()
897
-
898
- @write_polygons_as_lines.setter
899
- def write_polygons_as_lines(self, value : bool) -> None:
900
- '''Determines if transformation of polygon or multipolygon to linestring is allowed. Defaults to .'''
901
- raise NotImplementedError()
902
-
903
- @property
904
- def create_midpoints(self) -> bool:
905
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
906
- raise NotImplementedError()
907
-
908
- @create_midpoints.setter
909
- def create_midpoints(self, value : bool) -> None:
910
- '''Determines if add a new point in the middle to each segment of geometry. Defaults to .'''
911
- raise NotImplementedError()
912
-
913
- @property
914
- def close_linear_ring(self) -> bool:
915
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
916
- raise NotImplementedError()
917
-
918
- @close_linear_ring.setter
919
- def close_linear_ring(self, value : bool) -> None:
920
- '''Determines if close a unclosed :py:attr:`aspose.gis.geometries.GeometryType.LINEAR_RING` in each geometry. Defaults to .'''
921
- raise NotImplementedError()
922
-
923
- @property
924
- def delete_near_points(self) -> bool:
925
- '''Determines if delete near points in each geometry. Defaults to .'''
926
- raise NotImplementedError()
927
-
928
- @delete_near_points.setter
929
- def delete_near_points(self, value : bool) -> None:
930
- '''Determines if delete near points in each geometry. Defaults to .'''
931
- raise NotImplementedError()
932
-
933
- @property
934
- def delete_near_points_distance(self) -> float:
935
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
936
- raise NotImplementedError()
937
-
938
- @delete_near_points_distance.setter
939
- def delete_near_points_distance(self, value : float) -> None:
940
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.delete_near_points`. Defaults to .'''
941
- raise NotImplementedError()
942
-
943
- @property
944
- def simplify_segments(self) -> bool:
945
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
946
- raise NotImplementedError()
947
-
948
- @simplify_segments.setter
949
- def simplify_segments(self, value : bool) -> None:
950
- '''Determines if delete points lying on the same segment in each geometry. Defaults to .'''
951
- raise NotImplementedError()
952
-
953
- @property
954
- def simplify_segments_distance(self) -> float:
955
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
956
- raise NotImplementedError()
957
-
958
- @simplify_segments_distance.setter
959
- def simplify_segments_distance(self, value : float) -> None:
960
- '''Determines distance for :py:attr:`aspose.gis.DriverOptions.simplify_segments`. Defaults to .'''
961
- raise NotImplementedError()
962
-
963
- @property
964
- def xy_precision_model(self) -> aspose.gis.PrecisionModel:
965
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
966
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
967
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
968
- raise NotImplementedError()
969
-
970
- @xy_precision_model.setter
971
- def xy_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
972
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to X and Y coordinates
973
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
974
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
975
- raise NotImplementedError()
976
-
977
- @property
978
- def z_precision_model(self) -> aspose.gis.PrecisionModel:
979
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
980
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
981
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
982
- raise NotImplementedError()
983
-
984
- @z_precision_model.setter
985
- def z_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
986
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to Z coordinate
987
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
988
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
989
- raise NotImplementedError()
990
-
991
- @property
992
- def m_precision_model(self) -> aspose.gis.PrecisionModel:
993
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
994
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
995
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
996
- raise NotImplementedError()
997
-
998
- @m_precision_model.setter
999
- def m_precision_model(self, value : aspose.gis.PrecisionModel) -> None:
1000
- '''A :py:class:`aspose.gis.PrecisionModel` that will be applied to M coordinate
1001
- when geometries are added to the :py:class:`aspose.gis.VectorLayer` or when they are read from the :py:class:`aspose.gis.VectorLayer`.
1002
- The default value is :py:attr:`aspose.gis.PrecisionModel.exact`.'''
1003
- raise NotImplementedError()
1004
-
1005
- @property
1006
- def linearization_tolerance(self) -> float:
1007
- '''A tolerance to use to linearize curve geometries.'''
1008
- raise NotImplementedError()
1009
-
1010
- @linearization_tolerance.setter
1011
- def linearization_tolerance(self, value : float) -> None:
1012
- '''A tolerance to use to linearize curve geometries.'''
1013
- raise NotImplementedError()
1014
-
1015
- @property
1016
- def symbol_to_replace_invalid_chars(self) -> str:
1017
- '''Determines which symbol will be used to replace invalid characters on reading.
1018
- Replacing is skipped if value is \'\0\'. By default value is \'\0\' char.'''
1019
- raise NotImplementedError()
1020
-
1021
- @symbol_to_replace_invalid_chars.setter
1022
- def symbol_to_replace_invalid_chars(self, value : str) -> None:
1023
- '''Determines which symbol will be used to replace invalid characters on reading.
1024
- Replacing is skipped if value is \'\0\'. By default value is \'\0\' char.'''
1025
- raise NotImplementedError()
1026
-
1027
- @property
1028
- def document_id(self) -> str:
1029
- '''Used to specified the id of the root \'Document\' node'''
1030
- raise NotImplementedError()
1031
-
1032
- @document_id.setter
1033
- def document_id(self, value : str) -> None:
1034
- '''Used to specified the id of the root \'Document\' node'''
1035
- raise NotImplementedError()
1036
-
1037
- @property
1038
- def auto_id(self) -> aspose.gis.AutoIds:
1039
- '''Auto-generate ids'''
1040
- raise NotImplementedError()
1041
-
1042
- @auto_id.setter
1043
- def auto_id(self, value : aspose.gis.AutoIds) -> None:
1044
- '''Auto-generate ids'''
1045
- raise NotImplementedError()
1046
-
1047
- @property
1048
- def altitude_mode(self) -> aspose.gis.formats.kml.AltitudeModes:
1049
- '''Allows you to specify the AltitudeModes to use for KML geometries'''
1050
- raise NotImplementedError()
1051
-
1052
- @altitude_mode.setter
1053
- def altitude_mode(self, value : aspose.gis.formats.kml.AltitudeModes) -> None:
1054
- '''Allows you to specify the AltitudeModes to use for KML geometries'''
1055
- raise NotImplementedError()
1056
-
1057
-
1058
- class AltitudeModes:
1059
- '''Altitude mode for KML geometries.'''
1060
-
1061
- NONE : AltitudeModes
1062
- '''Without altitude mode.'''
1063
- RELATIVE_TO_GROUND : AltitudeModes
1064
- '''Interprets the altitude as a value in meters above the ground.'''
1065
- CLAMP_TO_GROUND : AltitudeModes
1066
- '''For a camera, this setting also places the camera relativeToGround,
1067
- since putting the camera exactly at terrain height would mean that
1068
- the eye would intersect the terrain (and the view would be blocked).'''
1069
- ABSOLUTE : AltitudeModes
1070
- '''Interprets the altitude as a value in meters above sea level.'''
1071
-