-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error while populating layer in layer loader. #71
Comments
Hello @behjani, Can you triple check that the "postgis" extension is enabled, not only for the default schema but also for the additional schemas that the plugin installs in the db? Sometimes depending on how PostGIS is installed or loaded, "postgis" may not be accessed in schemas outside of the search path. In psql you can use to see what versions you have installed and also what schema they are installed.
from: https://postgis.net/docs/postgis_installation.html Let us know :) |
Hello @pancost :) Thank you very much for the quick response. All schemas are included in search_path and all users have full access rights. List of installed extensions However, the error still exists. |
Thanks for checking, you're correct. Did you already try to reinstall the QGIS Package to your DB? Sorry for the "IT101" type of support, I am not able to reproduce the issue. @gioagu maybe you stumbled upon this issue before? |
Thank you for your efforts and developing this plugin to process CityGML data.
I have tried applying and the following error message appears several times when updating the layer:
CRITICAL Refreshing layers ERROR at citydb-tools\cdb4\gui_loader\functions\threads.py>refresh_all_gviews_thread
ERROR: FEHLER: Typ »geometry« existiert nicht
LINE 5: snapped_poly geometry(PolygonZ);
^
QUERY:
DECLARE
dec_prec numeric;
srid_id integer;
snapped_poly geometry(PolygonZ);
num_geoms integer;
is_empty_geom boolean;
ring geometry(LinestringZ);
o_ring geometry(LinestringZ);
i_ring geometry(LinestringZ);
i_rings geometry(LinestringZ)[];
n_int_rings integer;
i integer; r RECORD;
area_poly numeric;
new_polygon geometry(PolygonZ);
As a result, I am unable to complete the task of populating the layer and am stuck at this point.
I am using PostgreSQL 17, PostGIS 3.5.0, QGIS 3.34.13, 3DCityDB Tools 0.8.9 and 3D City Database Importer/Exporter 5.4.0. The data contains the building model of the city of Hamburg in LOD 2 (Link: https://suche.transparenz.hamburg.de/dataset/3d-gebaeudemodell-lod2-de-hamburg2)
Thank you for any help. Keep up the good work.
The text was updated successfully, but these errors were encountered: