[OSGeo Africa] Python script
mmchari .
martinmchari at gmail.com
Wed Aug 3 08:03:40 PDT 2016
Hi Jacob
Thank you for the useful link. I needed in ArcGIS. It worked out perfectly
after modifications.
Martin
On Mon, Aug 1, 2016 at 1:01 PM, Jacobus Strydom <jcstay123 at gmail.com> wrote:
> Hi Martin,
>
> Do you need to do it in QGIS or ArcGIS?
>
> *If it's in ArcGIS*, have a look at this link, I think this might help.
>
> http://gis.stackexchange.com/questions/169770/need-to-find-max-value-among-fields-and-print-field-name
>
> *For QGIS* I'm not 100% sure, but it will be great to see how it's done
> in QGIS. So if anyone can help with a script in QGIS that will be great.
>
> regards,
>
>
>
> On Sun, Jul 31, 2016 at 11:10 PM, <martinmchari at gmail.com> wrote:
>
>> Hi
>>
>> Am looking for a Python script for adding a new scores field to an
>> attribute table and assigning scores to rows in fields in an attribute
>> table.
>> For example in a table with fields A, B, C, D. If maximum number in a row
>> is in field B then assign score of 2. If it is in field A score is 1, if
>> field C score assign score of 3 in scores field.
>>
>> Kind regards
>>
>> Martin
>> _______________________________________________
>> Africa mailing list
>> Africa at lists.osgeo.org
>> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
>
>
> _______________________________________________
> Africa mailing list
> Africa at lists.osgeo.org
> You can UNSUBSCRIBE at http://lists.osgeo.org/mailman/listinfo/africa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/africa/attachments/20160803/ba80a135/attachment.html>
More information about the Africa
mailing list