1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-25 00:05:03 -04:00

7270 Commits

Author SHA1 Message Date
Alexander Bruy
df248dbe93 fix indentation 2016-08-23 10:17:03 +03:00
Alexander Bruy
10f72cd762 Merge branch 'otb_apps_export_improvment' of https://github.com/grizonnetm/QGIS into otb_apps_export_improvment 2016-08-23 10:16:24 +03:00
Nyall Dawson
cb313761ca Remove unused QgsProvider(Count|ExtentCalc)Event classes 2016-08-23 10:03:52 +10:00
Manuel Grizonnet
ce0a2ae062 forget to commit xml descriptors for otb 5.6 2016-08-22 15:56:30 +02:00
Manuel Grizonnet
d772a68472 Update otb processing maintenance files to version 5.6.0 2016-08-22 15:39:41 +02:00
arnaud.morvan@camptocamp.com
e716bae82f Process deleteLater events before recreating processing menus 2016-08-22 10:18:51 +02:00
Martin Dobias
26dd13063e [FEATURE] Drag'n'drop layers from layer tree view to browser dock
Makes it easy to e.g. store your temporary layers in PostGIS
2016-08-22 10:38:10 +08:00
Nyall Dawson
8f4ca47b70 New QgsExpressionLineEdit widget
Consists of a filter line edit + button to open expression builder

This widget is a bit like the existing QgsFieldExpressionWidget,
but for cases where a combo box does not make sense. Eg, when
no fields are available for the expression to use.

It also has an optional multiline mode, which allows it to be
used in place of the full-blown QgsExpressionBuilderWidget when
space is a problem.
2016-08-22 08:39:33 +10:00
Manuel Grizonnet
bf7db728f3 ENH: update log info when parsing otb apps 2016-08-21 20:55:29 +02:00
Manuel Grizonnet
82f2726d7f ENH: remove useless QApplication and prefer to use QGIS_PREFIX_PATH 2016-08-21 20:34:08 +02:00
arnaud.morvan@camptocamp.com
09671197e7 Add button to reset processing menus in config dialog 2016-08-21 18:18:35 +02:00
Nyall Dawson
409dfdf539 [FEATURE] Expose GEOS linear referencing function to QgsGeometry
Adds a new QgsGeometry::lineLocatePoint() function for
retrieving the distance along a linestring to the nearest
position on the linestring to a given point.
2016-08-21 20:48:54 +10:00
Matthias Kuhn
bcae877fab Fix doxygen 2016-08-19 16:53:54 +02:00
Matthias Kuhn
11c626d8e1 Add readOnly property to QgsVectorLayer 2016-08-19 16:36:57 +02:00
Matthias Kuhn
9050cc14d4 Add == and != operator to QgsFeature and add QML bindings 2016-08-19 16:05:41 +02:00
Marco Hugentobler
24cc0e2feb [FEATURE]: possibility to segmentize feature info geometry in server 2016-08-19 15:03:02 +02:00
Matthias Kuhn
6ae2daa145 Respect the "showLabel" flag on attribute editor elements 2016-08-19 14:50:22 +02:00
Matthias Kuhn
1bd26f75a5 [feature] Allow controlling labels for individual edit widgets
In the drag and drop designer, a double click on an item will allow
controlling if the label should be shown for each item individually.

Fix 
2016-08-19 14:50:21 +02:00
Matthias Kuhn
fd4fe83641 Doxymentation and sip bindings 2016-08-19 09:03:07 +02:00
Matthias Kuhn
5c20f0782a Cleanup QgsEditFormConfig
* It's now implicitly shared, meaning that changes to the config
   can be supervised and a signal is sent from QgsVectorLayer and
   there is no risk of elements suddenly being deleted.
 * Remove a bunch of methods that were in QgsVectorLayer for legacy
   reasons.
2016-08-19 09:03:07 +02:00
Alexia Mondot
b88d92df19 ENH update readme 2016-08-17 16:32:20 +02:00
Alexia Mondot
342fb040ee BUG NameError: name OTBSpecific_XMLcreation is not defined on exec 2016-08-17 16:32:00 +02:00
Alexia Mondot
2320838102 ENH update for OTB 5.4 2016-08-17 16:30:52 +02:00
Matthias Kuhn
af0947826b Add isNumeric and QML bindings to QgsField 2016-08-17 07:16:19 +02:00
Nyall Dawson
eb5cc0c731 Add method to reset vector layer for data defined button 2016-08-17 10:56:51 +10:00
Nyall Dawson
989d9864c5 [FEATURE][processing] New algorithm for single sided buffers 2016-08-17 06:44:04 +10:00
Nyall Dawson
e3f0d3d88f [FEATURE] Expose GEOS single sided buffer through QgsGeometry
Makes it easy for PyQGIS code to perform a single sided buffer
operation
2016-08-17 06:43:02 +10:00
Nyall Dawson
cd4bc8887b Vertically stack the color widget when in dock mode 2016-08-16 19:47:28 +10:00
Alexander Bruy
ce133102bf Merge pull request from nyalldawson/processing_temp
[processing] If supported, use memory layers instead of shapefiles
2016-08-16 11:39:50 +03:00
Matthias Kuhn
282f406e5b Disable builtin pyyaml package with python 3
It's not compatible
2016-08-16 09:54:16 +02:00
Nyall Dawson
22be7edadf Merge pull request from nyalldawson/grad
FEATURE: Open color dialog inside layer style panel
2016-08-16 15:35:43 +10:00
Nyall Dawson
50c35929d8 Make QgsVectorLayer uniqueValues/min/maxValue consider edits
Previously these methods would inconsistently handle the
edit buffer, eg uniqueValues would consider changed attributes
but not added features. Now uniqueValues, minimumValue and
maximumValue all consider both added features and changed
attribute values when performing their calculation.

