5476 Commits

Author SHA1 Message Date
Juergen E. Fischer
0519423b0f fix pyuic wrapper where qt4 & 5 are available 2015-11-29 17:04:56 +01:00
Juergen E. Fischer
079029e354 indentation update 2015-11-29 17:04:56 +01:00
volaya
09c8239a77 [processing] fixed missing colon in function definition 2015-11-27 09:13:04 +01:00
volaya
17e1bd6be3 Merge pull request #2505 from radosuav/processing_extent
[Processing] Check layer projection when using it for subset extent
2015-11-27 09:10:27 +01:00
volaya
0a21d91be5 [processing] allow manually add scripts to scripts provider 2015-11-27 08:51:53 +01:00
volaya
4b853bfa40 Merge pull request #2472 from spono/patch-8
[Processing] Update TinSurfaceCreate.py
2015-11-27 08:23:56 +01:00
volaya
ae748d3b7d Merge pull request #2463 from spono/patch-7
[proessing]small correction on FUSION internal commands
2015-11-27 08:14:38 +01:00
volaya
5375522ce1 Merge pull request #2465 from spono/patch-9
[processing] Create DTM2ASCII
2015-11-27 08:12:06 +01:00
Nyall Dawson
7eb1133bc5 Make QgsLineStringV2::fromWkbPoints private 2015-11-27 16:32:47 +11:00
Nyall Dawson
1f33011960 Add more tests to QgsLineStringV2, fix vertexAngle calculation 2015-11-27 16:32:09 +11:00
radosuav
c58981fd5e [Processing] Check layer projection when using it for subset extent 2015-11-26 15:29:35 +01:00
Sab
06357dd31e Fix problem with QSpinBox error in Processing dialog windows
This will cause QGIS to crash, when accessing Processing > Options
items.
2015-11-26 13:12:03 +00:00
Nyall Dawson
74ca290bd3 QgsLineStringV2 fixes
- fix incorrect centroid calculation (was always returning 0,0)
- fix closestSegment when numPoints < 2
- fix broken leftOf calculation for closestSegment
- area calculation when numPoints < 2

Plus add more unit tests
2015-11-26 16:56:30 +11:00
Nyall Dawson
f45f688f61 [labeling] Avoid placing labels over ANY part of point symbols 2015-11-25 17:00:20 +11:00
Matthias Kuhn
afd436da9f Yet another fix to 594fafe 2015-11-24 16:57:43 +01:00
Matthias Kuhn
2e7c33281c Followup 594fafe73b8, Also fix processing 2015-11-24 16:29:35 +01:00
Marco Hugentobler
594fafe73b Fix ftools geometry collection handling 2015-11-24 15:42:33 +01:00
Nyall Dawson
ffebfd9bb7 [FEATURE] Allow overide of geometry type in vector save as dialog
Also allows forcing output file to be multi type, or include z
dimension.

This makes it possible to do things like save a geometryless
table WITH a geometry type, so that geometries can then be
manually added to rows. Previously this was only possible to do in
QGIS by resorting to dummy joins or other hacks.
2015-11-24 06:30:15 +11:00
Nic
4f9244d6f0 Update TinSurfaceCreate.py 2015-11-23 17:41:39 +01:00
Nyall Dawson
55ead85382 Allow setting label obstacle geom in QgsPalLabeling::registerFeature
Sponsored by City of Uster
2015-11-21 22:52:22 +11:00
Juergen E. Fischer
22f0f25364 fix builds with older compilers 2015-11-20 23:12:53 +01:00
Matthias Kuhn
d795e508cc Merge pull request #469 from olivierdalang/SanitizeEntryNames
Warning about invalid entry names
2015-11-20 18:03:44 +01:00
Juergen E. Fischer
79640ef805 restore QgsVectorLayer::setReadOnly (followup 4cd1e38) 2015-11-20 15:45:02 +01:00
Matthias Kuhn
bbbf8a5a27 [sip] fix editor widget bindings 2015-11-20 15:31:58 +01:00
Alessandro Pasotti
4180c1e275 Merge pull request #2489 from elpaso/qgseditorwidgetwrapper-config-added
Added config() to QgsEditorWidgetWrapper SIP wrapper
2015-11-20 13:23:56 +01:00
elpaso
8c24e1e2d4 Added const to config() method 2015-11-20 12:45:23 +01:00
elpaso
7cc0a21bf8 Added config() to QgsEditorWidgetWrapper SIP wrapper 2015-11-20 10:47:57 +01:00
Nyall Dawson
4203a7c1f4 Add method to determine approximate rendered symbol bounds for markers
Sponsored by City of Uster
2015-11-20 19:55:02 +11:00
Nyall Dawson
323f265c94 Misc cleanups following c9f0d83 2015-11-20 10:38:34 +11:00
Matthias Kuhn
5b5960970e Some sip changes and doxymentation 2015-11-19 15:32:28 +01:00
Matthias Kuhn
4cd1e38631 fieldEditable -> readOnly 2015-11-19 15:32:28 +01:00
Matthias Kuhn
a50f2d051f Refactor edit form configuration out of QgsVectorLayer 2015-11-19 15:32:28 +01:00
Juergen E. Fischer
c40a764f5c indentation update 2015-11-19 13:30:25 +01:00
Nyall Dawson
f3a5dcc98b Fix build 2015-11-19 20:37:47 +11:00
mhugent
422abbde5e Merge pull request #2056 from sbrunner/qgis-server-security
[Feature] Add an interface in QGIS Server for access control plugins
2015-11-19 10:23:04 +01:00
Nyall Dawson
8c0fe47d8e Add tests for QgsPointV2, fix some issues:
- prevent creation of a QgsPointV2 with a non-point WKB type
- fix bounding box was not invalidated for some modification routines
- if WKT type is PointZ/M/ZM and not enough coordinates specified,
initialise extra coordinates to 0
2015-11-19 19:48:42 +11:00
Matthias Kuhn
7b0815b682 Fix python errors 2015-11-18 19:21:12 +01:00
Stéphane Brunner
c9f0d83aaf The plugin define the following methods:
* layerFilterExpression
  Return an additional filter, used in
  WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature to filter the features
* layerFilterSubsetString
  Return an additional the subset string (typically SQL) filter.
  Faster than the layerFilterExpression but not supported on all the
  type of layer
* layerPermissions
  Change the rights on the layer per user (known by the plugin)
  Concern rights: publish, insert, update, delete.
  Mostly used in WFS/Transaction, and the publish in all requests.
* authorizedLayerAttributes
  Be able to show some attributes only for a subset of user
  Used in: WMS/GetFeatureInfo, WFS/GetFeature
* allowToEdit
  Be able to don't allow to edit a particular feature, in our case base
  on the Geometry
  Used in: WFS/Transaction
* cacheKey
  Cache key to used to create the capabilities cache, "" for no cache,
  shouldn't contains any "-", default to ""
2015-11-18 14:49:43 +01:00
alexbruy
f7bdd66c43 Merge pull request #2481 from nyalldawson/processing
Processing enhancements and fixes
2015-11-18 15:09:22 +02:00
Nyall Dawson
5019fe244c Add methods to directly retrieve/set coordinates for linestring nodes
Also add method to create QgsPointV2 from a QPointF
2015-11-18 21:49:02 +11:00
Matthias Kuhn
0b0c413f3a Add Saga 2.2.2 descriptions 2015-11-18 08:14:42 +01:00
Nyall Dawson
d0625b8b35 [processing] Add algorithm for reversing line directions 2015-11-18 16:27:25 +11:00
Nyall Dawson
9009ef0b26 [processing] Add smooth algorithm
Allows for smoothing line or polygon layers
2015-11-18 16:27:14 +11:00
Nyall Dawson
53aa583da0 [processing] Use QgsDoubleSpinBox instead of QSpinBox
Allows for simple calculations in spin box, adds a reset control
to reset widget to default value
2015-11-18 16:27:04 +11:00
Nyall Dawson
86231d79fa [processing] Guess sensible step sizes for float spin boxes 2015-11-18 16:26:55 +11:00
Nyall Dawson
ffd9707516 [processing] Fix maximum/minimum not respected for float spinboxes 2015-11-18 16:26:48 +11:00
Nyall Dawson
86c1ffa0aa Add reversed method to QgsCurveV2
Also clean up and add missing docs for QgsLineStringV2
2015-11-18 16:24:27 +11:00
Nyall Dawson
9cfbba1647 Add rx(), ry(), ... methods to QgsPointV2, add missing docs to class
Allows for directly modifying point's coordinates in place
2015-11-18 16:24:08 +11:00
Jürgen Fischer
57f5fba582 Merge pull request #2478 from SebDieBln/DbManager_Fix13731
[DbManager] replaced 'LIMIT 0' by 'WHERE 0=1' (fixes #13731)
2015-11-17 23:08:19 +01:00
Sebastian Dietrich
e04d5e4d70 replaced 'LIMIT 0' by 'WHERE 0=1' (fixes #13731) 2015-11-17 21:29:19 +01:00