Advertisement
xunilk

QgsRasterDataProvider Class (PyQGIS)

Aug 8th, 2014
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.60 KB | None | 0 0
  1. Python 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] on zeito
  2. ## Type help(iface) for more info and list of methods.
  3. help(QgsRasterDataProvider)
  4. Help on class QgsRasterDataProvider in module qgis.core:
  5.  
  6. class QgsRasterDataProvider(QgsDataProvider, QgsRasterInterface)
  7. | QgsRasterDataProvider()
  8. | QgsRasterDataProvider(QString)
  9. |
  10. | Method resolution order:
  11. | QgsRasterDataProvider
  12. | QgsDataProvider
  13. | PyQt4.QtCore.QObject
  14. | QgsRasterInterface
  15. | sip.wrapper
  16. | sip.simplewrapper
  17. | __builtin__.object
  18. |
  19. | Methods defined here:
  20. |
  21. | block(...)
  22. | QgsRasterDataProvider.block(int, QgsRectangle, int, int) -> QgsRasterBlock
  23. |
  24. | buildPyramidList(...)
  25. | QgsRasterDataProvider.buildPyramidList(list-of-int overviewList=QList<int>()) -> list-of-QgsRasterPyramid
  26. |
  27. | buildPyramids(...)
  28. | QgsRasterDataProvider.buildPyramids(list-of-QgsRasterPyramid, QString theResamplingMethod="NEAREST", QgsRaster.RasterPyramidsFormat theFormat=QgsRaster.PyramidsGTiff, QStringList theConfigOptions=QStringList()) -> QString
  29. |
  30. | childEvent(...)
  31. |
  32. | clone(...)
  33. | QgsRasterDataProvider.clone() -> QgsRasterInterface
  34. |
  35. | colorInterpretation(...)
  36. | QgsRasterDataProvider.colorInterpretation(int) -> int
  37. |
  38. | colorInterpretationName(...)
  39. | QgsRasterDataProvider.colorInterpretationName(int) -> QString
  40. |
  41. | colorName(...)
  42. | QgsRasterDataProvider.colorName(int) -> QString
  43. |
  44. | colorTable(...)
  45. | QgsRasterDataProvider.colorTable(int) -> list-of-QgsColorRampShader.ColorRampItem
  46. |
  47. | connectNotify(...)
  48. |
  49. | create(...)
  50. | QgsRasterDataProvider.create(QString, QString, QString, int, QGis.DataType, int, int, QgsCoordinateReferenceSystem, QStringList createOptions=QStringList()) -> (QgsRasterDataProvider, float)
  51. |
  52. | customEvent(...)
  53. |
  54. | dataTimestamp(...)
  55. | QgsRasterDataProvider.dataTimestamp() -> QDateTime
  56. |
  57. | dataType(...)
  58. | QgsRasterDataProvider.dataType(int) -> QGis.DataType
  59. |
  60. | disconnectNotify(...)
  61. |
  62. | dpi(...)
  63. | QgsRasterDataProvider.dpi() -> int
  64. |
  65. | draw(...)
  66. | QgsRasterDataProvider.draw(QgsRectangle, int, int) -> QImage
  67. |
  68. | extent(...)
  69. | QgsRasterDataProvider.extent() -> QgsRectangle
  70. |
  71. | hasPyramids(...)
  72. | QgsRasterDataProvider.hasPyramids() -> bool
  73. |
  74. | identify(...)
  75. | QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat, QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int theHeight=0) -> QgsRasterIdentifyResult
  76. |
  77. | initHistogram(...)
  78. | QgsRasterDataProvider.initHistogram(QgsRasterHistogram, int, int, float, float, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0, bool theIncludeOutOfRange=False)
  79. |
  80. | initStatistics(...)
  81. | QgsRasterDataProvider.initStatistics(QgsRasterBandStats, int, int theStats=QgsRasterBandStats.All, QgsRectangle theExtent=QgsRectangle(), int theBinCount=0)
  82. |
  83. | lastError(...)
  84. | QgsRasterDataProvider.lastError() -> QString
  85. |
  86. | lastErrorFormat(...)
  87. | QgsRasterDataProvider.lastErrorFormat() -> QString
  88. |
  89. | lastErrorTitle(...)
  90. | QgsRasterDataProvider.lastErrorTitle() -> QString
  91. |
  92. | metadata(...)
  93. | QgsRasterDataProvider.metadata() -> QString
  94. |
  95. | progress = <unbound signal progress>
  96. | progressUpdate = <unbound signal progressUpdate>
  97. | pyramidResamplingMethods(...)
  98. | QgsRasterDataProvider.pyramidResamplingMethods(QString) -> list-of-tuple-of-QString-QString
  99. |
  100. | receivers(...)
  101. |
  102. | reload(...)
  103. | QgsRasterDataProvider.reload() -> bool
  104. |
  105. | remove(...)
  106. | QgsRasterDataProvider.remove() -> bool
  107. |
  108. | sender(...)
  109. |
  110. | setDpi(...)
  111. | QgsRasterDataProvider.setDpi(int)
  112. |
  113. | setInput(...)
  114. | QgsRasterDataProvider.setInput(QgsRasterInterface) -> bool
  115. |
  116. | setNoDataValue(...)
  117. | QgsRasterDataProvider.setNoDataValue(int, float) -> bool
  118. |
  119. | setUseSrcNoDataValue(...)
  120. | QgsRasterDataProvider.setUseSrcNoDataValue(int, bool)
  121. |
  122. | setUserNoDataValue(...)
  123. | QgsRasterDataProvider.setUserNoDataValue(int, list-of-QgsRasterRange)
  124. |
  125. | srcDataType(...)
  126. | QgsRasterDataProvider.srcDataType(int) -> QGis.DataType
  127. |
  128. | srcHasNoDataValue(...)
  129. | QgsRasterDataProvider.srcHasNoDataValue(int) -> bool
  130. |
  131. | srcNoDataValue(...)
  132. | QgsRasterDataProvider.srcNoDataValue(int) -> float
  133. |
  134. | subLayers(...)
  135. | QgsRasterDataProvider.subLayers() -> QStringList
  136. |
  137. | timerEvent(...)
  138. |
  139. | timestamp(...)
  140. | QgsRasterDataProvider.timestamp() -> QDateTime
  141. |
  142. | useSrcNoDataValue(...)
  143. | QgsRasterDataProvider.useSrcNoDataValue(int) -> bool
  144. |
  145. | userNoDataValues(...)
  146. | QgsRasterDataProvider.userNoDataValues(int) -> list-of-QgsRasterRange
  147. |
  148. | validateCreationOptions(...)
  149. | QgsRasterDataProvider.validateCreationOptions(QStringList, QString) -> QString
  150. |
  151. | validatePyramidsConfigOptions(...)
  152. | QgsRasterDataProvider.validatePyramidsConfigOptions(QgsRaster.RasterPyramidsFormat, QStringList, QString) -> QString
  153. |
  154. | write(...)
  155. | QgsRasterDataProvider.write(sip.voidptr, int, int, int, int, int) -> bool
  156. |
  157. | xBlockSize(...)
  158. | QgsRasterDataProvider.xBlockSize() -> int
  159. |
  160. | xSize(...)
  161. | QgsRasterDataProvider.xSize() -> int
  162. |
  163. | yBlockSize(...)
  164. | QgsRasterDataProvider.yBlockSize() -> int
  165. |
  166. | ySize(...)
  167. | QgsRasterDataProvider.ySize() -> int
  168. |
  169. | ----------------------------------------------------------------------
  170. | Methods inherited from QgsDataProvider:
  171. |
  172. | crs(...)
  173. | QgsDataProvider.crs() -> QgsCoordinateReferenceSystem
  174. |
  175. | dataChanged = <unbound signal dataChanged>
  176. | dataSourceUri(...)
  177. | QgsDataProvider.dataSourceUri() -> QString
  178. |
  179. | description(...)
  180. | QgsDataProvider.description() -> QString
  181. |
  182. | error(...)
  183. | QgsDataProvider.error() -> QgsError
  184. |
  185. | fileRasterFilters(...)
  186. | QgsDataProvider.fileRasterFilters() -> QString
  187. |
  188. | fileVectorFilters(...)
  189. | QgsDataProvider.fileVectorFilters() -> QString
  190. |
  191. | fullExtentCalculated = <unbound signal fullExtentCalculated>
  192. | isValid(...)
  193. | QgsDataProvider.isValid() -> bool
  194. |
  195. | name(...)
  196. | QgsDataProvider.name() -> QString
  197. |
  198. | reloadData(...)
  199. | QgsDataProvider.reloadData()
  200. |
  201. | setDataSourceUri(...)
  202. | QgsDataProvider.setDataSourceUri(QString)
  203. |
  204. | setLayerOrder(...)
  205. | QgsDataProvider.setLayerOrder(QStringList)
  206. |
  207. | setSubLayerVisibility(...)
  208. | QgsDataProvider.setSubLayerVisibility(QString, bool)
  209. |
  210. | setSubsetString(...)
  211. | QgsDataProvider.setSubsetString(QString, bool updateFeatureCount=True) -> bool
  212. |
  213. | subLayerCount(...)
  214. | QgsDataProvider.subLayerCount() -> int
  215. |
  216. | subLayerStyles(...)
  217. | QgsDataProvider.subLayerStyles() -> QStringList
  218. |
  219. | subsetString(...)
  220. | QgsDataProvider.subsetString() -> QString
  221. |
  222. | supportsSubsetString(...)
  223. | QgsDataProvider.supportsSubsetString() -> bool
  224. |
  225. | updateExtents(...)
  226. | QgsDataProvider.updateExtents()
  227. |
  228. | ----------------------------------------------------------------------
  229. | Methods inherited from PyQt4.QtCore.QObject:
  230. |
  231. | __getattr__(...)
  232. | QObject.__getattr__(str) -> object
  233. |
  234. | blockSignals(...)
  235. | QObject.blockSignals(bool) -> bool
  236. |
  237. | children(...)
  238. | QObject.children() -> list-of-QObject
  239. |
  240. | connect(...)
  241. | QObject.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool
  242. | QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection) -> bool
  243. | QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool
  244. |
  245. | deleteLater(...)
  246. | QObject.deleteLater()
  247. |
  248. | destroyed = <unbound signal destroyed>
  249. | disconnect(...)
  250. | QObject.disconnect(QObject, SIGNAL(), QObject, SLOT()) -> bool
  251. | QObject.disconnect(QObject, SIGNAL(), callable) -> bool
  252. |
  253. | dumpObjectInfo(...)
  254. | QObject.dumpObjectInfo()
  255. |
  256. | dumpObjectTree(...)
  257. | QObject.dumpObjectTree()
  258. |
  259. | dynamicPropertyNames(...)
  260. | QObject.dynamicPropertyNames() -> list-of-QByteArray
  261. |
  262. | emit(...)
  263. | QObject.emit(SIGNAL(), ...)
  264. |
  265. | event(...)
  266. | QObject.event(QEvent) -> bool
  267. |
  268. | eventFilter(...)
  269. | QObject.eventFilter(QObject, QEvent) -> bool
  270. |
  271. | findChild(...)
  272. | QObject.findChild(type, QString name=QString()) -> QObject
  273. |
  274. | findChildren(...)
  275. | QObject.findChildren(type, QString name=QString()) -> list-of-QObject
  276. | QObject.findChildren(type, QRegExp) -> list-of-QObject
  277. |
  278. | inherits(...)
  279. | QObject.inherits(str) -> bool
  280. |
  281. | installEventFilter(...)
  282. | QObject.installEventFilter(QObject)
  283. |
  284. | isWidgetType(...)
  285. | QObject.isWidgetType() -> bool
  286. |
  287. | killTimer(...)
  288. | QObject.killTimer(int)
  289. |
  290. | metaObject(...)
  291. | QObject.metaObject() -> QMetaObject
  292. |
  293. | moveToThread(...)
  294. | QObject.moveToThread(QThread)
  295. |
  296. | objectName(...)
  297. | QObject.objectName() -> QString
  298. |
  299. | parent(...)
  300. | QObject.parent() -> QObject
  301. |
  302. | property(...)
  303. | QObject.property(str) -> QVariant
  304. |
  305. | pyqtConfigure(...)
  306. | QObject.pyqtConfigure(...)
  307. |
  308. | Each keyword argument is either the name of a Qt property or a Qt signal.
  309. | For properties the property is set to the given value which should be of an
  310. | appropriate type.
  311. | For signals the signal is connected to the given value which should be a
  312. | callable.
  313. |
  314. | removeEventFilter(...)
  315. | QObject.removeEventFilter(QObject)
  316. |
  317. | setObjectName(...)
  318. | QObject.setObjectName(QString)
  319. |
  320. | setParent(...)
  321. | QObject.setParent(QObject)
  322. |
  323. | setProperty(...)
  324. | QObject.setProperty(str, QVariant) -> bool
  325. |
  326. | signalsBlocked(...)
  327. | QObject.signalsBlocked() -> bool
  328. |
  329. | startTimer(...)
  330. | QObject.startTimer(int) -> int
  331. |
  332. | thread(...)
  333. | QObject.thread() -> QThread
  334. |
  335. | tr(...)
  336. | QObject.tr(str, str disambiguation=None, int n=-1) -> QString
  337. |
  338. | trUtf8(...)
  339. | QObject.trUtf8(str, str disambiguation=None, int n=-1) -> QString
  340. |
  341. | ----------------------------------------------------------------------
  342. | Data descriptors inherited from PyQt4.QtCore.QObject:
  343. |
  344. | __weakref__
  345. | list of weak references to the object (if defined)
  346. |
  347. | staticMetaObject
  348. |
  349. | ----------------------------------------------------------------------
  350. | Methods inherited from QgsRasterInterface:
  351. |
  352. | bandCount(...)
  353. | QgsRasterInterface.bandCount() -> int
  354. |
  355. | bandStatistics(...)
  356. | QgsRasterInterface.bandStatistics(int, int theStats=QgsRasterBandStats.All, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> QgsRasterBandStats
  357. |
  358. | capabilities(...)
  359. | QgsRasterInterface.capabilities() -> int
  360. |
  361. | capabilitiesString(...)
  362. | QgsRasterInterface.capabilitiesString() -> QString
  363. |
  364. | cumulativeCut(...)
  365. | QgsRasterInterface.cumulativeCut(int, float, float, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> (float, float)
  366. |
  367. | dataTypeSize(...)
  368. | QgsRasterInterface.dataTypeSize(int) -> int
  369. |
  370. | generateBandName(...)
  371. | QgsRasterInterface.generateBandName(int) -> QString
  372. |
  373. | hasHistogram(...)
  374. | QgsRasterInterface.hasHistogram(int, int, float, float, QgsRectangle, int, bool) -> bool
  375. |
  376. | hasStatistics(...)
  377. | QgsRasterInterface.hasStatistics(int, int theStats=QgsRasterBandStats.All, QgsRectangle theExtent=QgsRectangle(), int theSampleSize=0) -> bool
  378. |
  379. | histogram(...)
  380. | QgsRasterInterface.histogram(int, int, float, float, QgsRectangle, int, bool) -> QgsRasterHistogram
  381. |
  382. | input(...)
  383. | QgsRasterInterface.input() -> QgsRasterInterface
  384. |
  385. | on(...)
  386. | QgsRasterInterface.on() -> bool
  387. |
  388. | readXML(...)
  389. | QgsRasterInterface.readXML(QDomElement)
  390. |
  391. | setOn(...)
  392. | QgsRasterInterface.setOn(bool)
  393. |
  394. | srcInput(...)
  395. | QgsRasterInterface.srcInput() -> QgsRasterInterface
  396. |
  397. | writeXML(...)
  398. | QgsRasterInterface.writeXML(QDomDocument, QDomElement)
  399. |
  400. | ----------------------------------------------------------------------
  401. | Data and other attributes inherited from QgsRasterInterface:
  402. |
  403. | BuildPyramids = 16
  404. |
  405. | Capability = <class 'qgis.core.Capability'>
  406. |
  407. |
  408. | Create = 4
  409. |
  410. | Identify = 32
  411. |
  412. | IdentifyFeature = 512
  413. |
  414. | IdentifyHtml = 256
  415. |
  416. | IdentifyText = 128
  417. |
  418. | IdentifyValue = 64
  419. |
  420. | NoCapabilities = 0
  421. |
  422. | Remove = 8
  423. |
  424. | Size = 2
  425. |
  426. | ----------------------------------------------------------------------
  427. | Methods inherited from sip.simplewrapper:
  428. |
  429. | __init__(...)
  430. | x.__init__(...) initializes x; see help(type(x)) for signature
  431. |
  432. | ----------------------------------------------------------------------
  433. | Data descriptors inherited from sip.simplewrapper:
  434. |
  435. | __dict__
  436. |
  437. | ----------------------------------------------------------------------
  438. | Data and other attributes inherited from sip.simplewrapper:
  439. |
  440. | __new__ = <built-in method __new__ of sip.wrappertype object>
  441. | T.__new__(S, ...) -> a new object with type S, a subtype of T
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement