Python Forum
How can I export or query all hospitals from Open Street Map?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I export or query all hospitals from Open Street Map?
#1
dear experts good day,


okay - this is not a simple python-question - but we can do this with python as well i suppose.

How can I export or query all hospitals from Open Street Map?


'd like to extract all the hospital locations in the from Open Street Map as a reference for my ,little geocoding project.

I know how to get all the OSM data for a small area with the QGIS plugin but not sure how to query a larger area  eg for the whole planet-file?



some ideas:


1) The read-only Overpass API. I don't know that it'll work for the whole planet-file in one pass, but maybe if we extend the time out enough?
For a smaller area and with the benefit of a (minimal) UI, we can access Overpass via the XAPI Query Builder. There, we can put amenity=hospital in the tag search, select our area, and go.



2) Geofabrik downloads, filtered with Osmosis, as described in How to extract partial data for large regions? on the OpenStreetMap Help.


3) what about using healthsites.io:  regarding healthsites this is the most important link: https://healthsites.io/api/docs

can i use healthsites.io for my project!?




what is aimed: i want to maintain the dataset in a pustgresql-db



update: since i am interested especially in the dataset of healthsites.io i can download it at this page:_ https://healthsites.io/map


- and import all that OSM-data to PostGIS for the purpose of visualization and further analytics. There are a bunch of tools on the market— osm2pgsql; imposm; ogr2org; just to mention some of those. i will do any further steps according this manual: https://www.cybertec-postgresql.com/en/o...he-basics/
Wordpress - super toolkits a. http://wpgear.org/ :: und b. https://github.com/miziomon/awesome-wordpress :: Awesome WordPress: A curated list of amazingly awesome WordPress resources and awesome python things https://github.com/vinta/awesome-python
Reply


Messages In This Thread
How can I export or query all hospitals from Open Street Map? - by apollo - Aug-04-2020, 08:37 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020