Test Case Title |
TC5.17 - Search on Services via Smart City API: MicroApplication, Exploiting Micro Applications in HTML5 based on Advanced Smart City API |
Goal |
I can: Exploit MicroApplications developed on the basis of the Advanced Smart City API for accessing to mobile app micro applications ready to use, and for embedding them on City Dashboards exploit a large range of MicroApplications scenarios ready to use once the Smart City API are in place. Exploiting the MicroApplications as elements of Dashboards connection via HTTPS/HTTP |
Prerequisites |
Using a PC or Mobile with a web browser. Access to Smart City API user manual. Access to the development tool kit exemplified. The following functionalities are available only for specific Snap4city users with specific privileges. |
Expected successful result |
Learn how to exploit HTML5 MicroApplications based on Advanced Smart City API to create a web and/or mobile application. |
Steps |
Snap4City allows setting up social use cases, exploiting social media data, events in the city, distribution and location of POIs, location of emergency areas, location of cultural POI, etc.
The Snap4City solution may send to the city users: suggestions, hints, and notifications on the basis of their preferences, profiles, habits, etc., thus stimulating virtuous behaviour in the city. (see [engagement])
These features are activated by collecting data about the user profile or just making a request to the Advanced Smart City API on the Suggester and/or Personal Assistant.
Example 1: Weather forecast in Florence:
Example 2: Public events in Florence:
https://www.km4city.org/webapp-new/?coordinates=43.773066;11.256932&operation=events
Example 3: Parking with real-time status:
Example 4: Routing and Multimodal Routing call and estimation
The following REST Call is an exemplification of the functionality, minima parameters are the GPS coordinates or the location name area (“Firenze” for example): Several features for accessing to POI and services of interest by means of the Advanced Smart City API.
Multimodal Routing:
https://www.km4city.org/webapp-new/?operation=pathfinder&destination=43.7711;11.2713&coordinates=43.795;11.2652&routeType=public_transport
Example 5: Pollution:
- identify the pollution measuring stations which are closer to your position or in some area of your interest. Then click on them to see the values measured, and reported stats.
Example 6: Pollination:
- identify the pollination measuring stations which are closer to your position or in some area of your interest. Then click on them to see the values measured, and reported stats.
https://www.km4city.org/webapp-new/?coordinates=43.7640;11.2481&operation=environmentmenu/pollen
Example 7: First Aid Status
Hospital first aid status, identify the closer first aid locations, see their triage status at a glance, click on it to see the details.
https://www.km4city.org/webapp-new/?coordinates=43.773066;11.256932&operation=health/firstaid
Example 8: Civil protection alert:
https://www.km4city.org/webapp-new/?coordinates=43.773066;11.256932&operation=environmentmenu/infosoc
Please note that civil protection alert are whown on the app when really occur, so that if you try the live service as that provided above, probably you do not get much in that moment. This information i also send in push on the mobile.
Example 9: Public transport timetable
https://www.km4city.org/webapp-new/?coordinates=43.773066;11.256932&operation=publictransport/timetable
In order to demonstrate them, the example can be obtained by observing what happen on the Apps: “Firenze dove cosa, ..”, and “ Toscana dove cosa, ..”. From the mobile a user (anonymous or not) may request a suggestion to get back a list of entertainment events and/or point of interest and/or Tweets and/or Civil protection information, etc., around its positions.
- To test see the examples above.
once accessed to the main set of transportation utilities you can select the preferred. On the other hand you can also search for the public transportation facilities around your disregarding of the provider.
-
- you can also search for the public transportation facilities around your disregarding of the provider.
- Click on the dashboard https://www.disit.org/dashboardSmartCity/view/index.php?iddasboard=MjUw
- A panel suitable for totem containing a view the public transportation in station area with busses, train and a second view on cultural activities in the same area.
- Identified public transport also report the next arrival time
- You can select the line you prefer and see the path and stops
Example 10: Geospatial entities can be annotated on the Knowledge Base also via Advanced Smart City API, Bidirectional Web and Mobile App, exploiting by Advanced Smart City API
- also the user may provide information about each single POI; See For example the raking, images and comments which can be provided to POI
- Once opened the following view, please select a pin on the right side or on the map, you will get a view with information and the possibility of providing comments and ranks. On mobile also images, picture.
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/emergency
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/entertainment
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/environment
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/financialservice
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/governmentoffice
- https://www.km4city.org/webapp-new/?coordinates=43.720953;10.409746&operation=aroundyou/healtcare