QuickOSM icon indicating copy to clipboard operation
QuickOSM copied to clipboard

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

Open REIMSMetropole opened this issue 2 years ago • 7 comments

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 avatar Mar 24 '22 10:03 REIMSMetropole

Fonctionne sur un poste de collègue.

REIMSMetropole avatar Mar 24 '22 10:03 REIMSMetropole

I have the same problem from yesterday

AlePio25 avatar Mar 29 '22 12:03 AlePio25

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

JULIENBZH avatar Feb 04 '23 13:02 JULIENBZH

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.

Gustry avatar Feb 06 '23 12:02 Gustry

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

MikaYeghi avatar Feb 25 '23 22:02 MikaYeghi

@MikaYeghi Please check my message just above yours.

Gustry avatar Feb 28 '23 10:02 Gustry

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

nadnerb33 avatar Apr 17 '23 19:04 nadnerb33