aspose-gis-net 25.7.0__py3-none-manylinux1_x86_64.whl → 25.9.0__py3-none-manylinux1_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aspose-gis-net might be problematic. Click here for more details.
- aspose/assemblies/gis/Aspose.GIS.dll +0 -0
- aspose/assemblies/gis/Microsoft.Data.Sqlite.dll +0 -0
- aspose/assemblies/gis/SQLitePCLRaw.batteries_v2.dll +0 -0
- aspose/assemblies/gis/SQLitePCLRaw.core.dll +0 -0
- aspose/assemblies/gis/SQLitePCLRaw.provider.e_sqlite3.dll +0 -0
- aspose/assemblies/gis/WrpInterop.Aspose.Gis.dll +0 -0
- aspose/assemblies/gis/libe_sqlite3.so +0 -0
- aspose/gis/__init__.pyi +6 -2697
- aspose/gis.cpython-310-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-312-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-313-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-35m-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-36m-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-37m-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-38-x86_64-linux-gnu.so +0 -0
- aspose/gis.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pycore/__init__.pyi +55 -56
- aspose/pydrawing/__init__.pyi +7 -4089
- aspose/pyreflection/__init__.pyi +7 -11
- {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/METADATA +6 -3
- {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/RECORD +21 -109
- .__pyi_patched +0 -0
- aspose/gis/common/__init__.pyi +0 -1028
- aspose/gis/common/formats/__init__.pyi +0 -98
- aspose/gis/common/formats/dbase/__init__.pyi +0 -250
- aspose/gis/common/formats/gdbtable/__init__.pyi +0 -1022
- aspose/gis/common/formats/mapinfo/__init__.pyi +0 -347
- aspose/gis/common/formats/mapinfo/graphicalobjects/__init__.pyi +0 -662
- aspose/gis/common/formats/mapinfo/interchangeformat/__init__.pyi +0 -217
- aspose/gis/common/formats/mapinfo/styling/__init__.pyi +0 -163
- aspose/gis/common/formats/mapinfo/tabformat/__init__.pyi +0 -143
- aspose/gis/common/formats/mapinfo/tabformat/map/__init__.pyi +0 -430
- aspose/gis/common/formats/wkb/__init__.pyi +0 -120
- aspose/gis/common/formats/wkt/__init__.pyi +0 -420
- aspose/gis/common/formats/xml/__init__.pyi +0 -173
- aspose/gis/common/io/__init__.pyi +0 -290
- aspose/gis/epsg/__init__.pyi +0 -357
- aspose/gis/formats/__init__.pyi +0 -91
- aspose/gis/formats/bmpw/__init__.pyi +0 -134
- aspose/gis/formats/csv/__init__.pyi +0 -608
- aspose/gis/formats/database/__init__.pyi +0 -173
- aspose/gis/formats/database/dataediting/__init__.pyi +0 -105
- aspose/gis/formats/database/fromdefinition/__init__.pyi +0 -141
- aspose/gis/formats/esriascii/__init__.pyi +0 -292
- aspose/gis/formats/esrijson/__init__.pyi +0 -512
- aspose/gis/formats/filegdb/__init__.pyi +0 -722
- aspose/gis/formats/gdal/__init__.pyi +0 -478
- aspose/gis/formats/geojson/__init__.pyi +0 -620
- aspose/gis/formats/geojsonseq/__init__.pyi +0 -572
- aspose/gis/formats/geotiff/__init__.pyi +0 -292
- aspose/gis/formats/gml/__init__.pyi +0 -574
- aspose/gis/formats/gpx/__init__.pyi +0 -543
- aspose/gis/formats/infile/__init__.pyi +0 -582
- aspose/gis/formats/inmemory/__init__.pyi +0 -337
- aspose/gis/formats/jpegw/__init__.pyi +0 -134
- aspose/gis/formats/kml/__init__.pyi +0 -556
- aspose/gis/formats/kml/styles/__init__.pyi +0 -636
- aspose/gis/formats/mapinfointerchange/__init__.pyi +0 -531
- aspose/gis/formats/mapinfotab/__init__.pyi +0 -530
- aspose/gis/formats/osmxml/__init__.pyi +0 -543
- aspose/gis/formats/pngw/__init__.pyi +0 -134
- aspose/gis/formats/postgis/__init__.pyi +0 -262
- aspose/gis/formats/shapefile/__init__.pyi +0 -511
- aspose/gis/formats/sqlserver/__init__.pyi +0 -248
- aspose/gis/formats/tiffw/__init__.pyi +0 -134
- aspose/gis/formats/topojson/__init__.pyi +0 -596
- aspose/gis/formats/worldfile/__init__.pyi +0 -134
- aspose/gis/formats/xyztile/__init__.pyi +0 -155
- aspose/gis/geometries/__init__.pyi +0 -15970
- aspose/gis/geotools/__init__.pyi +0 -546
- aspose/gis/geotools/extensions/__init__.pyi +0 -107
- aspose/gis/geotools/layersmap/__init__.pyi +0 -311
- aspose/gis/geotools/mapbuilder/__init__.pyi +0 -141
- aspose/gis/geotools/wayanalyzer/__init__.pyi +0 -187
- aspose/gis/imagemetadata/__init__.pyi +0 -297
- aspose/gis/indexing/__init__.pyi +0 -103
- aspose/gis/indexing/bplustree/__init__.pyi +0 -118
- aspose/gis/indexing/qixtree/__init__.pyi +0 -121
- aspose/gis/indexing/rtree/__init__.pyi +0 -153
- aspose/gis/labeling/__init__.pyi +0 -235
- aspose/gis/labeling/line/__init__.pyi +0 -279
- aspose/gis/painting/__init__.pyi +0 -790
- aspose/gis/projections/__init__.pyi +0 -272
- aspose/gis/py.typed +0 -0
- aspose/gis/raster/__init__.pyi +0 -586
- aspose/gis/raster/web/__init__.pyi +0 -127
- aspose/gis/relationship/__init__.pyi +0 -91
- aspose/gis/relationship/joins/__init__.pyi +0 -161
- aspose/gis/rendering/__init__.pyi +0 -572
- aspose/gis/rendering/colorizers/__init__.pyi +0 -202
- aspose/gis/rendering/formats/__init__.pyi +0 -91
- aspose/gis/rendering/formats/bmp/__init__.pyi +0 -111
- aspose/gis/rendering/formats/jpeg/__init__.pyi +0 -111
- aspose/gis/rendering/formats/png/__init__.pyi +0 -111
- aspose/gis/rendering/formats/svg/__init__.pyi +0 -111
- aspose/gis/rendering/labelings/__init__.pyi +0 -416
- aspose/gis/rendering/sld/__init__.pyi +0 -109
- aspose/gis/rendering/symbolizers/__init__.pyi +0 -882
- aspose/gis/spatialreferencing/__init__.pyi +0 -3005
- aspose/gis/topology/__init__.pyi +0 -342
- aspose/gis/topology/algorithms/__init__.pyi +0 -98
- aspose/gis/topology/buffer/__init__.pyi +0 -214
- aspose/gis/topology/graph/__init__.pyi +0 -338
- aspose/pycore/py.typed +0 -0
- aspose/pydrawing/design.pyi +0 -24
- aspose/pydrawing/drawing2d.pyi +0 -1324
- aspose/pydrawing/imaging.pyi +0 -1988
- aspose/pydrawing/printing.pyi +0 -995
- aspose/pydrawing/py.typed +0 -0
- aspose/pydrawing/text.pyi +0 -75
- aspose/pyreflection/py.typed +0 -0
- {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/WHEEL +0 -0
- {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/entry_points.txt +0 -0
- {aspose_gis_net-25.7.0.dist-info → aspose_gis_net-25.9.0.dist-info}/top_level.txt +0 -0
aspose/gis/raster/__init__.pyi
DELETED
|
@@ -1,586 +0,0 @@
|
|
|
1
|
-
from typing import List, Optional, Dict, Iterable, Any, overload
|
|
2
|
-
import io
|
|
3
|
-
import collections.abc
|
|
4
|
-
from collections.abc import Sequence
|
|
5
|
-
from datetime import datetime
|
|
6
|
-
from aspose.pyreflection import Type
|
|
7
|
-
import aspose.pycore
|
|
8
|
-
import aspose.pydrawing
|
|
9
|
-
from uuid import UUID
|
|
10
|
-
import aspose.gis
|
|
11
|
-
import aspose.gis.common
|
|
12
|
-
import aspose.gis.common.formats
|
|
13
|
-
import aspose.gis.common.formats.dbase
|
|
14
|
-
import aspose.gis.common.formats.gdbtable
|
|
15
|
-
import aspose.gis.common.formats.mapinfo
|
|
16
|
-
import aspose.gis.common.formats.mapinfo.graphicalobjects
|
|
17
|
-
import aspose.gis.common.formats.mapinfo.interchangeformat
|
|
18
|
-
import aspose.gis.common.formats.mapinfo.styling
|
|
19
|
-
import aspose.gis.common.formats.mapinfo.tabformat
|
|
20
|
-
import aspose.gis.common.formats.mapinfo.tabformat.map
|
|
21
|
-
import aspose.gis.common.formats.wkb
|
|
22
|
-
import aspose.gis.common.formats.wkt
|
|
23
|
-
import aspose.gis.common.formats.xml
|
|
24
|
-
import aspose.gis.common.io
|
|
25
|
-
import aspose.gis.epsg
|
|
26
|
-
import aspose.gis.formats
|
|
27
|
-
import aspose.gis.formats.bmpw
|
|
28
|
-
import aspose.gis.formats.csv
|
|
29
|
-
import aspose.gis.formats.database
|
|
30
|
-
import aspose.gis.formats.database.dataediting
|
|
31
|
-
import aspose.gis.formats.database.fromdefinition
|
|
32
|
-
import aspose.gis.formats.esriascii
|
|
33
|
-
import aspose.gis.formats.esrijson
|
|
34
|
-
import aspose.gis.formats.filegdb
|
|
35
|
-
import aspose.gis.formats.gdal
|
|
36
|
-
import aspose.gis.formats.geojson
|
|
37
|
-
import aspose.gis.formats.geojsonseq
|
|
38
|
-
import aspose.gis.formats.geotiff
|
|
39
|
-
import aspose.gis.formats.gml
|
|
40
|
-
import aspose.gis.formats.gpx
|
|
41
|
-
import aspose.gis.formats.infile
|
|
42
|
-
import aspose.gis.formats.inmemory
|
|
43
|
-
import aspose.gis.formats.jpegw
|
|
44
|
-
import aspose.gis.formats.kml
|
|
45
|
-
import aspose.gis.formats.kml.styles
|
|
46
|
-
import aspose.gis.formats.mapinfointerchange
|
|
47
|
-
import aspose.gis.formats.mapinfotab
|
|
48
|
-
import aspose.gis.formats.osmxml
|
|
49
|
-
import aspose.gis.formats.pngw
|
|
50
|
-
import aspose.gis.formats.postgis
|
|
51
|
-
import aspose.gis.formats.shapefile
|
|
52
|
-
import aspose.gis.formats.sqlserver
|
|
53
|
-
import aspose.gis.formats.tiffw
|
|
54
|
-
import aspose.gis.formats.topojson
|
|
55
|
-
import aspose.gis.formats.worldfile
|
|
56
|
-
import aspose.gis.formats.xyztile
|
|
57
|
-
import aspose.gis.geometries
|
|
58
|
-
import aspose.gis.geotools
|
|
59
|
-
import aspose.gis.geotools.extensions
|
|
60
|
-
import aspose.gis.geotools.layersmap
|
|
61
|
-
import aspose.gis.geotools.mapbuilder
|
|
62
|
-
import aspose.gis.geotools.wayanalyzer
|
|
63
|
-
import aspose.gis.imagemetadata
|
|
64
|
-
import aspose.gis.indexing
|
|
65
|
-
import aspose.gis.indexing.bplustree
|
|
66
|
-
import aspose.gis.indexing.qixtree
|
|
67
|
-
import aspose.gis.indexing.rtree
|
|
68
|
-
import aspose.gis.labeling
|
|
69
|
-
import aspose.gis.labeling.line
|
|
70
|
-
import aspose.gis.painting
|
|
71
|
-
import aspose.gis.projections
|
|
72
|
-
import aspose.gis.raster
|
|
73
|
-
import aspose.gis.raster.web
|
|
74
|
-
import aspose.gis.relationship
|
|
75
|
-
import aspose.gis.relationship.joins
|
|
76
|
-
import aspose.gis.rendering
|
|
77
|
-
import aspose.gis.rendering.colorizers
|
|
78
|
-
import aspose.gis.rendering.formats
|
|
79
|
-
import aspose.gis.rendering.formats.bmp
|
|
80
|
-
import aspose.gis.rendering.formats.jpeg
|
|
81
|
-
import aspose.gis.rendering.formats.png
|
|
82
|
-
import aspose.gis.rendering.formats.svg
|
|
83
|
-
import aspose.gis.rendering.labelings
|
|
84
|
-
import aspose.gis.rendering.sld
|
|
85
|
-
import aspose.gis.rendering.symbolizers
|
|
86
|
-
import aspose.gis.spatialreferencing
|
|
87
|
-
import aspose.gis.topology
|
|
88
|
-
import aspose.gis.topology.algorithms
|
|
89
|
-
import aspose.gis.topology.buffer
|
|
90
|
-
import aspose.gis.topology.graph
|
|
91
|
-
|
|
92
|
-
class IRasterBand:
|
|
93
|
-
'''Contains metadata about a raster band.'''
|
|
94
|
-
|
|
95
|
-
@property
|
|
96
|
-
def data_type(self) -> aspose.gis.raster.BandTypes:
|
|
97
|
-
'''Gets type of values stored in each cell.'''
|
|
98
|
-
raise NotImplementedError()
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
class IRasterCellSize:
|
|
102
|
-
'''Describes the size, scale and rotation of a raster cell on a map.'''
|
|
103
|
-
|
|
104
|
-
@property
|
|
105
|
-
def height(self) -> float:
|
|
106
|
-
'''Gets the cell or pixel height, always positive.'''
|
|
107
|
-
raise NotImplementedError()
|
|
108
|
-
|
|
109
|
-
@property
|
|
110
|
-
def width(self) -> float:
|
|
111
|
-
'''Gets the cell or pixel width, always positive.'''
|
|
112
|
-
raise NotImplementedError()
|
|
113
|
-
|
|
114
|
-
@property
|
|
115
|
-
def scale_x(self) -> float:
|
|
116
|
-
'''Gets x-component of the cell or pixel width (x-scale).'''
|
|
117
|
-
raise NotImplementedError()
|
|
118
|
-
|
|
119
|
-
@property
|
|
120
|
-
def scale_y(self) -> float:
|
|
121
|
-
'''Gets y-component of the cell or pixel height (y-scale), typically negative.'''
|
|
122
|
-
raise NotImplementedError()
|
|
123
|
-
|
|
124
|
-
@property
|
|
125
|
-
def skew_x(self) -> float:
|
|
126
|
-
'''Gets x-component of the cell or pixel height (x-skew).'''
|
|
127
|
-
raise NotImplementedError()
|
|
128
|
-
|
|
129
|
-
@property
|
|
130
|
-
def skew_y(self) -> float:
|
|
131
|
-
'''Gets y-component of the cell or pixel width (y-skew).'''
|
|
132
|
-
raise NotImplementedError()
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
class IRasterValues:
|
|
136
|
-
'''Provides access to the values of raster bands.'''
|
|
137
|
-
|
|
138
|
-
def is_null(self, band_index : int) -> bool:
|
|
139
|
-
'''Checks if the raster value is set in the specified band.
|
|
140
|
-
|
|
141
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
142
|
-
:returns: Return \'false\' if not exist.'''
|
|
143
|
-
raise NotImplementedError()
|
|
144
|
-
|
|
145
|
-
def equals_no_data(self, band_index : int) -> bool:
|
|
146
|
-
'''Checks if the value represents background or \'no data\' in the specified band.
|
|
147
|
-
|
|
148
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
149
|
-
:returns: Return \'true\' if represents background or \'no data\'.'''
|
|
150
|
-
raise NotImplementedError()
|
|
151
|
-
|
|
152
|
-
def as_boolean(self, band_index : int) -> bool:
|
|
153
|
-
'''Converts the specified band data to a value.
|
|
154
|
-
|
|
155
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
156
|
-
:returns: The converted value.'''
|
|
157
|
-
raise NotImplementedError()
|
|
158
|
-
|
|
159
|
-
def as_byte(self, band_index : int) -> int:
|
|
160
|
-
'''Converts the specified band data to a value.
|
|
161
|
-
|
|
162
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
163
|
-
:returns: The converted value.'''
|
|
164
|
-
raise NotImplementedError()
|
|
165
|
-
|
|
166
|
-
def as_short(self, band_index : int) -> int:
|
|
167
|
-
'''Converts the specified band data to a value.
|
|
168
|
-
|
|
169
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
170
|
-
:returns: The converted value.'''
|
|
171
|
-
raise NotImplementedError()
|
|
172
|
-
|
|
173
|
-
def as_integer(self, band_index : int) -> int:
|
|
174
|
-
'''Converts the specified band data to a value.
|
|
175
|
-
|
|
176
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
177
|
-
:returns: The converted value.'''
|
|
178
|
-
raise NotImplementedError()
|
|
179
|
-
|
|
180
|
-
def as_long(self, band_index : int) -> int:
|
|
181
|
-
'''Converts the specified band data to a value.
|
|
182
|
-
|
|
183
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
184
|
-
:returns: The converted value.'''
|
|
185
|
-
raise NotImplementedError()
|
|
186
|
-
|
|
187
|
-
def as_float(self, band_index : int) -> float:
|
|
188
|
-
'''Converts the specified band data to a value.
|
|
189
|
-
|
|
190
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
191
|
-
:returns: The converted value.'''
|
|
192
|
-
raise NotImplementedError()
|
|
193
|
-
|
|
194
|
-
def as_double(self, band_index : int) -> float:
|
|
195
|
-
'''Converts the specified band data to a value.
|
|
196
|
-
|
|
197
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
198
|
-
:returns: The converted value.'''
|
|
199
|
-
raise NotImplementedError()
|
|
200
|
-
|
|
201
|
-
def get_data_type(self, band_index : int) -> aspose.gis.raster.BandTypes:
|
|
202
|
-
'''Gets type of values.
|
|
203
|
-
|
|
204
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
205
|
-
:returns: The type of values.'''
|
|
206
|
-
raise NotImplementedError()
|
|
207
|
-
|
|
208
|
-
def __getitem__(self, key : int) -> float:
|
|
209
|
-
'''Gets the band value as a type.'''
|
|
210
|
-
raise NotImplementedError()
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
class RasterBand(IRasterBand):
|
|
214
|
-
'''Contains data about a raster Band.'''
|
|
215
|
-
|
|
216
|
-
@property
|
|
217
|
-
def data_type(self) -> aspose.gis.raster.BandTypes:
|
|
218
|
-
'''Gets type of values stored in each cell.'''
|
|
219
|
-
raise NotImplementedError()
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
class RasterCellSize(IRasterCellSize):
|
|
223
|
-
'''Describes the size, scale and rotation of a raster cell on a map.'''
|
|
224
|
-
|
|
225
|
-
@property
|
|
226
|
-
def height(self) -> float:
|
|
227
|
-
'''Compute the pixel height.'''
|
|
228
|
-
raise NotImplementedError()
|
|
229
|
-
|
|
230
|
-
@property
|
|
231
|
-
def width(self) -> float:
|
|
232
|
-
'''Compute the pixel width.'''
|
|
233
|
-
raise NotImplementedError()
|
|
234
|
-
|
|
235
|
-
@property
|
|
236
|
-
def scale_x(self) -> float:
|
|
237
|
-
'''Gets x-component of the pixel width (x-scale).'''
|
|
238
|
-
raise NotImplementedError()
|
|
239
|
-
|
|
240
|
-
@scale_x.setter
|
|
241
|
-
def scale_x(self, value : float) -> None:
|
|
242
|
-
'''Sets x-component of the pixel width (x-scale).'''
|
|
243
|
-
raise NotImplementedError()
|
|
244
|
-
|
|
245
|
-
@property
|
|
246
|
-
def scale_y(self) -> float:
|
|
247
|
-
'''Gets y-component of the pixel height (y-scale), typically negative.'''
|
|
248
|
-
raise NotImplementedError()
|
|
249
|
-
|
|
250
|
-
@scale_y.setter
|
|
251
|
-
def scale_y(self, value : float) -> None:
|
|
252
|
-
'''Sets y-component of the pixel height (y-scale), typically negative.'''
|
|
253
|
-
raise NotImplementedError()
|
|
254
|
-
|
|
255
|
-
@property
|
|
256
|
-
def skew_x(self) -> float:
|
|
257
|
-
'''Gets x-component of the pixel height (x-skew).'''
|
|
258
|
-
raise NotImplementedError()
|
|
259
|
-
|
|
260
|
-
@skew_x.setter
|
|
261
|
-
def skew_x(self, value : float) -> None:
|
|
262
|
-
'''Sets x-component of the pixel height (x-skew).'''
|
|
263
|
-
raise NotImplementedError()
|
|
264
|
-
|
|
265
|
-
@property
|
|
266
|
-
def skew_y(self) -> float:
|
|
267
|
-
'''Gets y-component of the pixel width (y-skew).'''
|
|
268
|
-
raise NotImplementedError()
|
|
269
|
-
|
|
270
|
-
@skew_y.setter
|
|
271
|
-
def skew_y(self, value : float) -> None:
|
|
272
|
-
'''Sets y-component of the pixel width (y-skew).'''
|
|
273
|
-
raise NotImplementedError()
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class RasterExpressionContext:
|
|
277
|
-
'''This class describes the value context when it reads raster a band.'''
|
|
278
|
-
|
|
279
|
-
def equals(self, other : aspose.gis.raster.RasterExpressionContext) -> bool:
|
|
280
|
-
'''Indicates whether the current object is equal to another object of the same type.
|
|
281
|
-
|
|
282
|
-
:param other: An object to compare with this object.
|
|
283
|
-
:returns: true if the current object is equal to the ``other`` parameter; otherwise, false.'''
|
|
284
|
-
raise NotImplementedError()
|
|
285
|
-
|
|
286
|
-
@property
|
|
287
|
-
def cell_x(self) -> int:
|
|
288
|
-
'''Gets column value (x-coordinate). Numbering starts at 0.'''
|
|
289
|
-
raise NotImplementedError()
|
|
290
|
-
|
|
291
|
-
@property
|
|
292
|
-
def cell_y(self) -> int:
|
|
293
|
-
'''Gets row value (y-coordinate). Numbering starts at 0.'''
|
|
294
|
-
raise NotImplementedError()
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class RasterLayer:
|
|
298
|
-
'''Represents a raster layer.'''
|
|
299
|
-
|
|
300
|
-
@overload
|
|
301
|
-
def crop(self, geometry : aspose.gis.geometries.IGeometry, masks : List[float]) -> aspose.gis.raster.RasterLayer:
|
|
302
|
-
'''Crops the raster layer using a shape form (and band mask).
|
|
303
|
-
|
|
304
|
-
:param geometry: Geometry represented the shape form.
|
|
305
|
-
:param masks: Mask for crop layer
|
|
306
|
-
:returns: The cropped raster layer. If no intersections found returns .'''
|
|
307
|
-
raise NotImplementedError()
|
|
308
|
-
|
|
309
|
-
@overload
|
|
310
|
-
def crop(self, masks : List[float]) -> aspose.gis.raster.RasterLayer:
|
|
311
|
-
'''Crops the raster layer using a band mask).
|
|
312
|
-
|
|
313
|
-
:param masks: Mask for crop layer
|
|
314
|
-
:returns: The cropped raster layer. If no intersections found returns .'''
|
|
315
|
-
raise NotImplementedError()
|
|
316
|
-
|
|
317
|
-
def get_band(self, index : int) -> aspose.gis.raster.IRasterBand:
|
|
318
|
-
'''Gets a band by the specified index.
|
|
319
|
-
|
|
320
|
-
:param index: Band numbers start at 0 and band is assumed to be 0 if not specified.
|
|
321
|
-
:returns: Returns basic meta data about a raster band.'''
|
|
322
|
-
raise NotImplementedError()
|
|
323
|
-
|
|
324
|
-
def get_extent(self) -> aspose.gis.Extent:
|
|
325
|
-
'''Calculates a spatial extent of this layer.
|
|
326
|
-
|
|
327
|
-
:returns: A spatial extent of this layer.'''
|
|
328
|
-
raise NotImplementedError()
|
|
329
|
-
|
|
330
|
-
def get_spatial_point(self, cell_x : int, cell_y : int) -> aspose.gis.geometries.IPoint:
|
|
331
|
-
'''Converts the specified column and row to the spatial coordinate.
|
|
332
|
-
|
|
333
|
-
:param cell_x: The value for column (x-coordinate). Numbering starts at 0.
|
|
334
|
-
:param cell_y: The value for row (y-coordinate). Numbering starts at 0.
|
|
335
|
-
:returns: Returns the x-coordinate of upper left corner given a column and row.'''
|
|
336
|
-
raise NotImplementedError()
|
|
337
|
-
|
|
338
|
-
def get_statistics(self, band_index : int, exclude_nodata_value : bool) -> aspose.gis.raster.RasterStatistics:
|
|
339
|
-
'''Calculate summary statistics consisting of count, sum, mean, min, max.
|
|
340
|
-
|
|
341
|
-
:param band_index: The index of the band. Numbering starts from 0.
|
|
342
|
-
:param exclude_nodata_value: Allows to exclude \'nodata\' values. If \'excludeNodataValue\' is set to false, then all pixels are considered.
|
|
343
|
-
:returns: The summary statistics.'''
|
|
344
|
-
raise NotImplementedError()
|
|
345
|
-
|
|
346
|
-
def get_values_dump(self, rect : aspose.gis.raster.RasterRect) -> List[aspose.gis.raster.IRasterValues]:
|
|
347
|
-
'''Reads the values in the specified block as a 1-dimension array.
|
|
348
|
-
|
|
349
|
-
:param rect: Block of raster cells where dump is read.
|
|
350
|
-
:returns: The dump of values.'''
|
|
351
|
-
raise NotImplementedError()
|
|
352
|
-
|
|
353
|
-
def get_values(self, cell_x : int, cell_y : int) -> aspose.gis.raster.IRasterValues:
|
|
354
|
-
'''Reads the values in the specified cell.
|
|
355
|
-
|
|
356
|
-
:param cell_x: The value for column (x-coordinate). Numbering starts at 0.
|
|
357
|
-
:param cell_y: The value for row (y-coordinate). Numbering starts at 0.
|
|
358
|
-
:returns: The raster values.'''
|
|
359
|
-
raise NotImplementedError()
|
|
360
|
-
|
|
361
|
-
def warp(self, options : aspose.gis.raster.WarpOptions) -> aspose.gis.raster.RasterLayer:
|
|
362
|
-
'''Warps the raster layer to another.
|
|
363
|
-
|
|
364
|
-
:param options: Options for the reprojection procedure.
|
|
365
|
-
:returns: The warp raster layer.'''
|
|
366
|
-
raise NotImplementedError()
|
|
367
|
-
|
|
368
|
-
@property
|
|
369
|
-
def band_count(self) -> int:
|
|
370
|
-
'''Gets the number of bands in the raster layer.'''
|
|
371
|
-
raise NotImplementedError()
|
|
372
|
-
|
|
373
|
-
@property
|
|
374
|
-
def no_data_values(self) -> aspose.gis.raster.IRasterValues:
|
|
375
|
-
'''Gets the values that represents background or \'no data\' of the raster.'''
|
|
376
|
-
raise NotImplementedError()
|
|
377
|
-
|
|
378
|
-
@property
|
|
379
|
-
def width(self) -> int:
|
|
380
|
-
'''Gets the width of the raster in pixels. Also it is known as columns count.'''
|
|
381
|
-
raise NotImplementedError()
|
|
382
|
-
|
|
383
|
-
@property
|
|
384
|
-
def height(self) -> int:
|
|
385
|
-
'''Gets the height of the raster in pixels. Also it is known as rows count.'''
|
|
386
|
-
raise NotImplementedError()
|
|
387
|
-
|
|
388
|
-
@property
|
|
389
|
-
def upper_left_x(self) -> float:
|
|
390
|
-
'''Gets x-coordinate of the raster upper left corner.'''
|
|
391
|
-
raise NotImplementedError()
|
|
392
|
-
|
|
393
|
-
@property
|
|
394
|
-
def upper_left_y(self) -> float:
|
|
395
|
-
'''Gets y-coordinate of the raster upper left corner.'''
|
|
396
|
-
raise NotImplementedError()
|
|
397
|
-
|
|
398
|
-
@property
|
|
399
|
-
def cell_size(self) -> aspose.gis.raster.IRasterCellSize:
|
|
400
|
-
'''Gets cell or pixel size of the raster.'''
|
|
401
|
-
raise NotImplementedError()
|
|
402
|
-
|
|
403
|
-
@property
|
|
404
|
-
def spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
|
|
405
|
-
'''Gets a spatial reference system of raster.
|
|
406
|
-
Can be if it is unknown.'''
|
|
407
|
-
raise NotImplementedError()
|
|
408
|
-
|
|
409
|
-
@property
|
|
410
|
-
def driver(self) -> aspose.gis.Driver:
|
|
411
|
-
'''Gets the :py:attr:`aspose.gis.raster.RasterLayer.driver` that instantiated this layer.'''
|
|
412
|
-
raise NotImplementedError()
|
|
413
|
-
|
|
414
|
-
@property
|
|
415
|
-
def bounds(self) -> aspose.gis.raster.RasterRect:
|
|
416
|
-
'''Gets the raster bounds.'''
|
|
417
|
-
raise NotImplementedError()
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class RasterRect:
|
|
421
|
-
'''Block of raster cells.'''
|
|
422
|
-
|
|
423
|
-
@property
|
|
424
|
-
def x(self) -> int:
|
|
425
|
-
'''Gets start column (x-coordinate).'''
|
|
426
|
-
raise NotImplementedError()
|
|
427
|
-
|
|
428
|
-
@property
|
|
429
|
-
def y(self) -> int:
|
|
430
|
-
'''Gets start row (y-coordinate).'''
|
|
431
|
-
raise NotImplementedError()
|
|
432
|
-
|
|
433
|
-
@property
|
|
434
|
-
def width(self) -> int:
|
|
435
|
-
'''Gets width (columns count).'''
|
|
436
|
-
raise NotImplementedError()
|
|
437
|
-
|
|
438
|
-
@property
|
|
439
|
-
def height(self) -> int:
|
|
440
|
-
'''Gets height (row count).'''
|
|
441
|
-
raise NotImplementedError()
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
class RasterStatistics:
|
|
445
|
-
'''The statistics for any raster layer.'''
|
|
446
|
-
|
|
447
|
-
@property
|
|
448
|
-
def min(self) -> Optional[float]:
|
|
449
|
-
'''Minimum value of counted cells or pixel values.'''
|
|
450
|
-
raise NotImplementedError()
|
|
451
|
-
|
|
452
|
-
@property
|
|
453
|
-
def max(self) -> Optional[float]:
|
|
454
|
-
'''Maximum value of counted cells or pixel values.'''
|
|
455
|
-
raise NotImplementedError()
|
|
456
|
-
|
|
457
|
-
@property
|
|
458
|
-
def mean(self) -> Optional[float]:
|
|
459
|
-
'''Arithmetic mean of all counted cells or pixel values.'''
|
|
460
|
-
raise NotImplementedError()
|
|
461
|
-
|
|
462
|
-
@property
|
|
463
|
-
def sum(self) -> Optional[float]:
|
|
464
|
-
'''Sum of all counted cells or pixel values.'''
|
|
465
|
-
raise NotImplementedError()
|
|
466
|
-
|
|
467
|
-
@property
|
|
468
|
-
def count(self) -> Optional[float]:
|
|
469
|
-
'''Number of cells or pixels counted for the summary statistics.'''
|
|
470
|
-
raise NotImplementedError()
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
class WarpOptions:
|
|
474
|
-
'''Options for raster warping.'''
|
|
475
|
-
|
|
476
|
-
@property
|
|
477
|
-
def width(self) -> int:
|
|
478
|
-
'''Specifies output raster width in pixels and columns.
|
|
479
|
-
If the value is set to 0, the width is automatically computed. The default value is "0".'''
|
|
480
|
-
raise NotImplementedError()
|
|
481
|
-
|
|
482
|
-
@width.setter
|
|
483
|
-
def width(self, value : int) -> None:
|
|
484
|
-
'''Specifies output raster width in pixels and columns.
|
|
485
|
-
If the value is set to 0, the width is automatically computed. The default value is "0".'''
|
|
486
|
-
raise NotImplementedError()
|
|
487
|
-
|
|
488
|
-
@property
|
|
489
|
-
def height(self) -> int:
|
|
490
|
-
'''Specifies output raster height in pixels and columns.
|
|
491
|
-
If the value is set to 0, the height is automatically computed. The default value is "0".'''
|
|
492
|
-
raise NotImplementedError()
|
|
493
|
-
|
|
494
|
-
@height.setter
|
|
495
|
-
def height(self, value : int) -> None:
|
|
496
|
-
'''Specifies output raster height in pixels and columns.
|
|
497
|
-
If the value is set to 0, the height is automatically computed. The default value is "0".'''
|
|
498
|
-
raise NotImplementedError()
|
|
499
|
-
|
|
500
|
-
@property
|
|
501
|
-
def cell_width(self) -> float:
|
|
502
|
-
'''Specifies a new width of the raster cell (in target georeferenced units).
|
|
503
|
-
If the value is set to 0, the :py:attr:`aspose.gis.raster.WarpOptions.cell_width` is automatically computed. The default value is "0".'''
|
|
504
|
-
raise NotImplementedError()
|
|
505
|
-
|
|
506
|
-
@cell_width.setter
|
|
507
|
-
def cell_width(self, value : float) -> None:
|
|
508
|
-
'''Specifies a new width of the raster cell (in target georeferenced units).
|
|
509
|
-
If the value is set to 0, the :py:attr:`aspose.gis.raster.WarpOptions.cell_width` is automatically computed. The default value is "0".'''
|
|
510
|
-
raise NotImplementedError()
|
|
511
|
-
|
|
512
|
-
@property
|
|
513
|
-
def cell_height(self) -> float:
|
|
514
|
-
'''Specifies a new height of the raster cell (in target georeferenced units).
|
|
515
|
-
If the value is set to 0, the :py:attr:`aspose.gis.raster.WarpOptions.cell_height` is automatically computed. The default value is "0".'''
|
|
516
|
-
raise NotImplementedError()
|
|
517
|
-
|
|
518
|
-
@cell_height.setter
|
|
519
|
-
def cell_height(self, value : float) -> None:
|
|
520
|
-
'''Specifies a new height of the raster cell (in target georeferenced units).
|
|
521
|
-
If the value is set to 0, the :py:attr:`aspose.gis.raster.WarpOptions.cell_height` is automatically computed. The default value is "0".'''
|
|
522
|
-
raise NotImplementedError()
|
|
523
|
-
|
|
524
|
-
@property
|
|
525
|
-
def target_extent(self) -> aspose.gis.Extent:
|
|
526
|
-
'''Specifies bounds of raster layer to warp.
|
|
527
|
-
If set to , extent is calculated during warping to include all cells from raster.'''
|
|
528
|
-
raise NotImplementedError()
|
|
529
|
-
|
|
530
|
-
@target_extent.setter
|
|
531
|
-
def target_extent(self, value : aspose.gis.Extent) -> None:
|
|
532
|
-
'''Specifies bounds of raster layer to warp.
|
|
533
|
-
If set to , extent is calculated during warping to include all cells from raster.'''
|
|
534
|
-
raise NotImplementedError()
|
|
535
|
-
|
|
536
|
-
@property
|
|
537
|
-
def target_spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
|
|
538
|
-
'''Specifies target spatial reference.
|
|
539
|
-
If set to , default or source spatial reference is used.'''
|
|
540
|
-
raise NotImplementedError()
|
|
541
|
-
|
|
542
|
-
@target_spatial_reference_system.setter
|
|
543
|
-
def target_spatial_reference_system(self, value : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> None:
|
|
544
|
-
'''Specifies target spatial reference.
|
|
545
|
-
If set to , default or source spatial reference is used.'''
|
|
546
|
-
raise NotImplementedError()
|
|
547
|
-
|
|
548
|
-
@property
|
|
549
|
-
def default_spatial_reference_system(self) -> aspose.gis.spatialreferencing.SpatialReferenceSystem:
|
|
550
|
-
'''Specifies a value for a source spatial reference if that is missing.'''
|
|
551
|
-
raise NotImplementedError()
|
|
552
|
-
|
|
553
|
-
@default_spatial_reference_system.setter
|
|
554
|
-
def default_spatial_reference_system(self, value : aspose.gis.spatialreferencing.SpatialReferenceSystem) -> None:
|
|
555
|
-
'''Specifies a value for a source spatial reference if that is missing.'''
|
|
556
|
-
raise NotImplementedError()
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
class BandTypes:
|
|
560
|
-
'''The types of a raster band.'''
|
|
561
|
-
|
|
562
|
-
RAW_BITS : BandTypes
|
|
563
|
-
'''Unknown band type. See :py:func:`aspose.gis.raster.IRasterValues.AsRawBits` for values.'''
|
|
564
|
-
BIT : BandTypes
|
|
565
|
-
'''1-bit. It known as :py:class:`bool`.'''
|
|
566
|
-
S_BYTE : BandTypes
|
|
567
|
-
'''8-bit signed integer. It known as :py:class:`int`.'''
|
|
568
|
-
BYTE : BandTypes
|
|
569
|
-
'''8-bit unsigned integer. It known as :py:class:`int`.'''
|
|
570
|
-
SHORT : BandTypes
|
|
571
|
-
'''16-bit signed integer. It known as :py:class:`int`.'''
|
|
572
|
-
U_SHORT : BandTypes
|
|
573
|
-
'''16-bit unsigned integer. It known as :py:class:`int`.'''
|
|
574
|
-
INTEGER : BandTypes
|
|
575
|
-
'''32-bit integer. It known as :py:class:`int`.'''
|
|
576
|
-
U_INTEGER : BandTypes
|
|
577
|
-
'''32-bit unsigned integer. It known as :py:class:`int`.'''
|
|
578
|
-
LONG : BandTypes
|
|
579
|
-
'''64-bit integer. It known as :py:class:`int`.'''
|
|
580
|
-
U_LONG : BandTypes
|
|
581
|
-
'''64-bit unsigned integer. It known as :py:class:`int`.'''
|
|
582
|
-
FLOAT : BandTypes
|
|
583
|
-
'''64-bit float. float. It known as :py:class:`float`.'''
|
|
584
|
-
DOUBLE : BandTypes
|
|
585
|
-
'''64-bit float. It known as :py:class:`float`.'''
|
|
586
|
-
|