Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 06 22:31
    dependabot[bot] opened #1485
  • Jan 06 22:31
    dependabot[bot] labeled #1485
  • Jan 06 22:31

    dependabot[bot] on pip

    Bump celery from 4.2.1 to 5.2.2… (compare)

  • Jan 03 01:11
    meomancer edited #1484
  • Dec 27 2021 06:55
    meomancer opened #1484
  • Dec 27 2021 06:44

    meomancer on v3.improvement

    Put adm code to osm model and q… (compare)

  • Dec 25 2021 09:25

    meomancer on v3

    Version 3 Update statics (compare)

  • Dec 25 2021 03:29
    meomancer closed #948
  • Dec 25 2021 03:29
    meomancer commented #948
  • Dec 25 2021 03:25
    meomancer commented #1454
  • Dec 25 2021 03:24
    meomancer commented #1460
  • Dec 25 2021 03:24
    meomancer commented #1460
  • Dec 25 2021 03:22
    meomancer labeled #1483
  • Dec 25 2021 03:22
    meomancer closed #1464
  • Dec 25 2021 03:22
    meomancer commented #1464
  • Dec 25 2021 03:21
    meomancer opened #1483
  • Dec 25 2021 03:17
    meomancer commented #1470
  • Dec 25 2021 03:16
    meomancer closed #1475
  • Dec 25 2021 03:16
    meomancer commented #1475
  • Dec 25 2021 03:15
    meomancer commented #1476
Stockard
@Stockard
Hi there, I am trying to register an openstreet map account and found it impossible. how could I use the API service? Thanks.
Soumya Ranjan Mohanty
@srmsoumya
Hi all, I managed to scrape some DATA from the reports published by NHRR for India. It has a subset of all the hospitals along with the bed capacity, I would like to push this to OSM or healthsites.io, I see one problem, the scraped data does not have lat,long coordinates so there is no direct way of mapping possible.
Also, is it possible to get an amenity's geometry from healthsites API?
Mark Herringer
@markherringer
Hello @srm-soumya
Here is the API
We cannot accept scraped data
There needs to be clear provenance
ajiththanga
@ajiththanga
Hi all, I'm trying to access the Healthsites API using this doc: https://healthsites.io/api/docs/
Using the Python code given for schema > list, I get the error: Index ['api']['schema &gt'] did not reference a link. Key 'schema &gt' was not found.
Anyone know what the issue is? Thanks a lot
1papaya
@1papaya

hi @ajiththanga i'm not sure what the deal is with the docs but yes you are right that code does not work. i looked into it and found the correct python for schema>list:

result = client.action(schema, ["api", "schema", "list"])

