[Qgis-user] Array --> Generate_Series

Johannes Kröger (WhereGroup) johannes.kroeger at wheregroup.com
Fri Jan 21 03:33:33 PST 2022


Hey Miquel,

make sure the data type of the field you want to insert the result to 
matches the data type of the result itself. You might need to convert an 
array to a string if I understand you correctly.

Cheers, Hannes

Am 21.01.22 um 12:04 schrieb Miquel Pujol Garcia:
> *Hello Qgisers,*
>
> I'm trying to insert in a field* a serial data number (2,4,6,8,10,...)
> using _generate_series_ from array group. When I purpose the
> syntax in Calculate Camps in the table, I can see the correct
> result but when I execute the values aren't inserted in the field.
>
> The objects are lines in a Geopackage.
>
> Does someone use generate_series and know-how run well?
>
> *field = enter number: long 10
>
> Thanks,
> *------------------------*
> *Miquel*
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Johannes Kröger / GIS-Entwickler/-Berater
WhereGroup GmbH
Grevenweg 89
20537 Hamburg
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroeger at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------

---------------------------------------------
Schon gewusst?

In unserem Blog geben wir Tipps & Tricks zu
 Open-Source-GIS-Software
und berichten aus unserem Experten-Alltag:
https://wheregroup.com/blog/
---------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220121/8c328ddc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBF7B268A77C202D5.asc
Type: application/pgp-keys
Size: 2471 bytes
Desc: OpenPGP public key
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220121/8c328ddc/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220121/8c328ddc/attachment-0001.sig>


More information about the Qgis-user mailing list