You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/endpoints.rst
+8-20
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,6 @@ API Endpoints
4
4
.. note:: For **POST requests** the fields are given analogous to **GET requests**. When you just have a smaller set of spatial parameters,
5
5
a GET request fits perfectly. POST mostly makes sense when you start to use GeoJSON as input geometries.
6
6
7
-
The usage of the parameters **types**, **keys** and **values** is not recommended as they are deprecated. Please use the
8
-
filter_ parameter for your requests.
9
-
10
7
Elements Aggregation
11
8
--------------------
12
9
@@ -22,9 +19,6 @@ Elements Aggregation
22
19
:query format: 'json' or 'csv'; default: 'json'
23
20
:query showMetadata: add additional metadata information to the response: 'true', 'false', 'yes', 'no'; default: 'false'
24
21
:query timeout: custom timeout to limit the processing time in seconds; default: dependent on server settings, retrievable via the /metadata request
25
-
:query types: Deprecated! Use **filter** parameter instead! Old parameter which allowed to specify OSM type(s) ‘node’ and/or ‘way’ and/or ‘relation’ OR simple feature type(s) ‘point’ and/or ‘line’ and/or 'polygon’ and/or 'other'; default: all three OSM types
26
-
:query keys: Deprecated! Use **filter** parameter instead! Old parameter which allowed to specify OSM key(s) given as a list and combined with the 'AND' operator; default: empty
27
-
:query values: Deprecated! Use **filter** parameter instead! Old parameter which allowed to specify OSM value(s) given as a list and combined with the 'AND' operator; values(n) MUST fit to keys(n); default: empty
28
22
29
23
**Example request**:
30
24
@@ -217,9 +211,6 @@ What is the density of restaurants with wheelchair access in Heidelberg?
217
211
218
212
:query <other>: see above_
219
213
:query filter2: see filter_
220
-
:query keys2: Deprecated! see **filter2**
221
-
:query types2: Deprecated! use **filter2**
222
-
:query values2: Deprecated! see **filter2**
223
214
224
215
.. note:: The result of a **ratio request** may contain the value **"NaN"**, when the ratio calculation involves a division of zero by zero.
225
216
@@ -819,9 +810,6 @@ Compare length of different types of streets for two or more regions.
819
810
820
811
:query <other>: see above_
821
812
:query filter2: see filter_
822
-
:query keys2: Deprecated! see **filter2**
823
-
:query types2: Deprecated! use **filter2**
824
-
:query values2: Deprecated! see **filter2**
825
813
826
814
Users Aggregation
827
815
-----------------
@@ -1008,7 +996,7 @@ Contributions Aggregation
1008
996
1009
997
.. http:post :: /contributions/count
1010
998
1011
-
Get the count of the contributions provided to the OSM data. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters. List of endpoints:
999
+
Get the count of the contributions provided to the OSM data. List of endpoints:
1012
1000
1013
1001
* **/count**
1014
1002
* **/count/density**
@@ -1126,7 +1114,7 @@ Number of contributions to the building 'Stadthalle Heidelberg' between 2010 and
1126
1114
1127
1115
.. http:post :: /contributions/count/density
1128
1116
1129
-
Get the density of the count of contributions in the total query area in counts per square-kilometers. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1117
+
Get the density of the count of contributions in the total query area in counts per square-kilometers.
1130
1118
1131
1119
**Example request**:
1132
1120
@@ -1230,7 +1218,7 @@ Density of contributions to shops within the oldtown area of Heidelberg between
1230
1218
1231
1219
.. http:post :: /contributions/latest/count
1232
1220
1233
-
Get the count of the latest contributions provided to the OSM data. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1221
+
Get the count of the latest contributions provided to the OSM data.
1234
1222
1235
1223
**Example request**:
1236
1224
@@ -1334,7 +1322,7 @@ Number of the latest contributions to residential buildings with a geometry chan
Get the density of the count of the latest contributions in the total query area in counts per square-kilometers. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1325
+
Get the density of the count of the latest contributions in the total query area in counts per square-kilometers.
1338
1326
1339
1327
**Example request**:
1340
1328
@@ -1438,7 +1426,7 @@ Density of the latest contributions with a geometry change to shops within the o
Get the count of the contributions provided to the OSM data grouped by the specified boundaries of the query. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1429
+
Get the count of the contributions provided to the OSM data grouped by the specified boundaries of the query.
1442
1430
1443
1431
**Example request**:
1444
1432
@@ -1574,7 +1562,7 @@ Number of contributions to shops in different suburbs of Heidelberg (Altstadt an
Get the density of the count of contributions in the total query area in counts per square-kilometers grouped by the specified boundaries of the query. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1565
+
Get the density of the count of contributions in the total query area in counts per square-kilometers grouped by the specified boundaries of the query.
1578
1566
1579
1567
**Example request**:
1580
1568
@@ -1975,7 +1963,7 @@ Contributions Extraction
1975
1963
1976
1964
.. http:post :: /contributions/(geometryType)
1977
1965
1978
-
Get the contributions provided to the OSM data. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
1966
+
Get the contributions provided to the OSM data.
1979
1967
This endpoint supports the geometry types ``bbox``, ``centroid`` and ``geometry``.
1980
1968
1981
1969
:query <other>: see above_ (except **format**)
@@ -2327,7 +2315,7 @@ Get the changes of pharmacies with opening hours in a certain area of Heidelberg
Get the the latest state of the contributions provided to the OSM data. This endpoint does not support the deprecated ``types``, ``keys``, ``values`` parameters.
2318
+
Get the the latest state of the contributions provided to the OSM data.
2331
2319
This endpoint supports the geometry types ``bbox``, ``centroid`` and ``geometry``.
0 commit comments