File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,31 @@ Folow the instruction of one of the backends:
1313## Query
1414
1515The API as available at http://localhost:9292/interpreter
16+
17+ ## Performance
18+
19+ Test with the [ Gironde, France] ( http://download.openstreetmap.fr/extracts/europe/france/aquitaine/gironde-latest.osm.pbf ) extract (94MB).
20+ Test with generic index, running localy, 8 CPU, 8 GB RAM.
21+
22+ Test Query 1
23+ ```
24+ [out:json][timeout:25];
25+ (
26+ nwr[highway=bus_stop][name];
27+ nwr[public_transport=platform];
28+ );
29+ out center meta;
30+ ```
31+
32+ time curl 'http://localhost:9292/interpreter ' -X POST -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data-raw 'data=%5Bout%3Ajson%5D%5Btimeout%3A25%5D%3B%0A(%0A++nwr%5Bhighway%3Dbus_stop%5D%5Bname%5D%3B%0A++nwr%5Bpublic_transport%3Dplatform%5D%3B%0A)%3B%0Aout+center+meta%3B'
33+
34+ | Backend | Setup | Query 1 |
35+ | ----------------------------------| --------| ---------|
36+ | Postgres+PostGIS / Osmosis | 10m11s | 5,7s |
37+ | DuckDB+Spatial / QuackOSM (1) | 2m00s | 2,4s |
38+ | Overpass API (2) | 8m49s | 3,1s |
39+ | Overpass API overpass-api.de (3) | - | 5,9s |
40+
41+ (1) Without metadata.
42+ (2) Required converion from PBF to XML included ().
43+ (3) Query with polygon to limit the spatial extent.
You can’t perform that action at this time.
0 commit comments