385 Commits

Author SHA1 Message Date
Nyall Dawson
7b18f67662 Include NULL in expression builder available functions list 2015-07-08 16:14:15 +10:00
Nyall Dawson
feb3bee858 Add a bunch of optimised fuzzy string matching algorithms.
A new QgsStringUtils class has been added containing some
common fuzzy matching algorithms, including Levenshtein edit
distance and Soundex. These can be used for finding "similar"
strings in a table.

Expression functions for these algorithms have also been
added to a new "Fuzzy Matching" group.
2015-06-27 11:51:56 +10:00
Tomáš Pospíšek
0af69ed9fb Add pertinent example for 'LIKE' operator
The usage examples for the 'LIKE' operator are not really pertinent. The proposed change adds an example that actually illustrates the usual usage of the 'LIKE' operator.
2015-06-03 12:51:04 +02:00
Nyall Dawson
bae9cea4f9 Add missing files from 96db1bd 2015-05-03 21:09:47 +10:00
Nyall Dawson
96db1bdb7e Allow expression functions to include 0 length parameter lists
This change allows for some cleanups to the built in expression
functions, by making it possible to differentiate variables
(eg $feature) from functions which don't require parameters
(eg uuid(), now()... ). Also adds aliases for uuid(), now(), and
pi().
2015-05-03 20:57:37 +10:00
Nyall Dawson
bd9e02be95 Add alias support for expression functions
Standardise naming of all internal functions to lowercase with
underscore convention. Add aliases for old names to avoid
breakage.
2015-05-03 20:57:36 +10:00
Juergen E. Fischer
812d5b1183 remove unused button in categorized renderer ui 2015-04-17 15:59:39 +02:00
Chris Crook
99e6a6253f Removing processing of extraneous blank fields and enlarged arrays 2015-03-22 08:52:50 +13:00
Juergen E. Fischer
bdcbeb19ad fix format_date example (fixes #12016) 2015-01-20 21:17:18 +01:00
Juergen E. Fischer
8d20272748 function help fixes 2015-01-09 19:49:01 +01:00
Juergen E. Fischer
b52fff303f avoid duplicate function help entry 2015-01-09 19:33:22 +01:00
rldhont
a0ffad2532 [FEATURE] Add get and transform geometry in Expression
In version 2.6, new keywords has been added to Expression :
* $currentfeature - returns the current feature
* $atlasfeature - returns the atlas feature
* getFeature - gets a matching feature from a layer

But I think, Expression lacks a few keywords :
* geometry - returns the feature's geometry
* transform -  returns the transformed geometry

These new keywords can be used with getFeature for some geometry tests like
 intersects, crosses, contains, etc

Tests has been added to geometry and transform in Expression
2015-01-02 12:02:55 +01:00
Juergen E. Fischer
98c0771b1a update scripts/fix_allows_to.sh and run it 2014-11-30 01:42:27 +01:00
Werner Macho
c7c107eb9d Merge pull request #1657 from DelazJ/MeasureTools
Update MeasureTools context help
2014-10-28 09:17:48 +01:00
Werner Macho
cad3d2b930 Merge pull request #1658 from DelazJ/AttributeTableContextHelp
Attribute table context help
2014-10-27 20:14:18 +01:00
Werner Macho
362d69cc12 [TRANSUP] more translations and string fix
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-27 13:39:28 +01:00
DelazJ
eef8032122 Adding text about field calculator bar
Adds text about field calculator bar and other stuffs
2014-10-25 20:23:05 +02:00
DelazJ
3ff1985e90 Update QgsMeasureDialog 2014-10-25 11:23:16 +02:00
DelazJ
28a8222a7a Update Measure Tools description
Adding text about angle tools and how tools behave.
2014-10-25 11:22:12 +02:00
DelazJ
1c2f39be0d Add text about measuring angle
Since QGIS 2.0, it is possible to also measure angles but this is not mentioned in the context help.
2014-10-24 19:11:58 +02:00
DelazJ
b6e98f1126 Update QgsAttributeTableDialog 2014-10-24 04:11:38 +02:00
Nathan Woodrow
f8a838d5c5 Fix #11308 - Add missing IN operator 2014-10-04 22:05:07 +10:00
Nathan Woodrow
e4f68b1ac0 Merge pull request #1571 from slarosa/context-help
[context-help] set heading to 3 for heatmap plugin and python console help file
2014-09-14 14:37:22 +10:00
Marco Hugentobler
dab5ff95ff Add function help for getFeature 2014-09-02 16:21:45 +02:00
Salvatore Larosa
8b989424e0 [context-help] set heading to 3 for heatmap plugin and python console help file 2014-09-01 21:39:18 +02:00
Werner Macho
fe4e552e96 [TRANSUP] update sv, some context help fixes
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-08-08 22:52:40 +02:00
Marco Hugentobler
0241d4faf3 Apply pull request #1502 provided by bstroebl: Add ntv2 entry for Thuringia 2014-07-30 11:36:05 +02:00
Nyall Dawson
9abeeb64e6 [FEATURE] New $atlasfeature expression function for returning the current atlas feature. Also clean up the expression groups and move some unrelated functions out of the 'Record' group. 2014-07-10 15:52:48 +10:00
Nyall Dawson
1e39db6a0f [FEATURE] New expression functions for $currentfeature (returns current feature) and 'attribute' (returns value stored in specified field within a feature) 2014-07-10 14:10:44 +10:00
Juergen E. Fischer
1691014069 Remove sqlanywhere plugin and provider (implements #10840) 2014-07-08 08:38:29 +02:00
Juergen E. Fischer
df19f65445 expressions: add help for $uuid (fixes #10094) 2014-06-22 04:23:39 +02:00
Juergen E. Fischer
8cd467bea2 generate context_help and function_help in the same order 2014-06-20 14:22:42 +02:00
Tim Sutton
18af0d811a Fix for Vietnamese UTM 48N projection parameters as reported by Quách Đồng Thắng 2014-06-20 16:57:47 +08:00
Marco Hugentobler
614c1b2199 Change / add ntv2 entries for Portugal 2014-06-20 09:28:39 +02:00
cdavila
a70c865b62 Remove duplicated line 2014-06-17 09:01:16 +02:00
cdavila
8c7b6717c9 Fix wrong reference to geometries in sintax
Geometry a was repeated and geometry was missing
2014-06-17 08:44:56 +02:00
Nathan Woodrow
3499a390d6 Fix #8756 - Update function help for colour functions 2014-05-18 23:28:55 +10:00
Nyall Dawson
2ce741678f Add expression functions for bounding box (bounds), bounding box width & height (bounds_width/bounds_height), and min/max x/y coordinates (xmin/xmax/ymin/ymax) 2014-05-18 21:53:00 +10:00
Juergen E. Fischer
7c75ffa3b0 spelling fixes 2014-05-17 22:02:03 +02:00
Werner Macho
9864bfc11b adding function help for atlasid and atlasgeometry
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-04-10 12:01:18 +02:00
Marco Hugentobler
3224a2fd9e Add OSTN02 info to srs.db. Kindly provided by Nicholas Duggan 2014-03-14 14:36:19 +01:00
Juergen E. Fischer
efabcdfc99 german translation update and translation string fixes 2014-03-11 11:46:46 +01:00
Mathieu Pellerin (nirvn)
5105f5f93e [expression] fix function help following argument ordering shift 2014-02-21 18:43:20 +07:00
Mathieu Pellerin (nirvn)
1c5228cca8 [expression] made wordwrap delimiter string an optional 3rd argument 2014-02-21 18:43:12 +07:00
Mathieu Pellerin (nirvn)
d1c61a02c1 [expression] rework the wordwrap to allow for maximum / minimum line length to wrap, fix test and add two more 2014-02-21 18:43:02 +07:00
Mathieu Pellerin (nirvn)
3cfee81259 [expression] add wordwrap function help file 2014-02-21 18:42:56 +07:00
Marco Hugentobler
c6e0386855 Update srs.db with entries for BeTA2007.gsb (thanks to Robert Nuske) 2014-02-18 14:36:35 +01:00
Radim Blazek
54d3510e75 Reintroduced Google Mercator 900913
insert into tbl_srs (description, projection_acronym, ellipsoid_acronym, parameters, srid, auth_name, auth_id, is_geo, deprecated, noupdate) values ('Google Mercator','merc','WGS84','+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +over +no_defs',900913,'EPSG','900913',0,0,0);
2014-02-14 12:51:34 +01:00
Salvatore Larosa
f70e403b71 add help for bbox function 2014-02-09 19:08:19 +01:00
Marco Hugentobler
467e8f1575 Update srs.db 2014-02-05 21:03:40 +01:00