9446 Commits

Author SHA1 Message Date
rldhont
8356c767b9 Merge pull request #4637 from rldhont/server-wms-configparser-describelayer
[Server] WMS DescribeLayer refactoring
2017-05-29 12:13:12 +02:00
nirvn
3419945a8d [FEATURE] create_ramp() expression function 2017-05-29 16:31:53 +07:00
Nyall Dawson
86ce4418b1 Merge pull request #4627 from nyalldawson/json_format
Use field formatter when exporting feature attributes to JSON
2017-05-27 07:22:07 +10:00
Nyall Dawson
9cfe70c058 Merge pull request #4624 from nyalldawson/feature_source
QgsFeatureSource
2017-05-27 07:21:45 +10:00
Sandro Santilli
13e39da074 Ensure "dbname" is set in the uri, once again
Fixes #16625 (ref #10600)
2017-05-26 17:52:29 +02:00
rldhont
5b78297149 [Server] Rename QgsServerProjectUtils::wcsLayers to QgsServerProjectUtils::wcsLayerIds 2017-05-26 16:59:24 +02:00
rldhont
c05d779ccd Merge pull request #4630 from rldhont/server-wms-configparser-getcontext
[Server] WMS GetContext refactoring
2017-05-26 16:33:32 +02:00
Alexander Bruy
dc5ba8ffe9 [processing] explisitly load outputs as raster or vector depending
on the output type. Don't rely on extension or other indirect attributes
2017-05-26 13:30:23 +03:00
rldhont
95a5ccefab [Server] fix wmsInspireActivated to wmsInspireActivate 2017-05-25 17:27:46 +02:00
Nyall Dawson
4647662664 Add crs, fields, wkbType and featureCount to QgsFeatureSource 2017-05-25 12:31:06 +10:00
Nyall Dawson
8bfeb8f73b QgsVectorLayer, QgsVectorDataProvider are QgsFeatureSources 2017-05-25 12:31:06 +10:00
Nyall Dawson
ce063b8691 Add QgsFeatureSource interface as interface for classes which
provide feature iterators via a getFeatures method
2017-05-25 12:31:06 +10:00
Nyall Dawson
5b0bc93834 Rename QgsJSONExporter/Utils to QgsJsonExporter/Utils
Follows proper QGIS/Qt capitalization convention
2017-05-25 07:43:03 +10:00
Nyall Dawson
a5e3f1931b Use field formatter when exporting feature attributes to JSON
This means that field values which utilise widget setups like
value maps will correctly show the "friendly" value
for the field, instead of the raw values.
2017-05-25 07:29:53 +10:00
Denis Rouzaud
f63adfe145 [sipify] keep external forward declaration 2017-05-24 15:39:46 +02:00
Denis Rouzaud
09d3e2ff3a sipify core effects 2017-05-24 15:39:46 +02:00
Denis Rouzaud
827c19f2e7 QgsCharacterSelectorDialog: rename file name according to class name 2017-05-24 15:22:09 +02:00
Denis Rouzaud
3f0017a46d sipify gui part 2 2017-05-24 15:22:09 +02:00
Denis Rouzaud
f5e66dd227 [sipify] handle constrained annotation 2017-05-24 14:49:28 +02:00
Denis Rouzaud
563e7c17fc sipify gui part 3 2017-05-24 14:49:28 +02:00
Denis Rouzaud
cc5e713e83 sipify gui part 4 2017-05-24 13:48:03 +02:00
Denis Rouzaud
801a0ea537 sipify gui part 5 2017-05-24 10:44:30 +02:00
Denis Rouzaud
5f6d020b13 add default constructors to QgsFieldFormatter inherited classes 2017-05-24 09:57:52 +02:00
Denis Rouzaud
cf68aed755 sipify core field formatter 2017-05-24 09:57:52 +02:00
Denis Rouzaud
30a7e44d57 [sip] handle Deprecated annotations
some additional fixes in headers too
2017-05-24 09:49:46 +02:00
Denis Rouzaud
694c8113e5 sipify gui part 1 2017-05-24 09:49:46 +02:00
Denis Rouzaud
dd40a3dfe1 sipify diagram classes 2017-05-24 07:24:31 +02:00
Denis Rouzaud
a14ad32b67 sipify QgsVectorLayerFeatureIterator 2017-05-23 15:02:55 +02:00
Denis Rouzaud
00fcc6e0cd sipify auth classes 2017-05-23 11:43:34 +02:00
Denis Rouzaud
e99f54854b sipify batch 2017-05-23 10:35:12 +02:00
Alexander Bruy
fa6b5b0a16 rename new method to createMultiBandRaster to make it more obvious
reorganize arguments
2017-05-23 09:06:03 +03:00
Alexander Bruy
9272dc0f7c [API] convenience API call to create empty raster file with given
number of bands. Will be useful for porting raster analysis code
to use QgsRasterBlock instead of GDAL calls.

