<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Mr. Sutton and Prof Keller,<br>
</p>
<p><br>
</p>
<p>Thanks for the suggestion. I've renamed the function to max_incremented('fieldName'). 
<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Simran<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Qgis-developer <qgis-developer-bounces@lists.osgeo.org> on behalf of Stefan Keller <sfkeller@gmail.com><br>
<b>Sent:</b> Saturday, April 8, 2017 8:12:29 PM<br>
<b>To:</b> Tim Sutton<br>
<b>Cc:</b> qgis-developer@lists.osgeo.org<br>
<b>Subject:</b> Re: [Qgis-developer] Publishing Custom Python Expression Functions for QGIS</font>
<div> </div>
</div>
<div>
<div dir="ltr">2017-04-08 0:02 GMT+02:00 Tim Sutton <span dir="ltr"><<a href="mailto:tim@kartoza.com" target="_blank">tim@kartoza.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
<div class="gmail_extra">> <span style="font-size:12.8px">maybe max_incremented('fieldName') as a candidate for a less verbose name?</span></div>
<div class="gmail_extra"><span style="font-size:12.8px"><br>
</span></div>
<div class="gmail_extra"><span style="font-size:12.8px">+1</span></div>
<div class="gmail_extra"><span style="font-size:12.8px"><br>
</span></div>
<div class="gmail_extra"><span style="font-size:12.8px">:Stefan</span></div>
<div class="gmail_extra"><span style="font-size:12.8px"><br>
</span></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-04-08 0:02 GMT+02:00 Tim Sutton <span dir="ltr"><<a href="mailto:tim@kartoza.com" target="_blank">tim@kartoza.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">Hi
<div><br>
<div><span class="gmail-">
<blockquote type="cite">
<div>On 05 Apr 2017, at 11:00 AM, Khare Simran <<a href="mailto:simran.khare@hsr.ch" target="_blank">simran.khare@hsr.ch</a>> wrote:</div>
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<div>
<div id="gmail-m_-632576561170174240divtagdefaultwrapper" style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:12pt;font-family:calibri,arial,helvetica,sans-serif">
<p style="margin-top:0px;margin-bottom:0px"></p>
<div class="gmail-m_-632576561170174240_rp_h">
<div class="gmail-m_-632576561170174240ms-font-xl gmail-m_-632576561170174240ms-fwt-r gmail-m_-632576561170174240ms-font-color-neutralPrimary gmail-m_-632576561170174240_rp_i">
<span style="font-size:12pt;font-family:calibri,arial,helvetica,sans-serif">Hi,</span></div>
<div class="gmail-m_-632576561170174240ms-font-xl gmail-m_-632576561170174240ms-fwt-r gmail-m_-632576561170174240ms-font-color-neutralPrimary gmail-m_-632576561170174240_rp_i">
<div style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
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: </div>
<div style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<br>
</div>
<div style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<span style="font-size:12pt"><b>1. </b></span><span style="font-size:12pt"><b>hstore_get_value(), hstore_exist(), hstore_<wbr>contains_key_value() and hstore_contains_hstore() :</b></span></div>
<p style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<span style="font-size:12pt"></span></p>
<div style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<span style="font-size:12pt">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.</span></div>
<p style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<span style="font-size:12pt">  </span></p>
<div style="margin-top:0px;margin-bottom:0px;font-family:calibri,arial,helvetica,sans-serif;font-size:16px">
<span style="font-size:12pt"><b>2. maxofallvaluesplusone('<wbr>fieldName')</b></span></div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
</span>
<div>maybe max_incremented('fieldName') as a candidate for a less verbose name?</div>
<div><br>
</div>
</div>
<div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;line-height:normal;text-align:center">
<span>—</span></div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;line-height:normal;text-align:center">
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<br class="gmail-m_-632576561170174240Apple-interchange-newline" style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span><span><span><span><span><img id="gmail-m_-63257656117017424043E58CC4-057F-437C-865B-10DA43C32D11" src="cid:1A5DF6DE-E302-4C28-BFBD-29663CBF1351"></span>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<br class="gmail-m_-632576561170174240Apple-interchange-newline">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<b>Tim Sutton</b></div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<b>Co-founder:</b><span class="gmail-m_-632576561170174240Apple-converted-space"> </span>Kartoza</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<b>Project chair:</b><span style="font-weight:normal"><span class="gmail-m_-632576561170174240Apple-converted-space"> </span><a href="http://QGIS.org" target="_blank">QGIS.org</a></span></div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
Visit <a href="http://kartoza.com/" target="_blank"><span>http://kartoza.com</span></a> to find out about open source:</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
Desktop GIS programming services</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
Geospatial web development</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
GIS Training</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
Consulting Services</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal;min-height:14px">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<b>Skype</b>: timlinux </div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<b>IRC:</b><span class="gmail-m_-632576561170174240Apple-converted-space"> </span>timlinux on #qgis at <a href="http://freenode.net" target="_blank">freenode.net</a></div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:helvetica;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:center;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px;line-height:normal">
Kartoza is a merger between Linfiniti and Afrispatial</div>
</span></span></span></span></span></div>
</div>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">
https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">
https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>