29296 Commits

Author SHA1 Message Date
Sebastian Dietrich
20283a4dfc Unified the way the column comboboxes are filled when executing the query and when pressing the load columns button. 2015-10-17 02:19:41 +02:00
Sebastian Dietrich
35c3ad715c When loading a query as a postgis layer the primary key may now also span multiple columns. 2015-10-17 00:35:25 +02:00
Sebastian Dietrich
86ab6c25d8 Moved the code to determine the primary key for a view using the URI keyColumn to a separate function. 2015-10-17 00:28:17 +02:00
Nyall Dawson
24b18bc426 Call qDeleteAll on containers themselves, rather than using
qDeleteAll( container.values() ). The values() call isn't
needed and requires building a QList of values first.

Thanks clazy - keep the good optimisations coming!
2015-10-17 09:15:51 +11:00
Radim Blazek
6a1f1fdf0d [GRASS] fixed input region check 2015-10-16 19:33:12 +02:00
Radim Blazek
b2ca9d5141 [GRASS] fixed crash when edit renderer is set manually 2015-10-16 19:14:29 +02:00
Radim Blazek
f810573e72 [GRASS] update table after new feature cat was set 2015-10-16 19:01:49 +02:00
Radim Blazek
15af98745b [GRASS] add edit renderer when plugin is inited 2015-10-16 18:35:21 +02:00
Radim Blazek
3c85c7ec95 [GRASS] distinguish symbol for left/right broken boundary 2015-10-16 17:27:17 +02:00
Steven Mizuno
7f731ae309 fix legendLayerZoomNative to use diagonal of source raster pixel
to match the use of the diagonal of mapCanvas pixel.
Also fix spelling in a comment.

(fixes #3609)
2015-10-16 16:44:41 +02:00
Larry Shaffer
872d5b3a82 [auth] Move pass file support to manager class; for both server/app
- Ensure pass file env var is skipped by application and later stripped
2015-10-16 06:42:18 -06:00
volaya
545a90de8f [processing] fixed scrolling to anchor in help pages
fixes #13506
2015-10-16 14:00:13 +02:00
Radim Blazek
51a692dc22 [GRASS] disable view output if output was not entered 2015-10-16 13:39:20 +02:00
Radim Blazek
5e441ac684 coverity fixes 2015-10-16 13:26:45 +02:00
Nyall Dawson
f7550b3515 Add some more basic area and length unit test cases 2015-10-16 22:12:07 +11:00
Nyall Dawson
0151227b10 Allow shortcut calculation of perimeter when no ellipsoid set 2015-10-16 21:48:51 +11:00
Nyall Dawson
2e1d2d1862 Fix calculation of area/length of mixed geometry collections 2015-10-16 21:38:13 +11:00
Nyall Dawson
725f973840 Fix various Coverity errors (inc mem leaks) 2015-10-16 21:36:38 +11:00
Nyall Dawson
772ab8e249 Update test mask images 2015-10-16 17:46:22 +11:00
Nyall Dawson
55c27ce710 Add some extra unit tests for geometry:
- Add some tests for conversion to/from WKT, using a bulk lot of testsdata
from PostGIS
- Add some tests for area/length calculation, using some test data and
results from PostGIS/geos unit tests
- Add tests for spatial relations, using test data from PostGIS. Note
that this required adding support for calculating the DE-9IM relation. I'll
expose this to users via the expression engine in 2.14.

Along the way this also fixes a number of bugs relating to WKT geometry
import, such as
- add support for alternate MultiPoint(1 1,2 2,...) format
- fix GeometryCollection to support collections with multi* children
and GeometryCollection children (allowed by spec)
2015-10-16 17:46:06 +11:00
Nathan Woodrow
7f325d5015 Merge pull request #2377 from nirvn/toolbar_icon_improvements
improve and vectorize several edit toolbar icons
2015-10-16 16:16:03 +10:00
nirvn
f3a45cd400 improve and vectorize several edit toolbar icons 2015-10-16 09:32:29 +07:00
Nyall Dawson
34dc314345 Fix exporting geometry collections to WKT
Child types were incorrectly being dropped when the collection
consisted of mixed geometry types (eg line & polygon) (refs #13608)
2015-10-16 07:48:42 +11:00
Paolo Cavallini
d70a0adc2a Merge pull request #2375 from NaturalGIS/saga_flow_accu
Fix SAGA 2.2.0 flow accumulation modules
2015-10-15 18:29:46 +02:00
Larry Shaffer
d19165b7c9 [server] Fix #13291; reinstate default project read in fcgi directory
- Ensure no reassignment of mConfigFilePath by MAP parameter or from
  QGIS_PROJECT_FILE env var
2015-10-15 10:23:26 -06:00
Giovanni Manghi
ec3fb23afb fix saga 2.2.0 flow accumulaiton modules (ex catchment areas). Files added. 2015-10-15 17:19:26 +01:00
Giovanni Manghi
2bf1e6870c fix saga 2.2.0 flow accumulaiton modules (ex catchment areas) 2015-10-15 17:19:03 +01:00
Marco Hugentobler
f205acf2ba Fix geometry icons in postgres dialog for new wkb types 2015-10-15 16:23:02 +02:00
Salvatore Larosa
c7e732b2c7 [widget editor][fix #13486] follow up #2316 and 5ac5217 2015-10-15 14:48:43 +02:00
Radim Blazek
0ded8553bf [GRASS] show init error in tools title 2015-10-15 12:44:10 +02:00
Radim Blazek
c358aea04d [GRASS] create new cat on attribute change if it does not exist 2015-10-15 11:58:42 +02:00
Radim Blazek
afdf4e1ac4 [GRASS] use text type with sqlite 2015-10-15 11:28:15 +02:00
Radim Blazek
fb76501fe3 [GRASS] minor fixes 2015-10-15 10:30:47 +02:00
Marco Hugentobler
81dc11a924 Fix numerical problems in circular string rendering 2015-10-15 09:15:28 +02:00
Nyall Dawson
5654eeca55 Fix area calculation when OTF active and no ellipsoid (fix #13601) 2015-10-15 17:51:07 +11:00
Nyall Dawson
5ed3d1b73f Use QString::arg multi argument method to avoid extra heap allocations 2015-10-15 17:51:06 +11:00
Henry Walshaw
48aeb8c03c Fix ogrsql path quoting
Fix the ogrsql path quoting which left the extra quotes around the input layer path

Signed-off-by: Henry Walshaw <henry.walshaw@gmail.com>
2015-10-15 09:32:34 +11:00
Nyall Dawson
f50e1a757a Fix broken apply button in label config dialog (fix #13543) 2015-10-15 07:21:49 +11:00
Radim Blazek
fdbdd783dd [GRASS] fixed crash in editing caused by different off_t size 2015-10-14 18:58:00 +02:00
Radim Blazek
c2692f1fc7 [GRASS] fixed qgis.d.rast binary mode on windows 2015-10-14 16:35:27 +02:00
Radim Blazek
b8df524542 fixed win build 2015-10-14 16:25:23 +02:00
volaya
2f9db5adef [processing] fixed handling output html files in grass 7 2015-10-14 13:24:16 +02:00
Radim Blazek
68ebd4bc7b [GRASS] re-enabled module output layer freeze in canvas 2015-10-14 13:16:09 +02:00
volaya
70bc957439 [processing] do not assume singleton Processing when defining temp folder
fixes #13588
2015-10-14 13:14:02 +02:00
volaya
5ca556670a [processing] do not write CRS file if output is not a layer
fixes #13590
2015-10-14 13:14:01 +02:00
Nyall Dawson
e92e910601 Also show features with modified geometry when "show edited and new
features" filter is active in attribute dialog (fix #11684)
2015-10-14 20:47:08 +11:00
Radim Blazek
9fe1b655e1 [GRASS] keep layer specific suppress form mode 2015-10-14 10:29:15 +02:00
Radim Blazek
d896c01393 [GRASS] prepared off_t fix on windows 2015-10-14 10:09:32 +02:00
Paolo Cavallini
c41852649c Merge pull request #2369 from neteler/patch-73
Update to GRASS GIS 7.0.x
2015-10-14 07:19:05 +02:00
Paolo Cavallini
52c50673f7 Merge pull request #2370 from neteler/patch-72
Update to GRASS GIS 7.0.x
2015-10-14 07:17:43 +02:00