The most noticable effect of this fix is that the unique
values widget now correctly shows values for features which
have been added but not yet committed to the provider.
2016-08-16 07:57:15 +10:00
Alexander Bruy
866617ccd3 Merge pull request from nyalldawson/processing_translate
[FEATURE][processing] New algorithm for translating (moving) points
2016-08-15 14:41:39 +03:00
Alessandro Pasotti
4e82767fcf Merge pull request from aaime/sld_filter_fix
Do not generate a ogc:Filter where a ogc:Expression is expected.
2016-08-15 13:06:12 +02:00
Nyall Dawson
5407ae8a6a [FEATURE] Color dialog can be embedded in layer style panel
Now clicking color buttons inside the layer style panel causes
the color picker dialog to be opened inside the style panel itself
rather than as a separate dialog
2016-08-15 18:04:07 +10:00
Nyall Dawson
a2fe4c4f59 New method to find parent QgsPanelWidget for a widget 2016-08-15 17:56:21 +10:00
Nyall Dawson
6d82cd63b6 Fix leak caused by missing virtual destructor 2016-08-15 09:02:30 +10:00
Nyall Dawson
f9e10888cb [processing] Fix some potential errors in clip algorithm 2016-08-14 14:50:34 +10:00
Nyall Dawson
0f268bf27a [FEATURE][processing] New algorithm for translating (moving) points
Allows geometries to be shifted by a x/y displacement
2016-08-14 14:36:10 +10:00
Nyall Dawson
001ae44b67 [processing] If supported, use memory layers instead of shapefiles
when writing to a temporary result

Avoids truncation of field names and other format specific
limitations
2016-08-14 13:32:38 +10:00
Andrea Aime
1140437f55 Do not generate a ogc:Filter where a ogc:Expression is expected. Fixes and 2016-08-12 12:44:02 +02:00
Denis Rouzaud
e2cacade1d Merge pull request from 3nids/movetoolcad
[FEATURE] Move feature now benefits from Advanced Digitizing
2016-08-12 11:36:30 +02:00
Denis Rouzaud
99ed790820 rename enum to avoid confusion 2016-08-12 11:04:29 +02:00
Alexander Bruy
915afcf8fa Merge pull request from anitagraser/patch-1
[processing] fixed failure to insert only one point in Densify geometries alg
2016-08-12 11:04:47 +03:00
Nyall Dawson
e9423dc4dd [processing] Rework centroid algorithm to handle non-polygon layers
The existing polygoncentroids algorithm has been deprecated
(and hidden from the toolbox), and a new, generic centroids
algorithm added which works with lines and multipoints
2016-08-12 07:50:47 +10:00
Nyall Dawson
9bc61e77c7 [processing] Create vector files using default dataset/layer options
Fixes missing CRS when saving to GML (fix )
2016-08-12 07:01:04 +10:00
Martin Dobias
b6d03209b9 Fix closest segment for points ()
* Make closestSegment() behave as expected by QgsGeometry::closestSegmentWithContext

This fixes a bug that QgsPointLocator::nearestEdge() would return valid match even for point layers.

* Shortcut if using QgsPointLocator with a wrong layer type
2016-08-11 17:23:01 +02:00
Nyall Dawson
5025c828e5 [processing] Expose buffer settings (cap/join style/mitre limit)
Also make fixed distance buffer correctly handle null geometries
(copy the row as a geometryless row)
2016-08-11 18:35:30 +10:00
Nyall Dawson
0a2b661ecb Make QgsGeometry::offsetCurve handle multi* geometries 2016-08-11 17:59:01 +10:00
Denis Rouzaud
af1fee525a Move feature now benefits from Advanced Digitizing
QgsMapToolMoveFeature now inherits QgsMapToolAdvancedDigitizing
this allows to specify distance, angles, complex and multiple moves at once
it is now a click and click operation (similarly to the rotate feature map tool): so it can be cancelled once enabled with the right click
2016-08-11 08:06:43 +02:00