[Qgis-user] Problems by using field calculator with "generate_series" function.

Dieter Riedel DieterRiedel at live.de
Thu Jan 26 00:55:58 PST 2023


Hi my Installation:


QGIS version

3.28.2-Firenze

QGIS code revision

b47e00ba601<https://github.com/qgis/QGIS/commit/b47e00ba601>

Qt version

5.15.3

Python version

3.9.5

GDAL/OGR version

3.6.1

PROJ version

9.1.1

EPSG Registry database version

v10.076 (2022-08-31)

GEOS version

3.11.1-CAPI-1.17.1

SQLite version

3.39.4

PDAL version

2.4.3

PostgreSQL client version

unknown

SpatiaLite version

5.0.1

QWT version

6.1.6

QScintilla2 version

2.13.1

OS version

Windows 10 Version 2009

Active Python plugins

autonumbering

0.2

ClipMultipleLayers

3.2.0

clipper

1.2

closest_points

1.0.1

db-style-manager

0.8

DEMto3D

3.51

dem_drainage_analyses

0.2

DigitizingTools

1.5.1

dimensioning

0.2

DotMap

0.2

easy_right_angle_draw

1.0

exportDBmapper

0.2.0

FreehandRasterGeoreferencer

0.8.3

inkscape2symbol-master

0.2

joinmultiplelines

Version 0.4.1

LAStools

1.4

layertilesmapcanvas

1.4

LoadQSS

1.4.2

mapswipetool_plugin

1.2

MemoryLayerSaver

4.0.4

MultiJoin

1.0

Multi_Ring_Buffer

1.1

naficp

1.0

numerator

0.5

pg_raster_import

3.1.0

PostGISQueries

0.2

postgisQueryBuilder

2.0.1

PotentialSlopeFailure

0.6

profiletool

4.2.2

qfieldsync

v4.2.0

Qgis2threejs

2.7.1

qgis2web

3.16.0

QGISSortAndNumber-master

1.0

qgis_resource_sharing

1.0.0

quick_layer

0.3

quick_map_services

0.19.32

sense_detection

0.1.0

splitmultipart

1.0.0

SplitPolygon-master

1.2

SpreadsheetLayers

2.1.0-alpha1

SRTM-Downloader

3.1.17

VoGisProfilTool

3.0.2

volume_calculation_tool

0.4

wbt_for_qgis

1.0.7

db_manager

0.1.20

grassprovider

2.12.99

MetaSearch

0.3.6

otbprovider

2.12.99

processing

2.12.99

sagaprovider

2.12.99


I Try to use the field Calculator with the function "generate_series" like you can see it at the picture. It is a solar Farm with modules there  are polygons and the polygons must have a modul Namber from 1 to 11 in this case.

[cid:image001.png at 01D9316C.625DE550]
In The row above I introduce manually the numbers. When I try it with generate_series nothing happens.  When I use row numbers ist now problem, but I need also the invert form from 11 to 1 an not only 1 to 11.
What is wrong in the presiders?
Thanks in Advance

Dieter Riedel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230126/f0153ab9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 398322 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230126/f0153ab9/attachment-0001.png>


More information about the QGIS-User mailing list