You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2021-06-15 17:33:40

tagtheworld
Banned
Registered: 2012-04-25
Posts: 236

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


https://wiki.openstreetmap.org/wiki/User:Tagtheworld - interested in all things concerning osm especially those related to the languages Perl, PHP, Python and the databases MySQL and Postgresql.

Offline

#2 2021-06-15 17:59:56

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,601

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

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/healthsi … -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/ .

Last edited by SomeoneElse (2021-06-15 18:00:26)

Offline

#3 2021-06-15 18:20:45

tagtheworld
Banned
Registered: 2012-04-25
Posts: 236

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

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


https://wiki.openstreetmap.org/wiki/User:Tagtheworld - interested in all things concerning osm especially those related to the languages Perl, PHP, Python and the databases MySQL and Postgresql.

Offline

#4 2021-06-15 18:34:42

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,601

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

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.

Offline

Board footer

Powered by FluxBB