How to become ohsome part 5
The snippet can be accessed without any authentication.
Authored by
Fabian Kowatsch
Ghana:
curl --data-urlencode "bpolys@ghana.GeoJson" -d "@params.txt" -X POST https://api.ohsome.org/v1/users/count/groupBy/key -o response_ghana_2018_monthly.csv
Nepal:
curl --data-urlencode "bpolys@nepal.GeoJson" -d "@params.txt" -X POST https://api.ohsome.org/v1/users/count/groupBy/key -o response_nepal_2018_monthly.csv
parameters (adapt time parameter accordingly):
params.txt
spatial boundaries:
ghana.GeoJson
nepal.GeoJson
response files:
response_ghana_2009-2019_yearly.csv
response_nepal_2009-2019_yearly.csv
response_ghana_2018_monthly.csv
response_nepal_2018_monthly.csv
response_nepal_2009-2019_yearly.csv 942 B
Please register or sign in to comment