Skip to content
Snippets Groups Projects

How to become ohsome part 5

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    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

    ghana_2009-2019_yearly

    nepal_2009-2019_yearly

    ghana_2018_monthly

    nepal_2018_monthly

    Edited
    response_nepal_2009-2019_yearly.csv 942 B
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment