1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-12 00:02:25 -04:00

58145 Commits

Author SHA1 Message Date
David Signer
8592046e66 do not trigger editing finished in inFocus event like it does in outFocus event
function docs in header
2019-10-08 07:40:37 +02:00
Jorge Gustavo Rocha
dcab584b2d Uh-oh misspelling fix 32117 2019-10-08 10:02:03 +10:00
Even Rouault
4762e6ae06
OGR sublayers: add a 'Description' column in the GUI
Some OAPIF/WFS3 datasets uses UUID as the layer name, so this is highly
impractical for the user. However they publish a user friendly name in
the TITLE metadata, so use that.
2019-10-07 19:46:36 +02:00
David Signer
896f26ada3 use displayCurrentDate in clear for the clear button and for the setDateTime initialization it overwrites the value with the null value representation by calling displayNull after 2019-10-07 17:36:50 +02:00
David Signer
37a2765289 go to the end of the lineEdit content, otherwise it cannot be set to the null representation value 2019-10-07 17:35:52 +02:00
David Signer
878e6e8d78 check if null instead of the value of the lineEdit 2019-10-07 17:27:08 +02:00
David Signer
1df5213da6 if the lineEdit contains the Null Representation it should replace the text with the current date 2019-10-07 17:20:47 +02:00
Even Rouault
aeaaabd8e3
[OGR provider] Optimize for OAPIF/WFS3 datasets
OAPIF/WFS3 datasets can be very slow, up to the point where this freeze QGIS
for hours, when they have a lot of collections (i.e. layers), because:
- the feature count is absent from collection metadata, so it
  would require a full scan of the collection
  See https://github.com/opengeospatial/ogcapi-features/issues/261
- the layer geometry type is absent from collection metadata.
  See https://github.com/opengeospatial/ogcapi-features/issues/262
  OGR curretly does one /items request to get the first features and guess
  the geometry type for it, but this approach is still too slow with datasets
  with a huge number of collections.
- the layer extent is generally present in the metadata, but some servers
  do not offer it, so if OLCFastGetExtent reports FALSE, return a world bbox
  instead of iterating over the whole collection

This is best used together with the latest enhancements & fixes of the
OAPIF driver of GDAL master (503585c5abe8c3f8fde428af8b3f511d4fa3359f)
or with their backport to GDAL 3.0 branch (https://github.com/OSGeo/gdal/pull/1910)
2019-10-07 17:08:11 +02:00
Even Rouault
4a86911148
splitSubLayerDef(): remove useless code path
Since 144e9a2e457d48ca7680d6bbc7a0c74b59a6b2ad, we no longer use
':' as the separator for the OGR sublayer informations. Consequently
we no longer need the hack that was needed to merged back Windows
paths like "C" : "\foo"
2019-10-07 17:08:11 +02:00
Juergen E. Fischer
cb0cc43722 fix 4cbcfbbd4 2019-10-07 17:00:49 +02:00
nirvn
13cd3d6597 [ui] Fix overview panel's extent polygon red-on-red visibility issue 2019-10-07 17:57:28 +07:00
nirvn
adc25ec8f7 [canvas] Clear cache to re-create selected feature highlight color 2019-10-07 15:47:30 +07:00
nirvn
06b8857e59 [projects] Add Q_PROPERTYs for backgroundColor and selectionColor 2019-10-07 15:47:30 +07:00
nirvn
3fefd137b7 Fix spelling, revert world_map.gpkg change (arg) 2019-10-07 15:47:30 +07:00
nirvn
607d4ed1ae [projects] Insure backgroundColorChanged / selectionColorChanged signals emitted only when color changes 2019-10-07 15:47:30 +07:00
nirvn
09d5307592 Use project signals to update canvas background and selection colors 2019-10-07 15:47:30 +07:00
nirvn
afd4269787 [canvas] Refresh canvas when the canvas (i.e. background) color is changed 2019-10-07 15:47:30 +07:00
nirvn
23cc659a05 [projects] Add signals for background color and selection color change 2019-10-07 15:47:30 +07:00
nirvn
6b1e31170e Add tests 2019-10-07 15:47:30 +07:00
nirvn
6bc83965a8 [projects] Serve selection color through a proper API 2019-10-07 15:47:30 +07:00
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 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 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 
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