53983 Commits

Author SHA1 Message Date
Nyall Dawson
b1b247b9f2 Bulk doxygen TRUE/FALSE literal conversion 2019-02-27 09:41:11 +10:00
Nyall Dawson
eed9852fb9 Add TRUE and FALSE macros for use in doxygen comments
For the c++ api dox these expand to "\c true" and "\c false" (the
\c directive indicates a code literal value), and for sipify/Python
they expand to ``True`` and ``False`` (`` is sphinx annotation
for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Juergen E. Fischer
5aecf74e9a saga help fix 2019-02-26 23:17:50 +01:00
Juergen E. Fischer
2f431bc1f3 i18n:
* include processing algorithm descriptions from yaml (with yaml fixes)
* create ui instead of cpp where possible and use -no-ui-lines to avoid
  artificial ever changing line numbers in ts files
* drop old used scripts: create_new_ts.sh, create_new_ts.sh and
  integrate_function_help.pl, update_ts_files.sh
2019-02-26 22:38:53 +01:00
Nyall Dawson
8105905189 [browser] Always open xlsx/csv/ods files as layers, instead of just
checking the file extension (by default)

These formats are inexpensive to open, and doing so allows browser to
display all sheets from the files in the tree (and gives correct
'no geometry' icon for the file)
2019-02-27 06:06:23 +10:00
Nyall Dawson
0a1d6444e3 Useful tooltips for length/precision widgets
Because *I* always get tripped up by these!
2019-02-27 06:06:01 +10:00
Nyall Dawson
49742c302a [needs-docs][processing] Add option to check validity alg to ignore self-intersection
causing rings errors

By default the algorithm now uses the strict OGC definition of polygon validity, where
a polygon is marked as invalid if a self-intersecting ring causes an interior hole.
If the "Ignore ring self intersections" option is checked, then this rule will be
ignored and a more lenient validity check will be performed.

Refs #16418, refs #21336
2019-02-27 06:05:26 +10:00
Nyall Dawson
4e04d02293 By default, validity check should treat ring self intersections as invalid
We use the OGC definition of validity to ensure consistent results
with PostGIS, GDAL, etc

Fixes #16418, fixes #21336
2019-02-27 06:05:26 +10:00
Nyall Dawson
35f613d45e Avoid firing up a thread for blocking GEOS based validity checks
It's an unnecessary expense. Also fix duplicate code.
2019-02-27 06:05:26 +10:00
Nyall Dawson
6dbe4ee5fb Add QgsGeometry::isGeosValid option to ignore self-touching rings 2019-02-27 06:05:26 +10:00
Blottiere Paul
1e49bb1543
Merge pull request #9290 from pblottiere/fix_doc_2
Update doc
2019-02-26 14:38:30 +01:00
Blottiere Paul
3fbda69669 Update sip binding 2019-02-26 12:56:14 +00:00
Blottiere Paul
3073d34fdd Fix typo in canvas doc 2019-02-26 12:55:59 +00:00
Blottiere Paul
fa176061bd Fix typo in raster layer doc 2019-02-26 12:55:45 +00:00
Blottiere Paul
7bcba35ab4
Merge pull request #9288 from pblottiere/fix_doc
Update doc
2019-02-26 13:37:36 +01:00
Blottiere Paul
3e2af2aec1 Update sip 2019-02-26 10:12:55 +00:00
Blottiere Paul
d6ea67a495 Remove duplicated word in doc 2019-02-26 10:12:34 +00:00
Blottiere Paul
6e39543983
Merge pull request #9242 from pblottiere/getprint_svg
Some cleaning [server]
2019-02-26 10:55:40 +01:00
Blottiere Paul
0e8757b408
Merge pull request #9236 from signedav/scale_getlegendgraphic
On GetLegendGraphics take the scale context from map parameters
2019-02-26 10:19:56 +01:00
David Signer
6b09be7f32 update docu since 3.8 2019-02-26 09:28:03 +01:00
Blottiere Paul
0a76d7c108 Fixes unit tests 2019-02-26 08:24:37 +00:00
Blottiere Paul
58c38f2fb2 Remove duplicated public/private 2019-02-26 08:24:37 +00:00
Blottiere Paul
e8181e9120 Update doc for 3.8 2019-02-26 08:24:37 +00:00
Blottiere Paul
77d2aaa1e3 Return default value if value is empty 2019-02-26 08:24:37 +00:00
Blottiere Paul
7e5dc18548 Remove redundant return 2019-02-26 08:24:37 +00:00
Blottiere Paul
8e4755cae6 Remove another function 2019-02-26 08:24:37 +00:00
Blottiere Paul
14f201caff Add unit test 2019-02-26 08:24:37 +00:00
Blottiere Paul
0f3b365438 Update test for not mandatory format parameter 2019-02-26 08:24:37 +00:00
Blottiere Paul
f636147fbb Remove unused functions 2019-02-26 08:24:37 +00:00
Blottiere Paul
d67875fee8 Replace getter names 2019-02-26 08:24:37 +00:00
Blottiere Paul
5d59d66915 Update doc 2019-02-26 08:24:37 +00:00
Blottiere Paul
e0cbf33437 Use static notation 2019-02-26 08:24:37 +00:00
Blottiere Paul
7cce46e144 Fix error message 2019-02-26 08:24:37 +00:00
Blottiere Paul
e25f60c19f Set png as the default format for images in WMS service 2019-02-26 08:24:37 +00:00
Blottiere Paul
11e80b1b6f Replace string by enum for format 2019-02-26 08:24:37 +00:00
Matthias Kuhn
81f0c5ce00
Merge pull request #9241 from m-kuhn/merge-lines-on-dissolve
[processing] Merge lines on dissolve
2019-02-26 07:54:51 +01:00
Nyall Dawson
fb324f3e43 srs.db add Australian entries
insert into tbl_datum_transform VALUES (8447,100020,4283,7844,9615, 'GDA94_GDA2020_conformal_and_distortion.gsb', null, null, null, null,null, null, 'Conformal + Distortion: includes regional distortion',null,1,0,2575);

insert into tbl_datum_transform VALUES (8446,100021,4283,7844,9615, 'GDA94_GDA2020_conformal.gsb', null, null, null, null,null, null, 'Conformal: predominantly plate tectonic motion (~1.8m NNE)',null,1,0,2575);

insert into tbl_datum_transform VALUES (1804,100022,4203,4283,9615, 'National_84_02_07_01.gsb', null, null, null, null,null, null, 'Full coverage two-way transformation file in those states that originally adopted AGD84 - West Australia, South Australia, Queensland',null,1,0,2576);

insert into tbl_datum_transform VALUES (1803,100023,4202,4283,9615, 'A66_National_13_09_01.gsb', null, null, null, null,null, null, 'Full national coverage two-way transformation file',null,1,0,2575);
2019-02-26 12:49:02 +10:00
volaya
f76be664fe [processing] Script decorators: correctly check that parent parameter exist 2019-02-26 08:31:11 +10:00
Juergen E. Fischer
206cc96014 debian packaging:
* remove xenial & stretch support
* remove globe plugin
* always enable 3d
2019-02-25 22:28:00 +01:00
Bas Couwenberg
aeec6dfa8e debian packaging updates (squashed pull request #9254)
1b1e60d2a5 Use libqscintilla2-qt5-dev instead of virtual package.
dd5003e1e4 Use "-noawait" variant for qgis-crssync trigger.
d0e156e44e Remove obsolete diversions in qgis.preinst, but don't rename.
25a677e1ff Update watch file to use HTTPS.
7ca6a995eb Update registration URL in upstream metadata.
789d4fb56b Don't recommend liblwgeom-dev, it shouldn't be used by other projects.
7d3844047a Update packaging for Python 3.
bb0017c793 Remove documentation outside /usr/share/doc from non-doc packages.
cd7f1fd9b4 Fix FTBFS when building only arch:any packages (with -B).
03e4d0b6e1 Add -DNDEBUG flag for non-debug builds.
c6cb002fc9 Include percentage of started edges in ninja output.
f86761e712 Set -j & -v ninja options based on DEB_BUILD_OPTIONS.
3b07a54606 Use pkg-info.mk variables instead of dpkg-parsechangelog output.
5e18a74d8d Align paths in links file to improve readability.
2bd52f39b0 Don't use libjs-jquery for Doxygen docs.
3b9e875bbf Simplify python-qgis.install with common path to match all files.
96d5f202a3 Don't rely on QT_PLUGINS_DIR placeholder in template files.
74c3750741 Update copyright file.
1b596f5c21 Don't rely on QGIS_ABI placeholder in template files.
aaabb94e70 Simplify lintian overrides.
38fad4d44c Don't rely on GRASSVER placeholder in template files.
9c772d174f Override dh_gencontrol to set GRASS ABI dependency with substvars.
8b9c14ba76 Reorder paths in install files.
c518e14d1b Reorder (build) dependencies & remove duplicates.
2019-02-25 22:24:59 +01:00
Alessandro Pasotti
a3e37420c8
Merge pull request #9273 from elpaso/bugfix-fix-path-resolver-urls
fix path resolver urls
2019-02-25 22:03:10 +01:00
Víctor Olaya
29b952d90c [processing] consider destination params as outputs when defining scripts 2019-02-26 06:56:28 +10:00
Alessandro Pasotti
84e903c161 Typo 2019-02-25 19:52:20 +01:00
Nyall Dawson
519a30f10c Standardise dox for signals 2019-02-26 03:24:31 +10:00
Nyall Dawson
cab2dcf62c Fix regex used to replace [% %] expressions in text
Was incorrectly truncating at first ']' character

Fixes #21366
2019-02-26 03:24:09 +10:00
David Signer
61ceeb7968 expected images from travis 2019-02-25 17:07:44 +01:00
Alessandro Pasotti
98bd6d651b Fix path resolver with extra URL-like stuff
Like for CSVs: see #21150
2019-02-25 15:23:18 +01:00
Alessandro Pasotti
a615a3b3f5
Merge pull request #9260 from elpaso/form-background-color
Add bg color option to form containers
2019-02-25 15:13:36 +01:00
David Signer
8d1ceda878 correct images from qgis travis build 2019-02-25 15:10:14 +01:00
Alessandro Pasotti
ed2254a203 Typo 2019-02-25 15:04:21 +01:00