Follow up ff8d91214748e0363010e263401212d0b4e0e491
2017-05-23 09:02:54 +03:00
Salvatore Larosa
48ecee5643 [processing] fix duplicates fields name in field calculator algorithm when switching between layers (followup c2699b4) 2017-05-22 23:29:26 +02:00
rldhont
2b39c1e1e9 Merge pull request #4597 from rldhont/server-wms-configparser-getcapabilities-part2
[Server] WMS GetCapabilities refactoring - Part 2
2017-05-22 12:42:48 +02:00
Denis Rouzaud
1df3c51606 sipify batch 2017-05-22 10:12:08 +02:00
Juergen E. Fischer
beed86e19d db manager: fix spatialite plugin (followup c77172ed; fixes #16542) 2017-05-21 10:45:30 +02:00
rldhont
087e7f75dc [Server] wmsInfoFormatSIA2045 to wmsInfoFormatSia2045: Qt style naming 2017-05-21 10:43:03 +02:00
rldhont
ca29b221c0 [Server] Update QgsServerProjectUtils SIP file 2017-05-20 16:29:58 +02:00
Denis Rouzaud
f0ed77ee18 fix sip coverage test 2017-05-19 15:35:47 +02:00
Denis Rouzaud
fb8edea112 [sipify] implement template inheritance 2017-05-19 15:35:47 +02:00
Alexander Bruy
bbcc8725fc Merge pull request #4587 from alexbruy/processing-saga
[processing][needs-docs] always use SAGA shipped with QGIS (refs #16422)
2017-05-19 15:08:45 +03:00
Hugo Mercier
0a82ab51fe Merge pull request #4432 from pblottiere/bugfix_sld
[bugfix] Fix unit of sizes when reading a SLD file (uom attribute from SLD 1.1 version is supported)
2017-05-19 08:54:14 +02:00
Alexander Bruy
b9929d4c2a [processing][needs-docs] always use SAGA shipped with QGIS (refs #16422) 2017-05-19 09:00:02 +03:00
Matthias Kuhn
b0bb873360 Fix build 2017-05-19 07:16:03 +02:00
Matthias Kuhn
ad7ce981fb Update sip files 2017-05-19 07:13:11 +02:00
Matthias Kuhn
1e4c1595c0 Adapt “@qgsfunction" decorator to new expression structure 2017-05-19 07:13:11 +02:00
Matthias Kuhn
9b77006592 Add missing include 2017-05-19 07:13:11 +02:00
Matthias Kuhn
80533faaf5 Reorganize code from qgsexpression.cpp 2017-05-19 07:13:11 +02:00
Matthias Kuhn
82455588c8 General include cleanup
This unifies the way the include directories are handled in the
CMakeLists.txt files.
Paths are now normally relative to the root of the source- or build dir.
They may still be relative for paths withing a plugin subdirectory but
should no longer be relative to paths outside of the current source- or
build-directory.

The previous approach had resultet in many different styles which are
hard to wrap ones head around if new to the build system.
It sometimes defined includes twice
By using relative paths, it was not possible to copy paste the paths
between different files.
2017-05-19 07:13:11 +02:00
Matthias Kuhn
ec40199862 Modularize expressions
The file qgsexpressions.h has grown to one monolithic piece over the
years. This makes it hard to maintain and slows down compilation because
even small changes at one end will result in recompiling big parts of
the source tree. It also requires the compiler to keep track of all
these implementation details for said big parts of the source tree.

This splits this implementation into smaller pieces. There are soe API
changes connected to this, but since these can be considered
implementation details, on which not many plugins rely, this shouldn't
have a big impact on the ecosystem outside the source tree.
2017-05-19 07:13:11 +02:00