dear Tobias,
first of all – i am one of the biggest fans of Tablepress. i love it!
can we create a wordpress-plugin that offers the output of the following data …:the data of a a Neaby-search:
Can we create a quewry that shows up all the schools that are in the near – in other words
example: what i am after. how to create a request to find all the schools – in the area of – let us say munich -in a radius of 10 km for example!?
eg like so: first of all see the intened osm – nearby-search that runs against the overpass-Turbo.eu -API – the idea of a “Nearby Schools Widget”
a output that shows all the schools around a certain point – or in other words; all in (for example) Munich – in a area /(radius) of let us say 10 kilometers can we create a query that works on Overpass-turbo.eu
[out:csv(::id,::type,::lon,::lat,amenity,name,"addr:postcode","addr:city","addr:street","addr:housenumber","contact:website",website,"contact:email")]
[timeout:600];
area[name="München"];
nwr(area)[name="Marienplatz"];
nwr"amenity"="school";
out center;it gives back the following – and a set of the output should be shown in a table … on the page:
@id @type @lon @lat amenity name addr:postcode addr:city addr:street addr:housenumber contact:website website contact:email
312793352 node 11.5815046 48.1322045 school Schulverbund München 80469 München Kohlstraße 5 https://www.schulverbund.de/
703266518 node 11.5746643 48.1387135 school EAM School of International Business https://eam-muenchen.com/
1096318121 node 11.5827303 48.1368214 school Otto-Falckenberg-Schule 80539 München Stollbergstraße 7a https://www.otto-falckenberg-schule.de/
1096318127 node 11.5822067 48.1376239 school Otto-Falckenberg-Schule 80539 München Falckenbergstraße 2 https://www.otto-falckenberg-schule.de/
1142514805 node 11.5665710 48.1353750 school Evangelisches Bildungszentrum 80331 München Herzog-Wilhelm-Straße 24 https://www.stadtakademie-muenchen.de/ [email protected]
1576527684 node 11.5728245 48.1336093 school Theresia-Gerhardinger-Grundschule am Anger https://gs-am-anger.de/
1576528339 node 11.5721671 48.1333479 school Theresia-Gerhardinger-Gymnasium am Anger https://www.tggaa.de/
2493656150 node 11.5814603 48.1366835 school Förderschule an der Herrnstraße 80539 München Herrnstraße 21 https://stadt.muenchen.de/service/info/sonderpaedagogisches-foerderzentrum-muenchen-mitte-2-herrnstr-21/1060084/
2654727020 node 11.5812823 48.1365482 school Grundschule an der Herrnstraße
well again as said above: a set of the output should be shown in a table … on the page:
well i could work either with a plugin – or (even more nicely – with the tables of Tablepress: What do you think about this idea dear Tobias!?
:i look forward to hear from you
i think it would be awesome if i could create a block that shows the results of a nearby search in your table
