volaya
7a87fb55b0
[processing] don't use full path for naming layers when loaded in dataobjects.load
2016-10-18 16:55:19 +03:00
volaya
90db246488
[processing] use only selected features for spatial index
...
fixes #15584
2016-10-18 16:55:19 +03:00
Sandro Santilli
8843de88c7
Fix ogrLayerName handling of PostgreSQL dataset URIs
...
Also document "uri" parameter semantic, and add more tests.
See for background
https://lists.osgeo.org/pipermail/qgis-developer/2016-October/045311.html
REF #15698
2016-10-18 11:05:31 +02:00
Sandro Santilli
52a0082ade
Fix extraction of ogr LayerName from database dataset URIs
...
See 6c5364186d (commitcomment-19439676)
Includes testcase.
REF #15698
2016-10-17 11:55:35 +02:00
Matthias Kuhn
576ad138a9
Fix python calls to inexistent methods
2016-10-17 09:31:31 +02:00
Sandro Santilli
6c5364186d
Fix extraction of ogr LayerName from multi-layer dataset URIs
...
Adds supports for "layerid" when present.
Drop special handling for "table=" portions found in URI,
making the code more generic.
Includes testcase.
Fixes #15698 - import geodatabase to postgis via processing
2016-10-15 09:13:18 +02:00
volaya
35f17496c1
Merge pull request #3581 from alexbruy/processing-terrain-analysis
...
[processing] add raster terrain analysis tools
2016-10-13 13:53:55 +02:00
Nyall Dawson
6605a2274f
[processing] Optimise uniqueValues method
...
Now it uses the standard QgsVectorLayer.uniqueValues() method
where possible so that provider side optimisations are used
Also add test, and optimise request when using selected
features only
2016-10-12 17:05:15 +10:00
Nyall Dawson
05ea4be7c3
[processing] Fix inefficient values() method
...
Method was iterating over ever feature in a layer, including
geometries and all attributes for EVERY attribute requested
Add test and refactor so only one optimised iteration (eg no
geometry, only required attributes) is used
2016-10-12 16:56:29 +10:00
Alexander Bruy
e76a4678ba
[processing] expose Aspect from Raster terrain analysis plugin in toolbox
2016-10-11 11:55:34 +03:00
Nyall Dawson
90aebd117d
[processing] Add geometry info should add z/m values ( fix #14659 )
2016-10-11 09:30:41 +10:00
volaya
fba87f79f3
Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
...
Conflicts:
python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
Alexander Bruy
9a9df32cca
Merge pull request #3574 from mbernasocchi/master
...
[processing] fix save to postgis table
2016-10-06 11:58:13 +03:00
Marco Bernasocchi
7c59e41177
fix save to postgis table in processing
2016-10-05 20:35:28 +02:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
Alexander Bruy
e04780a279
add missed comma
2016-10-05 12:38:51 +02:00
volaya
a968fa3dea
[processing] use original filename when possible when exporting vector layer
...
Conflicts:
python/plugins/processing/tools/dataobjects.py
2016-10-05 12:38:35 +02:00
Alexander Bruy
eeb8269464
[processing] drop GEOM_TYPE_MAP in favour of QgsWkbTypes.displayString()
2016-10-05 09:45:55 +03:00
Alexander Bruy
a4bdfb76c0
[processing] support more geometry types in memory layers ( fix #15508 )
2016-10-05 09:42:56 +03:00
Matthias Kuhn
4a7a8ff263
Update python code
2016-10-01 15:39:03 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Nyall Dawson
fe65063c2b
Remove many deprecated methods
2016-09-15 18:34:15 +10:00
Alexander Bruy
2466083790
[processing] use hex representation of uuid
2016-09-14 16:23:19 +03:00
Hugo Mercier
5c3a43e286
Fix spatialite access with python3
2016-09-05 13:43:00 +02:00
Alexander Bruy
65db336eaf
[processing] move some constants to the dataobjects module
2016-09-02 09:28:45 +03:00
Nyall Dawson
9bc61e77c7
[processing] Create vector files using default dataset/layer options
...
Fixes missing CRS when saving to GML (fix #14544 )
2016-08-12 07:01:04 +10:00
Matthias Kuhn
3aff45cc13
Fix db_manager
2016-08-10 20:36:18 +02:00
Nyall Dawson
9e66e1593b
[processing] Fix broken output of multipoint since WKB type merge
2016-08-10 16:19:29 +10:00
Alexander Bruy
acdde31b3d
[processing] more cleanups (follow up 06c4b07222)
2016-08-05 15:05:36 +03:00
Matthias Kuhn
bb79d13e82
Remove deprecated Qgis::WKBType and API cleanup ( #3325 )
...
* Remove deprecated Qgis::WKBType and API cleanup
Renames QgsWKBTypes to QgsWkbTypes
Replaces usage of the enums:
* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType
Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)
Renames some SSLxxx to SslXxx and URIxxx to UriXxx
* Fix build warnings and simplify type handling
* Add a fixer to rewrite imports
* The forgotten rebase conflictThe forgotten rebase conflicts
* QgsDataSourcURI > QgsDataSourceUri
* QgsWKBTypes > QgsWkbTypes
* Qgis.WKBGeom > QgsWkbTypes.Geom
* Further python fixes
* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions
* Fix tests
* Python 3 updates
* [travis] pull request caching cannot be disabled
so at least use it in r/w mode
* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Alexander Bruy
b3a38f4018
[processing] fix issues with exported layers in GDAL provider
2016-07-26 15:00:26 +03:00
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10:00
Nyall Dawson
9e1ddcb54d
[processing] Allow modification of feature request when using
...
vector.features
Allows for optimising the request through subsets of attributes
or no geometry fetching
2016-07-13 12:06:41 +10:00
Alexander Bruy
2d9b2a354b
[processing] use bulk features loading to speedup spatial index creation
2016-06-21 16:56:21 +03:00
Alexander Bruy
aa9fe9ecd0
Merge pull request #3118 from arnaud-morvan/processing_gdal_postgis_credentials
...
[processing] support postgis service parameter and credentials input
2016-06-14 15:19:03 +03:00
Alexander Bruy
9e54287bb4
[processing] fix alglist() function
2016-06-09 14:58:08 +03:00
arnaud.morvan@camptocamp.com
8ddae27130
[Processing] Support authentication with postgis
2016-06-03 17:09:31 +02:00
Nyall Dawson
3a005cda36
Indentation
2016-06-02 08:50:27 +10:00
Alexander Bruy
57b16187e6
[processing] move spatialite and postgis utils into tools package
2016-06-01 14:15:46 +03:00
volaya
479ceb36b4
[processing] fixed wrong call to splitext in dataobjects.py
2016-06-01 12:18:33 +02:00
arnaud.morvan@camptocamp.com
01450c5609
[Processing] Compare lower file extension to "shp"
2016-05-30 15:30:00 +03:00
volaya
9c2721b08b
[processing] added ‘supported’ parameter to exportVectorLayer
2016-05-30 10:41:44 +02:00
volaya
33fc3be15f
[processing] separated alglist to its own module
2016-05-23 19:36:16 +02:00
volaya
e6b76c4d7b
[processing] cleaning and restructuring
...
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
Alexander Bruy
6207412bf7
[processing] restore CreateConstantRaster algorithm ( fix #14860 )
2016-05-23 12:41:45 +03:00
arnaud.morvan@camptocamp.com
63d23d2905
Processing - Support no geometry in VectorWriter
2016-05-17 14:16:15 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Alexander Bruy
9c96be1214
[processing] add function to retrieve Processing version
...
Initial idea by Etienne Trimaille
2016-04-01 14:09:02 +03:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00