Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 14 06:34
    anitanh removed as member
  • Sep 23 07:53

    markherringer on develop

    Update README.md (compare)

  • Sep 23 07:52

    markherringer on develop

    Update README.md updated link … (compare)

  • Sep 03 14:40
    SomeoneElseOSM opened #1482
  • Aug 24 19:08
    markherringer edited #1480
  • Aug 24 13:24
    nixilla commented #1480
  • Aug 24 13:16
    nixilla edited #1480
  • Aug 23 11:25
    selvaganapathi-DA commented #1481
  • Aug 23 07:47
    markherringer opened #1481
  • Aug 20 11:50
    markherringer edited #1480
  • Aug 20 11:42
    markherringer labeled #1480
  • Aug 20 11:42
    markherringer assigned #1480
  • Aug 20 11:42
    markherringer opened #1480
  • Aug 20 11:09
    meomancer opened #1479
  • Aug 20 11:09
    meomancer labeled #1479
  • Aug 20 11:09
    meomancer assigned #1479
  • Aug 20 11:07
    meomancer labeled #1478
  • Aug 20 11:07
    meomancer assigned #1478
  • Aug 20 11:07
    meomancer opened #1478
  • Aug 20 11:05
    meomancer labeled #1477
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
Vicky NSENGA
@vichanse
Thankx @markherringer for raising the ticket. Imma watch it.
@markherringer i have the "Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request" when i try to use the API from an XMLHttpRequest. Do you know how i can get rid of it? Thank you very much
Mark Herringer
@markherringer
Interesting, sounds like you're trying to get on a jet. @nixilla could you raise a ticket for this ?
Vicky NSENGA
@vichanse
Hello @markherringer for the preflight problem i ended up creating a cloud function which does the job. No more preflight problem. Any clue about the issue above on large dataset?
Vicky NSENGA
@vichanse
Is it possible to query only for hospitals and not all healthsites using the api/v2?
tarifa-man
@tarifa10

hello - first of all many thanks for this great project
question: To which extend i can use the data of healthsites.io - can i use the maps too? can we use the data-extracts and the Maps too!?

are they released under the: Open Data License (ODBL)
https://wiki.openstreetmap.org/wiki/Global_Healthsites_Mapping_Project
https://github.com/healthsites/healthsites/wiki/healthsites.io-license

guess: Since the data is released under Open Data License (ODBL), have a look at the TLDR Legal for ODBL. that said: it seems like we can use the data since it indeed fits the conditions of the license.
gueess that we can use:

look forward to hear from you - regards martin

Jeff Evans
@jeff303
Is there a way to search for facilities by both name, and country? The v2 > facilities > list API method accepts a country filter, but appears to have no way to narrow down by name. The v2 > facilities > autocomplete > list API method takes a query string, but doesn't appear to allow a country filter.
MarcMart
@MarcMart
Hi everybody I have a basic question
Which is Is all the added information fed back to openstreetmap?
Sorry, sentence got messed up: Is all added information fed back to OSM? If not all but some, which?
Mark Herringer
@markherringer
Hello @MarcMart