LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-01-2020, 03:47 PM   #1
rincon
LQ Newbie
 
Registered: Mar 2020
Posts: 16

Rep: Reputation: Disabled
healthsites.io :: API and first steps to use the data


dear community


i am pretty new to linux - and have some insights into openStreetmap.


some first steps into the technique of OpenStreetMap i have made: working with the languages like PHP / Perl and of course Python i am working on the API-endpoint with requests ...
osmconvert and osmfilter
Overpass-API and Overpass-Turbo-API
working on the planet file
- at the API-Endpoint with PHP, Perl, Python
- PostGIS and of course osmosis - the OpenStreetMap - swiss army tool.


now i have seen a interesting dataset like healthsites.io_ this is pretty cool: this is just outstanding and great!

i work for an organization that contributes to volunteering opportunities especially in the field of education and medicine (hospital, clinic etc. etx). peace and development through volunteerism worldwide. Volunteerism - in general - is a powerful means of engaging people in tackling development challenges, and it can transform the the engagement of a single volunteer. Volunteerism benefits both society at large and - besides that- the individual volunteer by strengthening trust, solidarity and reciprocity among citizens, and by purposefully creating opportunities for participation. At the moment we re thinking about doing some first steps with the great dataset of healthsites.

regarding healthsites this is the most important link: https://healthsites.io/api/docs/
Means there is an API to get the data from with a personal API key : note: with this - i should be able to put the data on a website

e.g. to a mapping plugins of wordpress. there some of them working with openStreetmap - see for example: https://de.wordpress.org/plugins/search/map/
they are equipped with a whole lot of top notch and very advanced features so we do not need to manually embedded map.
In addition to single or multiple locations, interactive map plugins provide:
were able to add Custom icons and markers
Animations
Filter and search options
Clusterization
Zooming and panning
pinning the map to a block
using the data that comes shipped with the map.

question: can we run and apply the data from the Open data collaboration https://healthsites.io in wordpress
look forward to hear from you

above all: keep up the great project - it rocks.
regards

rincon
 
Old 08-02-2020, 04:04 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,919
Blog Entries: 9

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
Quote:
Originally Posted by rincon View Post
question: can we run and apply the data from the Open data collaboration https://healthsites.io in wordpress
Do the research:
  • look what sort of permissions healthsites gives you for using their data (afaiu this should be ok)
  • look if wordpress has anyhting against it (why should it?)
 
Old 08-02-2020, 11:44 AM   #3
rincon
LQ Newbie
 
Registered: Mar 2020
Posts: 16

Original Poster
Rep: Reputation: Disabled
hello dear ondoho,

first of all: many many thanks for the reply and for your encouraging to go on: this is very helpful.


Quote:
Originally Posted by ondoho View Post
Do the research:
  • look what sort of permissions healthsites gives you for using their data (afaiu this should be ok)
  • look if wordpress has anyhting against it (why should it?)

regarding healthsites this is the most important link: https://healthsites.io/api/docs/

Means there is an API to get the data from with a personal API key : note: with this - i should be able to put the data on a website - e.g. to a mapping plugins of wordpress. there some of them working with openStreetmap.

according the man page we have: https://wiki.openstreetmap.org/wiki/...apping_Project

Data Extracts

Healthsites.io Data extracts per country are available on Healthsites.io, which can be found by going to the map page and browsing the country list on the left panel. Clicking on the name of any country listed will show a dashboard for that country which includes a link for downloading the associated data as a shapefile.

Humanitarian Data Exchange Health facility data can be downloaded from the Humanitarian Data Exchange (HDX) platform. Healthsites is registered as the Global Healthsites Mapping Project and hosts country datasets for health facilities, which can be downloaded as a GeoJSON, CSV and/or Shapefile.

Export Tool: The Export Tool is another platform where health facility data can be easily downloaded. Developed by the Humanitarian OpenStreetMap Team, the Export Tool is an open service that creates customised extracts of up-to-date OpenStreetMap data in various file formats, including GeoPackage (.gpkg), Garmin (.img), Google Earth (.kml), OSM (.pbf), MAPS.ME (.mwm), OsmAnd (.obf) and MBTiles (.mbtiles).


so according the main question is: are we able to integrate with the healthsites API - eg to a osm-plugin in wordpress?

Does it integrate with the Open Layers engine?
will i be able to custom markers, allow for filter and for zooming and so on?
do i need to add a own data-set via an import?



i guess that i can do some export of the data: the most interesting data for me is to find the adress-data of the hospital in some part of the world...

- france
- argentina
- brasil
- chile
- spain
etc. etx.

i need to fetch those kind of data from the healthsite.io-database!


btw: if i can do this with or without wordpress - either way would be okay...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Ocean API, and an IdeDigital Ocean API hunterjoz1996 Programming 0 09-30-2015 01:45 AM
LXer: Open data portals should be API [First] LXer Syndicated Linux News 0 12-26-2014 07:03 AM
How to add features to a kernel, what steps and why these steps are taken. Siljrath Linux - General 1 03-30-2013 08:53 AM
[SOLVED] Difference between Library API and System Call API ram619 Linux - Kernel 8 12-27-2012 02:40 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration