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

CRITICAL Error on the layer : lines/points/multilines... is not valid. #390

Open
REIMSMetropole opened this issue Mar 24, 2022 · 7 comments
Labels
bug An identified bug

Comments

@REIMSMetropole
Copy link

What is the bug?

Je tente de télécharger les données OSM à l'aid edu plugin. Que je choisisse le thème urbain, une requête avec un filtre type 'itinéraire cyclable', que je change la projection de mon projet ou non (2154, 3857,...), j'aboutis toujours au même message d'erreurs :

2022-03-24T11:14:47     CRITICAL    Error on the layer : lines is not valid.
2022-03-24T11:15:09     CRITICAL    Error on the layer : points is not valid.
2022-03-24T11:15:51     CRITICAL    Error on the layer : points is not valid.

Voici la requête générée

[out:xml] [timeout:25];
(
    node["type"="route"]( 48.58485,1.64429,48.71897,2.0284);
    node["route"="bicycle"]( 48.58485,1.64429,48.71897,2.0284);
    way["type"="route"]( 48.58485,1.64429,48.71897,2.0284);
    way["route"="bicycle"]( 48.58485,1.64429,48.71897,2.0284);
    relation["type"="route"]( 48.58485,1.64429,48.71897,2.0284);
    relation["route"="bicycle"]( 48.58485,1.64429,48.71897,2.0284);
);
(._;>;);
out body;

Environment

  • QuickOSM version: Version installée | 2.0.1 | Version disponible (stable) | 2.0.1 mise à jour le lun. févr. 7 10:50:52 2022
  • QGIS version: 3.24.0-Tisler | Révision du code | 6b44a420 (testé aussi en LTR)
  • OS: Win10
@REIMSMetropole REIMSMetropole added the bug An identified bug label Mar 24, 2022
@REIMSMetropole
Copy link
Author

Fonctionne sur un poste de collègue.

@AlePio25
Copy link

I have the same problem from yesterday

@JULIENBZH
Copy link

Same problem on a fresh install on linux...Did any of you find a workaround ?

@Gustry
Copy link
Member

Gustry commented Feb 6, 2023

To be able to find a workaround, please provide an OSM file which trigger this issue.

When you have the error, open your QGIS logs, (the comic strip bubble at the bottom right corner of QGIS), then open QuickOSM tab, you will find the the OSM local filepath which was used. Please share it here.

@MikaYeghi
Copy link

I'm getting the same problem
My OS is Ubuntu 20.04, if it matters. Installed QGIS through Flatpak

@Gustry
Copy link
Member

Gustry commented Feb 28, 2023

@MikaYeghi Please check my message just above yours.

@nadnerb33
Copy link

I'm getting the same issue running QGIS 3.28.3 Flatpak on PopOS.

2023-04-17T20:43:31     INFO    All OSM objects with the key 'amenity'='bar' in the canvas or layer extent are going to be downloaded.
2023-04-17T20:43:31     INFO    Query: amenity_bar
2023-04-17T20:43:31     INFO    Encoded URL: https://overpass-api.de/api/interpreter?data=[out:xml] [timeout:25];%0A(%0A node[%22amenity%22%3D%22bar%22]( 51.37491,-2.38388,51.38747,-2.33957);%0A way[%22amenity%22%3D%22bar%22]( 51.37491,-2.38388,51.38747,-2.33957);%0A relation[%22amenity%22%3D%22bar%22]( 51.37491,-2.38388,51.38747,-2.33957);%0A);%0A(._;%3E;);%0Aout body;&info=QgisQuickOSMPlugin
2023-04-17T20:43:31     INFO    Request completed
2023-04-17T20:43:31     INFO    Checking OSM file content /tmp/request-fHTwQJ.osm
2023-04-17T20:43:31     INFO    The OSM file is: /tmp/request-fHTwQJ.osm

The URL seems to produce some results, but the osm file in the tmp directory is never created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An identified bug
Projects
None yet
Development

No branches or pull requests

6 participants