Menu

#28 Bare mode could allow bigger areas

not set
closed
nobody
None
2022-04-10
2022-04-09
Kempelen
No

Bare mode does not render as much items. It should be possible to decrease the downloaded data, and also the "counted" data, thus allow bigger areas to be selected.

E.g. this QL could be used to filter out building, amenity and shop objects, which are probably not rendered in bare mode anyway:

[out:json][timeout:25];
(
  node({{bbox}});
  way[!building]({{bbox}});
  relation({{bbox}});
)->.a;
(
  way[building]({{bbox}});
  node[amenity]({{bbox}});
  node[shop]({{bbox}});
)->.b;
(.b; >;)->.c;
(.a; - .c;);
// print results
out body;
>;
out skel qt;

Discussion

  • Kempelen

    Kempelen - 2022-04-09

    Simplified QL:

    [out:json][timeout:25];
    (
      nwr({{bbox}});
      -
      (
        node[amenity]({{bbox}});
         node[shop]({{bbox}});
         way[building]({{bbox}}); >;
       );
    );
    // print results
    out body;
    >;
    out skel qt;
    
     
  • Kempelen

    Kempelen - 2022-04-10

    Fixed in Commit [f22736]

     

    Related

    Commit: [f22736]

  • Kempelen

    Kempelen - 2022-04-10
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.