1papaya
@1papaya
@andysouth what is the license of the WHO health sites data? would be a nice import :)
Andy South
@andysouth
@1papaya I think it would be great if you could import the WHO data. As far I can tell (I wasn't involved with) it is licensed Creative Commons or at least the paper describing it is : https://www.nature.com/articles/s41597-019-0142-2#MOESM1 The static data are hosted on figshare and the version hosted by the WHO is said to be updated, although it hasn't been yet.
Andy South
@andysouth
Hi @markherringer we've just written a blog post about our work on health facility data for Africa. (Which of course relies heavily on your excellent work). We haven't publicised it yet. Do you want to take a look ? We plan to promote it on social media in a couple of hours. If you'd like any changes before then, just let us know. http://afrimapr.org/blog/2020/healthsites-app/
Majd Al-Shihabi
@majdal

Hi all - I just tried adding an clinic in Beirut, and I got the following error:

Error when uploading. Invalid OSM tags: `healthcare` tag is missing.

Janusz Slota
@nixilla
@ajiththanga I haven't used coreapi-cli before but it seems you should skip > character in your commands
i.e.
coreapi get https://healthsites.io/api/docs/ && coreapi action api v2 facilities statistic list
Jeff Evans
@jeff303

Is anyone able to run a country search? I have tried the following in Python3:

from coreapi import Client
client = Client()
schema = client.get("https://healthsites.io/api/docs/")
result = client.action(schema, ["api", "v2", "countries", "autocomplete", "list"])

This results in an HTTP 400 error: "Insufficient characters." I cannot find any way to specify the search query string here. Based on examining the website with Chrome dev tools, it seems the final URL is actually https://healthsites.io/api/v2/countries/autocomplete/e?q=foo (where "foo" is the string searched for). However, this autocomplete list function doesn't take the "q" parameter. And I can't tell from the API docs what the actual parameter is named

Tom Benson
@TomBenson27
Hi all
we are looking for health sites around the world to find vulnerable regions that would need such new infrastructure
is there a way I could possible just to download the shapefile outright with all the locations?
so we can do urban analysis at a hyperlocal level
Mark Herringer
@markherringer
Good morning @TomBenson27 Thank you for your message. Here is the data - https://healthsites.io/map
Tom Benson
@TomBenson27
Hi @markherringer .. Actually when i click on the download link it just gives me a number. But i found this link anyways: https://healthsites.io/map/data/shapefiles/World.zip
thankyou!
Mark Herringer
@markherringer
thanks Tom
Mark Herringer
@markherringer

Is anyone able to run a country search? I have tried the following in Python3:

from coreapi import Client
client = Client()
schema = client.get("https://healthsites.io/api/docs/")
result = client.action(schema, ["api", "v2", "countries", "autocomplete", "list"])

This results in an HTTP 400 error: "Insufficient characters." I cannot find any way to specify the search query string here. Based on examining the website with Chrome dev tools, it seems the final URL is actually https://healthsites.io/api/v2/countries/autocomplete/e?q=foo (where "foo" is the string searched for). However, this autocomplete list function doesn't take the "q" parameter. And I can't tell from the API docs what the actual parameter is named

I think the python 3 part might be the issue @jeff303 .. @meomancer can you advise?

Jeff Evans
@jeff303
I don't think it's the Python version, per se, more that the advertised API model doesn't seem to match what the website does
Jeff Evans
@jeff303
For example, using requests directly to the same request that the website does, works:
import requests res = requests.get('https://healthsites.io/api/v2/countries/autocomplete/e?q=Unit') res.json() [{'label': 'United Arab Emirates', 'id': 348}, {'label': 'United Kingdom', 'id': 349}, {'label': 'United States', 'id': 350}]
Jeff Evans
@jeff303
Opened healthsites/healthsites#1411 to hopefully get to the bottom of it
jdcayetano
@jdcayetano
Hi I'm trying to look for or download the shapefile and when I clicked on download shapefile here it isn't working
Jolynn Schmidt
@jolynnciesin
I am also having an issue trying to download the latest data. When I use the map, it never gets past "Download all healthsite data from generating..."
jdcayetano
@jdcayetano
Anyone with the answer for @jolynnciesin and my question? I think the link might be having an issue.
k0ala
@k0ala
Hello, how can I find out about the history of imported data? There is a 'source' attribute in each record but where can I learn more?
Tim Sutton
@timlinux
@k0ala currently we dont provide the full history for a site on HS.io but
image.png
id you click the OpenStreetMap link in the site details
Screenshot 2020-04-17 at 09.11.14.png
and then scroll down in the OSM side panel you can click ‘View History'
Then you can see the detailed amenity history
image.png
@jdcayetano and @jolynnciesin our developer is busy trying to fix it today (the broken downloads) - will update in the ticket above when it is sorted out
k0ala
@k0ala
@timlinux thanks 👍👍
Vicky NSENGA
@vichanse
Hey @maze2point0 i'm facing the same issue when using /api/v2/facilities/ to get France facilities. I also en up with a 502. Did you find another solution a part from requesting multiple times? It's OK for other EU countries though
Marcel
@maze2point0
I built a while loop for requesting until status code 200. However, that worked fine for Germany and Russia, but not for France. I changed the strategy and downloaded poi data from geofabrik
Vicky NSENGA
@vichanse
I don’t get why it’s doesn’t work with France and no problem when using curl. I will geofabrik a try then. Thankx a lot for the tip🤘🏾
Mark Herringer
@markherringer
Thank you for the feedback @maze2point0 @vichanse ticket raised