Commit e91eb4ad authored by Srilekha Mopidevi's avatar Srilekha Mopidevi
Browse files


parent b2459d35
Pipeline #35014 passed with stage
in 14 seconds
# Sickaid
## Sickaid
SickAid project is a hospital recommendation system.
This project is implemented in pateint perception.
......@@ -15,96 +15,22 @@ Our Project is based on core Python.
Comments are put into the source code for better understanding.
Optimized codes are being used and is easy to understand.
This is useful to individuals who are new to a city and want to find the nearest hospital.It helps to get best medication fastly and effectively.
### Requirements:
This a desktop version of the app.It works well with any python supported interface.The modules used are :
**OSM MAPS:-**
OpenStreetMap (OSM) is a collaborative project to create a free editable map of the world.
Rather than the map itself, the data generated by the project is considered its primary output.
The creation and growth of OSM has been motivated by restrictions on use or availability of map information across much of the world, and the advent of inexpensive portable satellite navigation devices
**OpenStreetMap (OSM):-**
GeoPandas is a project to add support for geographic data to pandas objects.
It currently implements GeoSeries and GeoDataFrame types which are subclasses of pandas.
Series and pandas.DataFrame respectively.
In this project we make use of Folium which is a powerful Python library that helps you create several types of Leaflet maps.
For clarity, the map is technically called a 'Leaflet Map'. The tool that let's you call them in Python is called 'Folium'.
The Folium results are interactive since the user utilizes the given maps in order to obtain the exact specific location of the nearest hospital they require at the moment. Thus making this an interactive operation process.
Basically first generate a base map of given width and height with either default tilesets or a custom tileset URL.Then pass any of the given tilesets to the “tiles” keyword: OpenStreetMap
Pyplot is a Matplotlib module which provides a MATLAB-like interface.
Matplotlib is designed to be as usable as MATLAB, with the ability to use Python, and the advantage of being free and open-source.
import osmnx as ox In [3]: Hyd = ox.graph_from_place('Hyderabad, India', network_type='drive')
Overpass API is optimized for data consumers that need a few elements within a glimpse or up to roughly 10 million elements in some minutes, both selected by search criteria like e.g. location, type of objects, tag properties, proximity, or combinations of them
We have used PYTHON,HTML languages in our project .
The project is implemented based on Geopandas and OSM maps.The mapping is done with the help of OSM and ploting is done by OverPass API.
The project is split into two parts. The first part deals with the OverPass API. First we import OverPassAPI using OSM Xtract.
We take the tag=amenity and value=hospital
The second part is an app created using Geopandas for geo locations, that searches for the nearest hospitals and then returns the relevant closest hospital.
The project is being developed using PYTHON language. The version that is being used is python3 version.
The maps used in this project are built using data from OpenStreetMap, which means that they are up-to-date with the latest data coming from mapping efforts around the world. It means that if you see pieces missing, you have the ability to update or edit those features directly from your browser.
Then using folium we make beautiful, interactive maps with Python and Leaflet.js
To create a base map we simply pass the starting coordinates to Folium.
To display it in a Jupyter notebook, simply ask for the object representation.
The default tiles are set to OpenStreetMap.
Using folium.marker we plot the hospitals with the help of latitudes and longitudes that are present in the excel document database that has been implemented and saved.
Next folium.Map is used to point create the map object.
folium.Icon allows users to display custom images as icons instead of the default markers. It creates a custom pointer which is used to plot a specific place.
Here is how to do it. First we instantiate the map:
Then tooltip has been made used of to show some text or message which appears when a cursor is positioned over an icon, image or hyperlink.
popup is used to show the details about a pointer when it is clicked. popup has been made a part of in order to have a quick and easy way to communicate with the user. This is used for things like informational messages, warnings, disclaimers, new product versions, and a whole lot more.
The goal is to create a popup window function, along with a text parameter where we specify the text we want to show.
import os imports the osm maps in which the hospitals are plotted.
Finally function is used to save the folium markers in osm map in the form of a html document.
### Installation Steps :
### Configuration :
See the [](docs/ file for contributing
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment