A tool to simply visualize the result of your spacial queries.
You can also save and share them.
Needed one myself, all other clients I found seemed too complicated or just muh...
It is still very bare bones, it just covers the requirements I initially had.
Source on github, there is also a docker compose version here, so you can build it with almost one command.
Since only limited resources available to host it, only Belgium is provided as area you can test your queries on.
There is currently only support for one backend, i.e. PostGIS, but if people like it, others might (hopefully) follow.
There is a arbitrary limit of 10000 rows provided, since else you might explose your browser's memory. (yes, yes, this can be optmized, but... later)
/* Simple select query, displays on layer on map */ select st_asgeojson(linestring) from ways limit 100; /* Please note: LIMIT is non deterministic*/
/* Simple select query, displays results in a table */ select * from ways limit 100;
/* Select all ways within specifc bounding box with tag highway */ SELECT st_asgeojson(linestring) FROM ways WHERE ST_intersects(ways.bbox, ST_MakeEnvelope(4.7116, 50.8218, 4.7290, 50.8333, 4326)) AND (exist(ways.tags, 'highway'))