User:Gormo/expecttest

From OpenStreetMap Wiki
Jump to: navigation, search

test1

{ "query"  : "[out:json][timeout:25];(node[\"tourism\"=\"viewpoint\"](51.817452356585996,10.244193077087402,51.8206861679641,10.247156381607056);way[\"tourism\"=\"viewpoint\"](51.817452356585996,10.244193077087402,51.8206861679641,10.247156381607056);relation[\"tourism\"=\"viewpoint\"](51.817452356585996,10.244193077087402,51.8206861679641,10.247156381607056););out tags;", "expect_count" : "2" }

nur_node

{ "query"  : "[out:json][timeout:25];(node[\"tourism\"=\"viewpoint\"](51.817452356585996,10.244193077087402,51.8206861679641,10.247156381607056););out tags;", "expect_count" : "1" }

fail

{ "query"  : "[out:json][timeout:25];(node[\"tourism\"=\"viewpoint\"](51.817452356585996,10.244193077087402,51.8206861679641,10.247156381607056););out tags;", "expect_count" : "2000" }

relationtest

{ "query" : "[out:json][timeout:25]; ( node[\"natural\"=\"cave_entrance\"](50.8902975217649,14.285831451416016,50.90052935246181,14.306194782257078); way[\"natural\"=\"cave_entrance\"](50.8902975217649,14.285831451416016,50.90052935246181,14.306194782257078); relation[\"natural\"=\"cave_entrance\"](50.8902975217649,14.285831451416016,50.90052935246181,14.306194782257078););out tags;", "expect_count":"2" }