nirvn
5863f63ae1
[projects] Serve default canvas background color through a proper API
2019-10-07 15:47:30 +07:00
Nyall Dawson
0e003e4497
Drop mersenne-twister from analysis
...
This isn't exposed to stable api, is currently unused, and the std
library version should be preferred instead in any case
2019-10-07 10:33:28 +10:00
Nyall Dawson
442282224a
Avoid use of too new CMAKE VERSION_GREATER_EQUAL
2019-10-07 10:33:20 +10:00
Alexandre Neto
54d3c64c19
Update tests
2019-10-07 09:07:45 +10:00
Alexandre Neto
28b24bda51
Better approach for preferredFormat
2019-10-07 09:07:45 +10:00
Alexandre Neto
6918f230b8
Checks is gpkg is available for writing
2019-10-07 09:07:45 +10:00
Alexandre Neto
9f3ed88145
Makes GPKG prefered input format for OGR algs #Fixes 29097
2019-10-07 09:07:45 +10:00
Nyall Dawson
2a13e8a289
Fix build warnings
2019-10-07 09:02:13 +10:00
Harrissou Sant-anna
64e2f426ad
Display the label's background Size Y DD button
...
for regular geometric background shape when setting text format
2019-10-07 07:59:17 +10:00
Nyall Dawson
d5749f8713
Deprecated QgsGeometry::createPolylineFromQPolygonF and
...
QgsGeometry::createPolygonFromQPolygonF
These were internal details which should never have been exposed
to public API
2019-10-07 07:03:34 +10:00
Nyall Dawson
61cb466101
Optimise QgsGeometry::asQPolygonF
2019-10-07 07:03:34 +10:00
Nyall Dawson
8f40c8d1c5
Add QgsLineString::fromQPolygonF
2019-10-07 07:03:34 +10:00
Nyall Dawson
a69e38d9c3
Ensure polygon rings generated for rendering are always closed
...
Avoids issues with unclosed rings and use of spatial algorithms
during rendering (e.g. GEOS routines)
2019-10-06 19:46:13 +10:00
Alessandro Pasotti
bf7df22ddb
Merge pull request #32120 from elpaso/bugfix-gh32020-server-contextual-legend
...
Fix Server getlegendgraphic duplicated symbols
2019-10-06 09:06:04 +02:00
Nyall Dawson
761b2e7785
Don't crash QgsTessellator when an empty polygon is added
2019-10-06 05:29:50 +10:00
Nyall Dawson
e69656a110
Optimise xy geometry conversion
2019-10-06 05:29:29 +10:00
Nyall Dawson
e70f11c4e1
Optimise QgsGeometry::fromQPolygonF
2019-10-06 05:29:29 +10:00
Alessandro Pasotti
61579538b2
Oouch (again) on that silly WMS 1.3.0 inverted axis
...
A reminder for me (from geoserver docs)
The WMS 1.3.0 specification mandates that the axis ordering for geographic coordinate systems defined in the EPSG database be latitude/longitude, or y/x. This is contrary to the fact that most spatial data is usually in longitude/latitude, or x/y. This requires that the coordinate order in the BBOX parameter be reversed for SRS values which are geographic coordinate systems.
2019-10-05 19:22:54 +02:00
Borys Jurgiel
8de7f3aae3
Merge pull request #32100 from borysiasty/fix_dash_in_zip_filenames
...
[Plugin installer] Fix handling zip file names with a dash as a version suffix separator
2019-10-05 16:26:21 +02:00
Alessandro Pasotti
f2a7ab84ac
Add another control image mask
2019-10-05 13:09:47 +02:00
Nyall Dawson
3ec34e8ce8
Silence deprecation warning
2019-10-05 19:38:04 +10:00
Nyall Dawson
70fe6c8c23
Use a prepared geometry in topology checker overlap check
2019-10-05 12:13:35 +10:00
Nyall Dawson
b4c1f0ad1a
Remove useless check slowing down topology duplicate geometry check
2019-10-05 12:13:35 +10:00
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
ea755a0e68
Catch cs exception and add another control file mask
2019-10-04 23:18:52 +02:00
Alessandro Pasotti
382ebb5b72
Added control image 3
2019-10-04 23:18:47 +02:00
Alessandro Pasotti
4d1cc86710
Control image mask 2
2019-10-04 23:18:38 +02:00
Borys Jurgiel
5c1cc4a40d
[Plugin installer] properly handle zip file names with a dash as a version suffix separator
2019-10-04 22:17:51 +02:00
Alessandro Pasotti
05170711f0
Code layout and mask image 1
2019-10-04 17:20:41 +02: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
ae69775022
Fix Server getlegendgraphic duplicated symbols
...
... and fix a few build warnings
Now uses the hit test from QGIS API.
Fixes #32020
2019-10-04 16:12:26 +02:00
Alessandro Pasotti
0a97040936
WMS contextual legend: fix unreported issue with reprojection
...
When using contextual WMS legends with a different projection
in the canvas and in the layer, the extent was not transformed.
2019-10-04 16:00:02 +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