52332 Commits

Author SHA1 Message Date
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
Harrissou Sant-anna
974ee22f41 Mention that display name is used by the locator search tool 2018-11-19 11:04:08 +10:00
William Kyngesburye
eb37507b70 quiet cmake policy message 2018-11-18 08:47:55 -06:00
Denis Rouzaud
bd2f9f97b2 fix ccache for Docker images 2018-11-18 13:40:07 +01:00
Denis Rouzaud
06751f6191 disable ccache in cmake since it is already defined as compiler 2018-11-18 10:38:56 +01:00
Denis Rouzaud
d35ef945ec print ccache status 2018-11-18 10:36:33 +01:00
William Kyngesburye
f8af7ddd52 add missing Mac UI style plugin to app bundle 2018-11-17 18:17:26 -06:00
Håvard Tveite
ce313755d7 GDAL extractreprojection missing from the raster menu
This was missed in #8378.
2018-11-18 08:59:24 +10:00
Nyall Dawson
9d5c949378 [processing] Don't run validity checks for buffer alg
Buffering doesn't care about validity and can sometimes be used
to repair geometries
2018-11-18 07:06:26 +10:00
Denis Rouzaud
7126faebdc also push deps image for cron jobs 2018-11-17 22:01:34 +01:00
Denis Rouzaud
6356b6d500 add missing exiv2 2018-11-17 22:01:34 +01:00
Denis Rouzaud
08ddec2b69 fix lib path in docker (not Travis) 2018-11-17 22:01:34 +01:00
Denis Rouzaud
7213b0c119 fix docker tag for cosmic 2018-11-17 16:27:02 +01:00
Denis Rouzaud
0c27556b16 add Qt53D include dir 2018-11-17 14:34:54 +01:00
Alessandro Pasotti
fb1d670b71
Merge pull request #8475 from elpaso/docker-testing-env
Added QGIS testing environment to dockers
2018-11-17 10:33:20 +01:00
Denis Rouzaud
d77d832ac5
Merge pull request #8499 from qgis/multi-docker-yaml
build docker images baed on cosmic and bionic
2018-11-17 08:45:03 +01:00