52349 Commits

Author SHA1 Message Date
Mathieu Pellerin
d257cf0776 Add a project properties dialog test case 2018-11-21 21:46:50 +07:00
Mathieu Pellerin
4e1d6841ae Avoid more needless project dirtying 2018-11-21 21:46:50 +07:00
Alessandro Pasotti
5171e4e64d
Merge pull request #8520 from elpaso/bugfix-20549-invalid-xml-gfi
[server] Fix invalid xml in getfeatureinfo
2018-11-21 13:32:35 +01:00
Alessandro Pasotti
bb44e2b60b
Merge pull request #8512 from elpaso/docker-testing-env-tests
Docker testing env tests
2018-11-21 13:27:02 +01:00
Alessandro Pasotti
fe8d419c4d Support F2 for layer rename action
Also refactored some internal methods to
avoid duplication of code and use parent
class virtual rename() instead of a new
method for gpkg only.
2018-11-21 12:16:34 +01:00
signedav
51ee71316f Disable current cell on editing off
because otherwise on single cell change the change would not been stored in mEditBuffer

fixes #15975
2018-11-21 09:09:13 +01:00
Denis Rouzaud
d1d3a51efb
Merge pull request #8429 from lbartoletti/extendMapTool
[needs-docs][FEATURE] Trim/extend
2018-11-21 06:36:08 +01:00
Simon Wells
f3fbd060ce fix another include directive for spatialindex 2018-11-21 16:13:44 +11:00
Simon Wells
e91cd93cc1 Remove PATH_SUFFIX as it is no longer needed, as it is optional it is not sufficient to be used in place of spatialindex/ 2018-11-21 16:13:44 +11:00
Simon Wells
c341d8da90 avoid conflicting geos spatialindex.h include file
correct includes for spatialindex
2018-11-21 16:13:44 +11:00
Nyall Dawson
cd0a314114 [needs-docs] Add shortcut for paste to scratch layer (Ctrl+Alt+V) 2018-11-21 16:05:28 +11:00
nirvn
9faab8162a [ui] Harmonize save raster layer as dialog's scroll area 2018-11-21 10:34:31 +07:00
nirvn
1237fb6786 [needs-docs][ui] Move 'add saved file to map' option away from data settings 2018-11-21 10:34:31 +07:00
Nyall Dawson
5603546c26 Dox 2018-11-21 08:48:55 +11:00
Nyall Dawson
e21ea25c66 Add method to set QgsFeature geometry directly from QgsAbstractGeometry
Allows

    feat.setGeometry(QgsPoint(1,2))

instead of the more obscure

    feat.setGeometry(QgsGeometry(QgsPoint(1,2)))
2018-11-21 08:48:55 +11:00
Nyall Dawson
17e58738b8 Capitalization 2018-11-21 06:57:13 +10:00
chau-intl
3ec853f635 Fix for bug report #19174 - hide newly added layer(s) when in group
When loading a single layer QGIS will set it as invisible if the user have chosen so (new_layers_visible=false) in the settings. When a data set contains more than one layer and the user
chooses "Add layers to a group" the layers are added as visible no matter what.

This commit is fixing that problem for both GDAL and OGR data sets by setting both the group and its layers as invisible/unchecked.

Fixes #19174
2018-11-20 18:42:53 +01:00
Alessandro Pasotti
0d696ef1e5 [server] Fix invalid xml in getfeatureinfo
Fixes #20549 - error in parsing WMS GetFeatureInfo as XML

Also s/meta/META/ for consistency with all other tags
2018-11-20 18:26:49 +01:00
Alessandro Pasotti
e44d620d29 [feature][needs-docs] Allow gpkg vector rename from browser 2018-11-20 17:41:24 +01:00
Alessandro Pasotti
2d30e0e342
Merge pull request #8517 from elpaso/docker-testing-env-docs
Docker testing env docs
2018-11-20 15:40:02 +01:00
Alessandro Pasotti
9e2d172dfd Typos and small improvements 2018-11-20 14:46:58 +01:00
Alessandro Pasotti
9c6e24fd19 Redirect test output to dev null 2018-11-20 13:01:48 +01:00
Alessandro Pasotti
2b77a659eb Fix path to tester script 2018-11-20 11:32:43 +01:00
Alessandro Pasotti
7e00afc2c7
Merge pull request #8510 from signedav/fix_providerIndex
Don't handle defaultValueClause as not unique value
2018-11-20 11:16:28 +01:00
Alessandro Pasotti
0814b624b8 Move test in its own script 2018-11-20 10:31:05 +01:00
Alessandro Pasotti
ed9709b4fa Copy updated test runner into the docker
Handle -e and do not exit on error
2018-11-20 10:31:05 +01:00
Alessandro Pasotti
e8e66d086b Fix the python test runner and add a test for it 2018-11-20 10:31:05 +01:00
Alessandro Pasotti
47f29df263 Spelling 2018-11-20 10:24:09 +01:00
Alessandro Pasotti
ff06651788 Added circle-ci 2018-11-20 09:40:52 +01:00
Alessandro Pasotti
a786c40662 Documentation for the dockers 2018-11-20 09:21:57 +01:00
David Adler
ba81a2ee13 Fix indentation - issue #20337
Hopefully this is correct.
I'm not having much luck getting prepare-commit.sh or astyle.sh to run on Windows.
2018-11-20 11:03:55 +11:00
David Adler
dd2ed9cd30 Update src/providers/db2/qgsdb2provider.cpp 2018-11-20 11:03:55 +11:00
David Adler
63aa1e1e0e Update src/providers/db2/qgsdb2provider.h 2018-11-20 11:03:55 +11:00
dwadler
d998465db9 run prepare-commit on DB2 fixes for #20337 2018-11-20 11:03:55 +11:00
David Adler
c339dd49fb DB2 fixes for #20337 2018-11-20 11:03:55 +11:00
Nyall Dawson
152b1b09ff [needs-docs] Fix use of duplicate action name
(Properties is already used by project properties)
2018-11-20 05:06:25 +11:00
Nyall Dawson
a8ecc683b7 Avoid QObject::connect null warning 2018-11-20 05:06:25 +11:00
Nyall Dawson
34c217cd46 Fix crash when calculating offset on certain single curves which become multilinestrings when offset 2018-11-20 05:06:06 +11:00
Nyall Dawson
a22422c4bf [FEATURE][API] Add parts iterators to QgsGeometry
This allows easy iteration over all the parts of a geometry,
regardless of the geometry's type. E.g.

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
  print(part.asWkt())

geometry = QgsGeometry.fromWkt( 'LineString( 0 0, 10 10 )' )
for part in geometry.parts():
  print(part.asWkt())

There are two iterators available. QgsGeometry.parts() gives
a non-const iterator, allowing the parts to be modified in place:

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
   part.transform(ct)

For a const iteration, calling .const_parts() gives a const
iterator, which cannot edit the parts but avoids a potentially expensive
QgsGeometry detach and clone

geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.const_parts():
   print(part.x())
2018-11-20 05:05:37 +11:00
Nyall Dawson
f5a6aef55f Raise IndexError in PyQGIS when calling geometryN on a collection
with an invalid geometry index

And add len operator to QgsGeometryCollection
2018-11-20 05:05:37 +11:00
signedav
32b7d7e5dd check uniqueCheck before overwrite defaultValueClause
and some tests for it
this fixes #20397 and fixes #20431
2018-11-19 16:54:28 +01:00
Martin Dobias
61cb715c4e [FEATURE] Optionally use a map theme to render terrain textures
Often it is useful to have a different map theme for terrain in 3D view
than the map theme used in the main map canvas.
2018-11-19 16:29:53 +01:00
Denis Rouzaud
b089b57681
Merge pull request #8480 from lbartoletti/rectangle3PointsProjected
[FEATURE][needs-docs]Add map tool: rectangle 3 points (projected)
2018-11-19 15:21:46 +01:00
Denis Rouzaud
29875d3843 do not push deps images on PR 2018-11-19 10:22:13 +01:00
Denis Rouzaud
d59b9858e1 add docker hub credentials to yml file 2018-11-19 10:21:49 +01:00
lbartoletti
792546c45f fix license 2018-11-19 07:25:54 +01:00
lbartoletti
2cfb0b539e Denis' review 2018-11-19 07:25:04 +01:00
Blottiere Paul
4e209724cf
Merge pull request #8260 from lbartoletti/dbmanager_add_save_sql_file
[FEATURE][needs-docs]Add buttons to load and save an external SQL file
2018-11-19 04:49:59 +00:00
Blottiere Paul
50e2b76ae7
Merge pull request #8005 from lbartoletti/bugfix_18902
Fixes #18902 Snapping and tracing inconsistent behaviour
2018-11-19 04:49:03 +00:00
Harrissou Sant-anna
357ea19caf Add missing article 2018-11-19 11:04:08 +10:00