appropiat method to import the dataset (and the map) of healthsites.io

dear Community,

whats the most appropiate way and method to import the dataset (and the map) of a healthsites.io-request to wordpress:

lets take for example the following request:

https://healthsites.io/map?country=Italy

should we do this via

shapefle

note: A Line layer consists of two different types of OSM features, Ways and Nodes. … sections of this plugin section according to their functionality (editing, identification, etc.).

BTW - can i export the data of healthsits only in CSV formate - that means: what if i only want to gather the POI

is this doable too!?

Then i can poulate the data in to a MySQL or PostGreSQL db

look forward to hear from you

It’s not clear what you want to do - you say “to wordpress” but that’s just a blogging platform. A blog post might be a link to anything (perhaps a link to healthsites.io, a uMap map at https://umap.openstreetmap.fr/en/ , something else…).

For the avoidance of doubt, if you’re talking about “importing into OSM”:

For any import, what you’d need to do is spelt out at https://wiki.openstreetmap.org/wiki/Import/Guidelines . The whole process needs to be followed, including “Community Buy-in” and “License approval”.

Interestingly, it appears that there have been some historical updates from healthsites.io to OSM in the past - see https://github.com/healthsites/healthsites/issues/1357#issue-583598138 for what has happened previously.

If you’re not talking about “importing into OSM”, just instead asking about downloading data from them:

You’ll need to ask healthsites.io what format they can make their data available in.

If the data you want is actually all in OSM, then you could obtain it from there, perhaps by Overpass, or by just downloading it from one of the extracts and mirrors listed at https://planet.osm.org/ .

hello dear SomeOneElse,

first of all : many many thanks for the quick reply. Great to hear from you. Weil - to clear up some things.

importing into WP ( wordpress) - the idea behind is that i want to add some data (csv) in tables or as map into a wordpress-CMS.

therefore i wanted to know how to proceed

  • exporting the data in a apropiate way - eg. as a CSV-export.
  • exporting the data as a map!?

btw: we also have the export-method via hotosm.org

see: https://export.hotosm.org/de/v3/exports

and besides that: see thie following options:

https://healthsites.io/api/docs/#api-v2-facilities-list

the shema document:

Load the schema document
$ coreapi get https://healthsites.io/api/docs/

and now i am able to interact - accordingly

Interact with the API endpoint
$ coreapi action api v2 > facilities > list -p api-key=… -p page=… -p country=… -p extent=… -p output=… -p from=… -p to=… -p flat-properties=… -p tag-format=…

ps - i guess that i need an api-key here too!?

many thanks for all you did!!

i have to leave house - but i can respond later …

regards

Unfortunately I can’t comment on what https://export.hotosm.org/de/v3/exports or https://healthsites.io/ will allow you to do - you’ll need to ask HOT or healthsites.io respectively.