[Qgis-developer] Publishing Custom Python Expression Functions for QGIS

Khare Simran simran.khare at hsr.ch
Mon Apr 10 02:10:27 PDT 2017


Hi Mr. Sutton and Prof Keller,


Thanks for the suggestion. I've renamed the function to max_incremented('fieldName').


Regards,

Simran

________________________________
From: Qgis-developer <qgis-developer-bounces at lists.osgeo.org> on behalf of Stefan Keller <sfkeller at gmail.com>
Sent: Saturday, April 8, 2017 8:12:29 PM
To: Tim Sutton
Cc: qgis-developer at lists.osgeo.org
Subject: Re: [Qgis-developer] Publishing Custom Python Expression Functions for QGIS

2017-04-08 0:02 GMT+02:00 Tim Sutton <tim at kartoza.com<mailto:tim at kartoza.com>>:
> maybe max_incremented('fieldName') as a candidate for a less verbose name?

+1

:Stefan



2017-04-08 0:02 GMT+02:00 Tim Sutton <tim at kartoza.com<mailto:tim at kartoza.com>>:
Hi

On 05 Apr 2017, at 11:00 AM, Khare Simran <simran.khare at hsr.ch<mailto:simran.khare at hsr.ch>> wrote:


Hi,
I am Simran, an intern at the Institute for Software in HSR Rapperswil. I have come up with some Custom Python Expression functions for QGIS. They are:

1. hstore_get_value(), hstore_exist(), hstore_contains_key_value() and hstore_contains_hstore() :

These functions can search for keys and values in hstore strings. They are useful for selecting features based on their tags, which are of hstore type.



2. maxofallvaluesplusone('fieldName')

maybe max_incremented('fieldName') as a candidate for a less verbose name?

-


[cid:1A5DF6DE-E302-4C28-BFBD-29663CBF1351]







Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org<http://QGIS.org>

Visit http://kartoza.com<http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net<http://freenode.net>

Kartoza is a merger between Linfiniti and Afrispatial


_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170410/a5a6d33f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: KartozaNewLogoThumbnail.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170410/a5a6d33f/attachment-0001.jpg>


More information about the Qgis-developer mailing list