Skip to content

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

Open

Description

@REIMSMetropole

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

Activity

  1. added
    bug
    on Mar 24, 2022
  2. REIMSMetropole commented on Mar 24, 2022

    @REIMSMetropole
    Author

    Fonctionne sur un poste de collègue.

  3. AlePio25 commented on Mar 29, 2022

    @AlePio25

    I have the same problem from yesterday

  4. JULIENBZH commented on Feb 4, 2023

    @JULIENBZH

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

  5. Gustry commented on Feb 6, 2023

    @Gustry
    Collaborator

    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.

  6. MikaYeghi commented on Feb 25, 2023

    @MikaYeghi

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

  7. Gustry commented on Feb 28, 2023

    @Gustry
    Collaborator

    @MikaYeghi Please check my message just above yours.

  8. pinned this issue on Mar 5, 2023
  9. nadnerb33 commented on Apr 17, 2023

    @nadnerb33

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions