signedav
0f653179ff
handle fid attribute in attrLookup on synchronization
...
and use column++ again on iteration through attributes on copyVectorLayer
fixes #20276 especially the not reported issue with synchronization
2018-12-03 15:26:48 +01:00
signedav
d173b70b53
leave last attribute empty instead of first
...
because though fid appears to be the first field it's added in the end and has the last index.
fixes #20276
2018-11-22 12:52:51 +01:00
Martin Dobias
d4ef55dadb
Merge pull request #8509 from wonder-sk/terrain-map-themes
...
[FEATURE] Optionally use a map theme to render terrain textures
2018-11-22 09:24:27 +01:00
Alessandro Pasotti
fee3935887
Merge pull request #8519 from elpaso/browser-gpkg-vector-rename
...
[feature][needs-docs] Allow gpkg vector rename from browser
2018-11-21 16:29:50 +01:00
Martin Dobias
afd3525297
Add test for terrain theme + do not use project singleton
2018-11-21 16:29:42 +01:00
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
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
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
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
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
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
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
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
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
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
Matthias Kuhn
1ef04d7ab2
Merge pull request #8496 from m-kuhn/coordinateUtilsFunctions
...
Expose QgsCoordinateUtils functions via Q_INVOKABLE
2018-11-16 14:41:29 +01:00
Matthias Kuhn
236328fbd4
Make code_layout test happy
2018-11-16 14:03:37 +01:00
Matthias Kuhn
06b5d7b318
Less usage of QgsProject::instance
2018-11-16 12:41:44 +01:00
Matthias Kuhn
98781da6b0
Make QgsCoordinateUtils functions Q_INVOKABLE
2018-11-16 12:39:42 +01:00
Matthias Kuhn
438a1daf6a
Merge pull request #8442 from signedav/textfield_null
...
Range widget: Remove null representator during editing
2018-11-16 09:03:13 +01:00
Nyall Dawson
30692fa9a3
Implement Open in Terminal for windows
2018-11-16 05:24:50 +10:00
Nyall Dawson
326a74f0a6
Fix some incorrect icon sizes
2018-11-16 05:24:50 +10:00
lbartoletti
f0396b990d
fix enum
2018-11-15 13:34:15 +01:00
lbartoletti
fc8f88efe1
override default destructor
2018-11-15 13:15:03 +01:00
lbartoletti
c292e69e49
Merge branch 'master' into extendMapTool
2018-11-15 11:37:26 +01:00