How to rewrite the request - to get an output with approx 10 per cent of data amount

the following overpass-turbo-request
gives back 40 meg results. And if we look at the graphical output - its a tremendous huge output… with approx 30 k dots


[out:json][timeout:250];
{{geocodeArea:Germany}}->.searchArea;
nwr[amenity=school][!"isced:level"](area.searchArea);
out geom;

question: how to reduce the output - to approx 10 Percent - how to rewrite the request!?
i need to have the result - to illustrate some data - but with so many dots in the image - it gets quite hard to understand.

look forward to hear from you

Try with the xml format and only show the centroids of each element instead of their geometries

[out:xml][timeout:120];
{{geocodeArea:Germany}};
nwr[amenity=school][!"isced:level"](area);
out center qt;

You should use Umap for clustering. Guides seem oudated. uMap/Guide/Import data with Overpass - OpenStreetMap Wiki

  1. Copy the link from “raw data directly from Overpass API” in “export”
  2. Create a new layer in Umap
  3. Change layer type from “default” to “clustered” near the top
  4. In “Remote data” below, paste the link in url, and change data type to OSM

Unfortunately, Overpass Ultra doesn’t seem to have addSource exposed to set cluster: true= , required for clustering. That allows varying circle-color and circle-radius with step and [get, point_count] .

Try with regex

[out:xml][timeout:120];
{{geocodeArea:Germany}};
nwr[amenity=school][!"isced:level"][name~"^(Y|Z)"](area);
out center qt;

thank you very much . - this is great help!

Hi there - dear Kovoschiz

many thanks for the reply. I will have a closer look on all that.
btw:

[out:json][timeout:250];
{{geocodeArea:Germany}}->.searchArea;
nwr[amenity=school][!"isced:level"](area.searchArea);
out geom;

what if i run a request that just looks for the only schools that are named with “Y” or
Z.

in other words: i have to create a request that only looks for schools - that has the name that starts with “Y” or “Z”

Ypsilon-school
Yblahla-school
Ytablo-School

Zeuss-school
Zepelin-school

and so on and so forth

well how to ceate a request that does look for those ones!

sure thing - the amount of data would be quiete only be smaller.

ideas, thoughts - critics!
look forward to hear from you