Nyall Dawson
1f8dd0de10
More responsive topology checker cancelation
2019-10-05 12:13:35 +10:00
Nyall Dawson
cea81aa938
Use proper API for geometry validity check in topology test
2019-10-05 12:13:35 +10:00
Nyall Dawson
9a2ce62d01
Better (more responsive) handling of cancelation during topology checks
2019-10-05 12:13:35 +10:00
Nyall Dawson
606bcd3514
Fix crash in topology checker plugin after a check is canceled
...
during index preparation
2019-10-05 12:13:35 +10:00
Nyall Dawson
5101386b37
[topology] Fix topology checker multipart check
...
Instead of checking the geometry type, actually check the number
of geometry parts present
Fixes #28361
2019-10-05 12:13:35 +10:00
Nyall Dawson
64375ad4d2
Fix crash on exit when topology checker dock is open with visible results
2019-10-05 12:13:35 +10:00
Nyall Dawson
7693e4ee90
Try to resolve dox warning
2019-10-05 12:13:14 +10:00
Nyall Dawson
eb59842f31
C++ API for generating random points inside geometry
...
Adds an optimised c++ method for generating random points inside
a polygon geometry, using a tessellation based approach to
avoid the inefficiencies of the brute force filtered-random-points-within-extent
approach.
2019-10-05 12:13:14 +10:00
Alessandro Pasotti
0b1b37c37b
Merge pull request #32108 from elpaso/bugfix-gh32089-db-manager-force-to-single-part
...
Fix layer exporter force to single-part
2019-10-04 16:17:49 +02:00
Alessandro Pasotti
f743a4c242
Merge pull request #32106 from elpaso/bugfix-gh32065-server-json-content-type
...
Server fix #32065 geojson content type accept
2019-10-04 16:17:12 +02:00
Alessandro Pasotti
e2abf207e1
Update src/core/qgsvectorlayerexporter.cpp
...
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-04 10:37:20 +02:00
Juergen E. Fischer
9a55675848
fix 85d2cb042
2019-10-04 03:18:00 +02:00
Nyall Dawson
9f1ce08418
Don't load print layouts when opening project browser items
...
This can cause crashes, e.g. if the layouts use HTML based items
(since QWebPage cannot be used on background threads)
2019-10-04 05:10:45 +10:00
Nyall Dawson
d0ed374662
Add QgsProject flag to avoid loading print layouts when reading a project file
...
Speeds up project read time when these aren't needed, and also potentially
avoids issues caused by non-thread-safety in layouts (since some items rely
on classes which can only be used in the main thread e.g. QWebPage)
2019-10-04 05:10:45 +10:00
Nyall Dawson
532524961c
[layouts] Don't try to load HTML content when a layout is created
...
in a background thread
The underlying QWebPage class used to render these can ONLY be
used from the main thread. So we raise an error and render nothing
to avoid crashes.
2019-10-04 05:10:18 +10:00
Juergen E. Fischer
4cbcfbbd44
debian packaging: add eoan
2019-10-03 20:35:34 +02:00
Alessandro Pasotti
2fee844ad0
Fix layer exporter force to single-part
...
Try to respect the option and fails if is there
any real MULTI geometry in the input layer.
Fixes #32089
2019-10-03 18:41:37 +02:00
Denis Rouzaud
97435d38ee
Merge pull request #32095 from 3nids/from_init_python_url_v2
...
allow to use remote content for init code file path in attribute form
2019-10-03 17:48:12 +02:00
Denis Rouzaud
411d9957b1
disable test
...
it is segfaulting on Travis no idea why
2019-10-03 13:40:15 +02:00
Alessandro Pasotti
0c5f67787c
Merge pull request #32088 from NaturalGIS/change_confusing_dbmanager_option_name
...
change confusing parameter name in DB Manager
2019-10-03 12:23:30 +02:00
Nyall Dawson
387272d441
QgsProject documentation improvements
2019-10-03 20:12:28 +10:00
Harrissou Sant-anna
a176107c77
Visual cleanup for qgsProject in pyqgis doc
2019-10-03 20:12:28 +10:00
Alessandro Pasotti
4a94a9054c
Added test reference file
2019-10-03 11:47:07 +02:00
Alessandro Pasotti
8a7ba51b3b
Server WFS3 be nice too with geojson content types
...
Fixes #32065 for WFS3
2019-10-03 10:40:43 +02:00
Alessandro Pasotti
57dda33571
Server be nice and accept geojson mime type variants
...
Fixes #32065
2019-10-03 10:38:15 +02:00
Denis Rouzaud
8c198a9f46
run lambda if macros are allowed
...
not only when asking
also show a warning when message bar exists
2019-10-03 10:20:10 +02:00
Denis Rouzaud
812308fc93
download immediately
2019-10-03 07:32:46 +02:00
Nyall Dawson
e7e41e1cb9
Add stable api for setting/retrieving project custom scales
...
Previously this was all done through raw project key manipulation,
but there's a use case for exposing this nicely for use by plugins.
2019-10-03 14:15:19 +10:00
lbartoletti
775ef66c41
fix build
2019-10-03 13:33:46 +10:00
lbartoletti
bb523ebfb3
one wmore deprecated method
2019-10-03 13:33:46 +10:00
lbartoletti
76654511f7
fix build
2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf
deprecate methods in qgsvectorlayereditutils. Better deprecated dox.
2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15
update dox
2019-10-03 13:33:46 +10:00
lbartoletti
31e416c4a9
rename QgsPointSequence QgsMapToolCapture::points() const; to QgsPointSequence QgsMapToolCapture::pointsZM() const;
2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8
fix dox and tests
2019-10-03 13:33:46 +10:00
lbartoletti
738e052b87
fix qgsgeometry
2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9
deprecate addTopologicalPoints methods with QgsPointXY
...
deprecate other methods
2019-10-03 13:33:46 +10:00
Harrissou Sant-anna
575ecffe30
Add "concatenate_unique" as aggregate parameter
...
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359
Add "concatenate_unique" and "array_agg" as aggregate parameter
...
of aggregate function
2019-10-03 13:28:36 +10:00
Etienne Trimaille
3159d6f199
update docstrings in qgsdatetimeedit.h
2019-10-03 13:17:04 +10:00
Etienne Trimaille
d61fab7783
implement date() and time() in QgsDateTimeEdit to handle NULL values
2019-10-03 13:17:04 +10:00
Peter Petrik
c64c088465
fix #29188 changing of color ramp for mesh layer now works without clicking on load button first
2019-10-03 13:16:02 +10:00
David Signer
1cd73a7387
set the line edits null value over setSpecialValueText if existing
...
fixes #22883
2019-10-03 13:15:33 +10:00
David Signer
ff26ad1cfb
testing focus and null representations for QgsSpinbox as well (not only QgsDoubleSpinBox)
2019-10-03 13:15:33 +10:00
David Signer
2633dc239a
remove setNullValues on lineEdit because this should be set over the setSpecialValue
2019-10-03 13:15:33 +10:00
David Signer
fcdc8c704c
check widget if it's null instead of redundant text if contained text is the null representer
2019-10-03 13:15:33 +10:00
Denis Rouzaud
f03e1c88bd
add missing import
2019-10-02 21:17:37 +02:00
Denis Rouzaud
6bb82d1dc6
fix API docs
2019-10-02 16:10:13 +02:00
Denis Rouzaud
e03b8abc1a
fix test
2019-10-02 15:53:15 +02:00
Denis Rouzaud
5f36954778
test if python macros can be run in form
2019-10-02 15:53:15 +02:00