Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createStyleFunctionToVectorLayer is not a function #3

Open
1 task done
leolami opened this issue Jan 31, 2025 · 2 comments · May be fixed by #4
Open
1 task done

createStyleFunctionToVectorLayer is not a function #3

leolami opened this issue Jan 31, 2025 · 2 comments · May be fixed by #4
Assignees
Labels
bug Something isn't working

Comments

@leolami
Copy link
Member

leolami commented Jan 31, 2025

Checklist

  • I've searched through the existing issues and this bug has never been reported before

Subject of the issue

The Geoprocessing module does not work correctly on v3.9

Steps to reproduce

Try the Geoprocessing demo webgis

https://v39.g3wsuite.it/en/map/qprocessing/qdjango/277/

Run the process and wait the end

The result (SHP) is not loaded in the map and the result (PDF) is not sownloadable

Environment

General

OS: Ubuntu 24.04.1 LTS
QGIS Server: 3.34.14-Prizren
Python: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0]

DataBase

default: PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit | PostGIS 3.4 USE_GEOS=1 USE_PROJ=1 USE_STATS=1

Libraries
General

Qt: 5.15.13

Geographic

GDAL/OGR: 3.8.4
PROJ: 9.4.0
GEOS: 9.4.0

Python

Django: 4.2.18
GDAL/OGR: 3.8.4
PyProj: 3.6.1

Link to your project

https://v39.g3wsuite.it/en/map/qprocessing/qdjango/277/#

Additional info

No response

@leolami leolami added the bug Something isn't working label Jan 31, 2025
@wlorenzetti wlorenzetti transferred this issue from g3w-suite/backlog Jan 31, 2025
@Raruto
Copy link

Raruto commented Jan 31, 2025

@volterra79 something like that:

(createVectorLayerFromFile + createStyleFunctionToVectorLayer) → GUI.getService('map').addExternalLayer.

@wlorenzetti
Copy link
Member

@Raruto @volterra79

Image

@Raruto Raruto changed the title V3.9: Geoprocessing error createStyleFunctionToVectorLayer is not a function Jan 31, 2025
@Raruto Raruto transferred this issue from g3w-suite/g3w-admin-processing Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants