Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
giscience
big-data
ohsome
helpers
check-ohsome-api
Commits
f800b240
Verified
Commit
f800b240
authored
May 29, 2020
by
Johannes Visintini
Browse files
fixed docs examples
parent
fc4cf17d
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/docs-requests.json
View file @
f800b240
...
...
@@ -4,10 +4,10 @@
"method"
:
"GET"
,
"path"
:
"/elements/area"
,
"parameters"
:
{
"bboxes"
:
"8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397"
,
"bboxes"
:
"8.625
,
49.3711
,
8.7334
,
49.4397"
,
"format"
:
"json"
,
"time"
:
"2014-01-01"
,
"filter"
:
"landuse
%3D
farmland
%20and%20
type
%3A
way"
"filter"
:
"landuse
=
farmland
and
type
:
way"
}
},
{
...
...
@@ -24,9 +24,9 @@
"method"
:
"GET"
,
"path"
:
"/elements/count/density"
,
"parameters"
:
{
"bboxes"
:
"8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397"
,
"bboxes"
:
"8.625
,
49.3711
,
8.7334
,
49.4397"
,
"format"
:
"json"
,
"filter"
:
"amenity
%3D
restaurant
%20and%20
wheelchair
%3Dyes%20and%20
type
%3A
node"
,
"filter"
:
"amenity
=
restaurant
and
wheelchair
=yes and
type
:
node"
,
"time"
:
"2019-05-07"
}
},
...
...
@@ -44,11 +44,11 @@
"method"
:
"GET"
,
"path"
:
"/elements/length/ratio"
,
"parameters"
:
{
"bboxes"
:
"8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397"
,
"bboxes"
:
"8.625
,
49.3711
,
8.7334
,
49.4397"
,
"format"
:
"json"
,
"filter"
:
"highway
%3D
living_street
%20and%20
type
%3A
way"
,
"filter2"
:
"highway
%3D
living_street
%20and%20oneway%3Dyes%20and%20
type
%3A
way"
,
"time"
:
"2016-01-01
%2F
2018-01-01
%2F
P1Y"
"filter"
:
"highway
=
living_street
and
type
:
way"
,
"filter2"
:
"highway
=
living_street
and oneway=yes and
type
:
way"
,
"time"
:
"2016-01-01
/
2018-01-01
/
P1Y"
}
},
{
...
...
@@ -66,11 +66,11 @@
"method"
:
"GET"
,
"path"
:
"/elements/count/groupBy/key"
,
"parameters"
:
{
"bboxes"
:
"Heidelberg:8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397"
,
"bboxes"
:
"Heidelberg:8.625
,
49.3711
,
8.7334
,
49.4397"
,
"format"
:
"json"
,
"time"
:
"2018-01-01"
,
"filter"
:
"building
%3D*%20and%20
type
%3A
way"
,
"groupByKeys"
:
"building
%3A
roof
%2C
building
%3A
roof
%3A
colour"
"filter"
:
"building
=* and
type
:
way"
,
"groupByKeys"
:
"building
:
roof
,
building
:
roof
:
colour"
}
},
{
...
...
@@ -88,12 +88,12 @@
"method"
:
"GET"
,
"path"
:
"/elements/length/groupBy/boundary/groupBy/tag"
,
"parameters"
:
{
"bboxes"
:
"Heidelberg
%3A
8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397
%7C
Plankstadt
%3A
8.5799
%2C
49.3872
%2C
8.6015
%2C
49.4011"
,
"bboxes"
:
"Heidelberg
:
8.625
,
49.3711
,
8.7334
,
49.4397
|
Plankstadt
:
8.5799
,
49.3872
,
8.6015
,
49.4011"
,
"format"
:
"json"
,
"groupByKey"
:
"highway"
,
"time"
:
"2018-01-01"
,
"groupByValues"
:
"primary
%2C
secondary
%2C
tertiary"
,
"filter"
:
"type
%3A
way"
"groupByValues"
:
"primary
,
secondary
,
tertiary"
,
"filter"
:
"type
:
way"
}
},
{
...
...
@@ -112,10 +112,10 @@
"method"
:
"GET"
,
"path"
:
"/users/count"
,
"parameters"
:
{
"bboxes"
:
"82.3055
%2C
6.7576
%2C
87.4663
%2C
28.7025"
,
"bboxes"
:
"82.3055
,
6.7576
,
87.4663
,
28.7025"
,
"format"
:
"json"
,
"filter"
:
"building
%3D*%20and%20
type
%3A
way"
,
"time"
:
"2015-03-01
%2F
2015-08-01
%2F
P1M"
"filter"
:
"building
=* and
type
:
way"
,
"time"
:
"2015-03-01
/
2015-08-01
/
P1M"
}
},
{
...
...
@@ -132,8 +132,8 @@
"method"
:
"GET"
,
"path"
:
"/elements/geometry"
,
"parameters"
:
{
"bboxes"
:
"8.625
%2C
49.3711
%2C
8.7334
%2C
49.4397"
,
"filter"
:
"amenity
%3D
bicycle_rental
%20and%20
type
%3A
node"
,
"bboxes"
:
"8.625
,
49.3711
,
8.7334
,
49.4397"
,
"filter"
:
"amenity
=
bicycle_rental
and
type
:
node"
,
"time"
:
"2019-09-01"
}
},
...
...
@@ -150,9 +150,9 @@
"method"
:
"GET"
,
"path"
:
"/elementsFullHistory/geometry"
,
"parameters"
:
{
"bboxes"
:
"8.7137
%2C
49.4096
%2C
8.717
%2C
49.4119"
,
"filter"
:
"name
%3D
Krautturm
%20and%20
type
%3A
way"
,
"time"
:
"2008-01-01
%2C
2016-01-01"
"bboxes"
:
"8.7137
,
49.4096
,
8.717
,
49.4119"
,
"filter"
:
"name
=
Krautturm
and
type
:
way"
,
"time"
:
"2008-01-01
,
2016-01-01"
}
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment