see for overview the first day of the training course
Click here to get the FAQ on IOT staff
Click here to get the FAQ on Snap4City Installation from VM, Dockers and Source Code
Below, FAQ for general questions:
How can I contact Snap4City?
Foer HELP DESK and COntact: https://www.snap4city.org/3
For problem reporting: https://docs.google.com/forms/d/e/1FAIpQLSfDQtKqgLIIyycNXiazeYEh1SsRG1YL8Ze4ThD8nZoA5jsoXw/viewform
How can i test it ?
Registration on Snap4City is free, each user may be registered/login to only one Organisation at time, you may do multiple registrations to different organisation by using different email addresses, multiple logins. The registration at the Organisation may be moderated since the Organisations may load private data and tools, and thus may autonomously decide the policies to data access and thus to register.
FOR TESTING we suggest you to register to Snap4City by selecting DISIT Organisation to get access at the tools working on open data regarding Tuscany, many cities such as Firenze, Pisa, Lucca, Massa, Prato, Pistoia, Arezzo, Grosseto, Massa, etc. etc.
How much cost Snap4City?
Snap4City is 100% open source. The table with licenses and the links to access at the source code on GITHUB is accessible from https://www.snap4city.org/drupal/node/7 (almost all is on https://github.com/disit ) So that, if you download and install Snap4City or Km4City or a part of them, you do not have to pay .... you do not have to pay to get, install and use Snap4City source code, you can make profit from those services as well. Documentation is also available on this portal, or on Km4City.org portal and/or on DISIT.org portal..... Please read the documentation of each tool and you fill find the documentation links, tool by tool. The solution is modular and capable to cover a wide spectrum of solutions, you may need only a part of it. We suggest you to register into the snap4city.org portal, to read the documentation, to practice with the basic principles and once conquered the basic steps with the online documentation and platform please return to us if needed. In any way, you can contact us to request an offer on our additional services. The platform can be also installed by using Dockers and/or Virtual Machine Appliances that you find on https://www.snap4city.org/471
Can Snap4City helps us in designing the smart city and services?
Yes, we can help you in the design of your smart city, in the process of data identification, etc. Snap4City has a consolidated methodology for setting un smart cities exploiting what you have in place and leveraging the services, please see training courses to have an idea: https://www.snap4city.org/501
These activities have a cost for us and so we have to understand what you are requesting to us to provide you an offer. You can even ask to some other partner to do the same job.
Can you explain the relationship between Snap4City and Km4City?
They are substantially two layers of the same environment, all 100% open source. Both of them have server and client applications but at different level and goals. See the architecture on the web slide https://www.snap4city.org/drupal/node/135 and https://www.snap4city.org/download/video/Slide-4-3/index.html
- Km4city is the model and engine for data model and smart city API
- snap4city all the rest of the tools
What software development environment do we need (i.e. Eclipse?)
For developing: Dashboards, IOT Applications, etc. all can be done from the web site of Snap4City, you do not need to install the development environment for creating dashboards and IOT applications, etc.
On the contrary, if you would like to rebuild your own version of Snap4City tool by restarting from source code different development environments are needed since the code is produced by using different programming languages. For example: PHP, JAVA; JavaScript, Python, Node.JS, etc. But this depends module by module.... We suggest you to register into the snap4city.org portal, to read a bit of documentation, to practice with the basic principles and once conquered the basic steps with the online documentation please return to us if needed. please see training courses to have an idea: https://www.snap4city.org/501
The city of XXXX has 170+ open data sets and taking a look at them all but not all the needed data are there, thus we have to ask to provide additional data.
May be, it depends on the scenarios/services you would like to activate. We suggest you to start from the analysis of data you have and see what you can do with those that you have. Then identify something more according to your goals in terms of scenarios. We suggest you to follow the Innovatrix Model by IMEC as methodology. Once identified the target scenarios the data needed can be easily identified and may be recovered from multiple sources, at local, regional and national level. Snap4City has a consolidated methodology for setting un smart cities exploiting what you have in place and leveraging the services, please see training courses to have an idea: https://www.snap4city.org/501
A main issue is getting the data and understanding the required formats. What do you think about this?
Please take into account that the format is not a problem for Snap4City. With Snap4City any format and protocol can be used for data ingestion and communication. So that the formats neither the protocols are not something that would block you in using a data or another. We suggest you just search for the protocol and format you have to address into the search box of the Snap4city Portal and read the articles and real example in response. see https://www.snap4city.org/65
How you went about collecting and/or developing data with the cities that are using Snap4City platform.
We typically start a dialogue to identify what they feel relevant. The most relevant issues are typically related to: mobility, transport, emergency, security, environment, waste collection optimisation, etc. We help them in identifying all the details and the process to ingest the data. A lot of ready to use ETL procedure/script are provided by Snap4City from which you can start with for ingesting your data into the Snap4City platform. They are also open source. We suggest to start from what they feel more relevant, and than to identify what is missing and help them on: creating data or finding them at national level, from local operators, in-house companies, etc.; changing reconfiguring what they have... for example the Wi-Fi network or other; collecting data from mobile Apps, etc.; installing new sensors; putting the final users and city stakeholder in conditions to create installs new sensors; creating a coworking lab, living lab for the city for producing data and services; etc. We have a large experience in supporting cities and local stakeholders in identifying the data sources, exploiting them in creating insights, in a few meetings and back office work, it can be worked out. Snap4City has a consolidated methodology for setting un smart cities exploiting what you have in place and leveraging the services, please see training courses to have an idea: https://www.snap4city.org/501
Which is the relationship from Snap4City and FiWare?
See this web page: https://www.snap4city.org/467
Snap4City is an official platform of FiWare. Snap4City is 100% open source free of charge and free of licenses now and forever. The platform can be also installed by using Dockers and/or Virtual Machine Appliances that you find on https://www.snap4city.org/471
Snap4City is using FiWare and NGSI protocol for IOT, in addition Snap4City is compliant with a large number of protocols, more than 50. https://www.snap4city.org/drupal/node/65
Snap4City is also producing a number of FiWare NGSI devices: Snap4All IOT Button, Snap4City Arduino IOT device, IOT Edge Snap4City, LoraWAN Gateway IOT Edge, etc.
Snap4City is providing a larger number of open source tools that are not FiWare registered. And they can be used in connection with other FiWare tools are well.
Snap4City has produced a mutual authentication model and secure communication compliant with NGSI and IOT Orion Broker.
See details about compliant / interoperability on https://www.snap4city.org/drupal/node/283
Snap4City is also complient with a large number of protocols, and being modular can exploit and be integrated with your legacy systems.
Who is using the platform now?
there are a number of cities in trial/deploy at the same time now with different levels of maturity, for most of them a new Organisation has been activated in the platform: Florence, Tuscany area with many cities, Prato city with two pilots, Pisa city, Lonato Del Garda, Garda Lake area, Sardegna region and Cagliari metropolitan area, Helsinki city, Antwerp city, Modena, Santiago de compostela in Spain, etc... (at 20-10-2019). Each user may be registered to only one Organisation at time. The registration at the Organisation is moderated since private data of the Organisation can be there and they may adopt different policies for data access, and user registration. On the other hand, you can register using DISIT Organisation to see the tools working on open data regarding Tuscany, many cities such as Firenze, Pisa, Lucca, Massa, Prato, Pistoia, Arezzo, Grosseto, Massa, etc. etc.
in addition there are a number of Industry IOT Installations on premise of companies.
Which are the active usages/projects/trials/experiments?
See the flyer 2019: https://www.snap4city.org/download/video/barc19/DPL_SNAP4CITY_2019-FULL.pdf
see the list of Scenarious: https://www.snap4city.org/4
Active (2018) projects are: (i) listed in the flyer (updated at 2018-October) you can download: https://www.snap4city.org/download/video/DEPLIANT_SNAP4CITY_FULL-OK.pdf
(ii) described a bit in the slide updated at 2018-12-21: https://www.snap4city.org/download/video/Slide-4-3/index.html .
The active projects/trial/experiment/usage are both in the domains of Smart City, and Industry 4.0
Can I register to Multiple Organisation?
Each user may be registered/login to only one Organisation at time, you may do multiple registrations to different organisation by using different email addresses, multiple logins. The registration at the Organisation may be moderated since the Organisations may load private data and tools, and thus may autonomously decide the policies to data access and thus to register. In any case, you can register to Snap4City by selecting DISIT Organisation to get access at the tools working on open data regarding Tuscany, many cities such as Firenze, Pisa, Lucca, Massa, Prato, Pistoia, Arezzo, Grosseto, Massa, etc. etc.
I requested to be registered into a wrong organisation, may I change?
Yes it is possible to change. Please send an email to the help desk: https://www.snap4city.org/3 or by using the contact form: https://www.snap4city.org/drupal/contact
I noticed that the platform has many functionalities that are not accessible for Level 0 users. How it is possible to pass at the next levels?
The users typically are registered as Manager/Level 0. They can pass at the next Levels only by conquering them by creating simple Dashboards, IOT Applications, etc. The first Levels are still for Managers. Level 5 can be reached only becoming an AreaManager. The AreaManagers are the developers and/or contributors of the platform, and may have several benefits, including more power, data access, etc. etc. The attribution of the AreaManger role is provided on the basis of the activity performed in passing from Level 0 to Level 4. Once arrived at Level 4 please request to pass at AreaManager by using the contact form accessible on https://www.snap4city.org/drupal/contact form. The Organisations (cities, regions, university, research centers, etc.) can directly subscribe for their personnel a number of users with the role of AreaManager , Manager or even higher.
Which kind of benefit may have a city using the platform?
The benefits and advantages for a city can be several, from more sustainability, lower costs, higher awaness about how the city users are using the city, info mobility, smart parking, smart triage, traffic flow, origin destination matrices, analysis of the demand vs offer of mobility, traffic flow reconstruction, simple production of mobile applications, a large and powerful city Dashboards, etc. In addition, Snap4City fully supports the creation of a Living Lab for the organisation, to help their users and stack holders to work together around data, services, creating smarter services, organising campaign for city users engagement, exploiting the legacy services and sensor network, and data, etc. etc
How can I make business on Snap4City ?
You can! You can download any tools from GITHUB and instal them on your premise and start any business you like. You do not have to pay us. The platform can be also installed by using Dockers and/or Virtual Machine Appliances that you find on https://www.snap4city.org/471
Who is governing Snap4City? How is possible to contribute?
Snap4City started since Km4City former tool. A number of partners and companies have developed tools and processes. All those that have been accepted in the platform and are Open Source are posted on the GITHUB/DISIT, so that you can contribute directly on GITHUB or contacting us as you like. The main partners are those of Snap4City: UNIFI, UNIMI and Snap SRL, Effective Knowledge, plus also former partners of Sii-Mobility for some aspects of Km4City. The whole activity is coordinated by DISIT Lab, a not for profit research lab (which is in place since 1994) of the University of Florence which is in place since 1300. The rules for contributing to Snap4City are very simple. One can contribute with:
- a new tool and the new tool can be integrated if it respects rules regarding: quality of the code, usability, interoperability with the rest of the platform, security, GDPR compliance, scalability, robustness, documentation in terms of test cases, responsiveness, etc. You can propose a tool as External Service and in that case the requirements are strongly relaxed. Tools providing functionalities which are already present in other tools of the resent version can be also accepted.
- new functionalities improving the present tools, for example starting from the source code on GitHUB and working on the source code. The improved version and new features can be proposed by posting them on Github as branches and presenting them via email snap4city@disit.org with a short document, slide and the possibility of testing them from some place.
- bug solving can proposed by proposed by posting them on Github as branches and presenting them via email snap4city@disit.org with a short note on the bug solved.
- dashboards, iot Applications, ETL, data analytics, etc. can be freely proposed and shared on both GITBHUB/DISIT and Resource Manager.
How difficult is to add one more protocol?
Any kind of user can add a new protocol by adding a new Node/Block on NodeRED (IOT Application). This will allow to send the data on Dashboards. Please note that NodeRED library provide a very wide collection of nodes covering any kind of protocols. A large community of developers is also active to create other protocols as soon as they are proposed on the market. The collected data by using Node-RED/IOT App can be saved by the IOT App into the MyKPI Data of the user creating a personal data shadow. And thus the data can be also delegated in access to other users, groups, Organisations or made public.
If the new protocol to be added has to collect data for all the users, so that at level of city, the solutions can be performed by using Node-RED as IOT Application and making them public, or by creating a new ETL Process to be scheduled on DISCES. ETL processes can cope with PULL protocols, for historical data, and not for real time data in push, which can be treated only by using Node-RED.
If the new protocol data need to be collected for all users creating a shadow independent, it can be done by using Node-RED again, or creating a new process in NIFI. The back office NIFI in Snap4City is presently subscribed to all brokers creating automatically the shadow of data, and being more resilient with respect to Node-RED IOT Applications.
Bidirectional Connections, back and forward, sensors and actuators?
In Snap4City bidirectional connetction in real time, event driven are possible and natural. The solution allows to receive from IOT data driven in push and the processes in Snap4City are ready to react at the messages arriving in the platform, with IOT Applications for example. Moreover, the IOT Applications, as well as the Dashbboards can directly send messages to the IOT devices and other Dashboards and IOT App as well creating actions, virtual actuators in the network. This means that the connections: IOT Device <--> IOT Device, IOT Device <--> Dashboards, IOT Device <--> IOT Applications <--> Dashboards and their combinations are all possible with real time, event driven messages, and depending on the protocol also by using protected end-to-end secured encrypted autheticated communications. For "Back and Forward" we indend exactly the receiving of messages from the back and the forward of them into the backoffice.
Which is the business model of Snap4City?
Snap4City sustain selling services over the platform. The platform itself is a commodity, and services are:
- consultancy on setting up the smart city, data discoverying and aggregation, data identification, living lab set up, living lab managment, data agreement establishing, GDPR, etc.
- consultancy on technical aspects of smart city design of the infrastructure, technical integration with your legacy solution, etc.
- customization of the platform with new module and plgins, that in principle will be released open source (or of your ownership depending)
- customization of the platform with changes on the code that will be released open source according to the licence model of the tool
- smart city as a service (see also EOSC market place in which Snap4City is listed): hosting data, providing services, etc. and the above points integrated
- installation of the platform on your premise, or on your indicated public cloud
- maintenance of an installed Snap4City solution, on our cloud, on any cloud, on your premise
- training your operative personnel for using the platform, creating dashboards, IOT Applications, installing the platform, etc. (this can be personalized or comulated in training days and week with other customers), it can be on our location or on your premise
- help desk support on all the above aspects over an exceding amount of hours that are free of charge.
- developing data analytics over those that are freely provided, and/or setting up data analytics that need learning phases on your premise
- etc.
Which is the best method to include/embed a Map into a Dashboard?
In Snap4City there are many solutions to create a Dashboard including a MAP. See the several examples in the list of Public Dashboards. They can be realized, the simplest to the most complex, by using:
- the Wizard during the Dashboard creation selecting a widget which includes a map and related High Level Types such as: POI, MyKPI Data, Sensors, etc.
- an ExternalService embedding inside an Iframe Widget maps such as: ServiceMap, GoogleMap, OSM, etc., and any third party map
- MultiData Map by creating a Custom Dashboard. Those maps can visualize at the same time, traffic flow, heatmaps, POI, Sensors, paths, etc.
- MicroApplications with maps, they can be embedded into Dashboards as ExternalServices, and they may include typically maps and their associated functionalities
- IOT Application, using a Dashboard Widget Map (worldmap) or ExternalContent widget, and sending to it the services to be visualized, potentially also your personal MyPersonal Data, MyKPI Data, etc. for tracking fleets and personal positions
Is Snap4City compliant with ESRI, and GIS in general?
YES it is. It is fully interoperable with a large set of legacy solutions and protocols. See for description: TC10.20- The Snap4City solution is Interoperable
swee the following page for details about GIS vs Snap4City: https://www.snap4city.org/drupal/node/368
How can I have additional IOT Applications?
Typically, each user may acitvate a limited number of IOT Applications according to its role and organization. Please note that, many users activate an IOT Application for each flow, while it should be noticed that each IOT Application may have multiple concurrent task flow inside. For each Flow page into an IOT Application page and editor, one can have multple flows. Moreover, each IOT Application may include inside multiple flow (see the + on the right upper corner). All these flows are executed concurrently and thus are independent thread of execution. You may need more IOT Application only when you finisched the memory or CPU of all your IOT Applications.
For SLA, Service Level Agreement?
From where can i download full snap4City source code so that i can customize it?
according to the modules you can get the source code from github/disit: https://github.com/disit
i suggest start from: https://www.snap4city.org/7
The platform can be also installed by using Dockers and/or Virtual Machine Appliances that you find on https://www.snap4city.org/471
from the VM installed you can update the source code directly from GitHub.
How can we get access of higher level role above AreaManager so that we can access or validate all available features of Snap4City ? for example to explore features for roles as "tooladmin/rootadmin"?
Those roles for the organizations in place are actual and thus on live organizations present privacy and security issues in place, your cannot access to them. Any way, you can test these features in two manners:
- (1) asking us to give you a demonstration on specific aspects,
- (2) download and install on your premise snap4city in VM or Docker and testing in local as in small case. In any way, to test those features in real cases, the only solution is to book us for a demonstration, this is particularly true for RootAdmin which is a multi organization role and so a complete installation on multiple cities is needed to see the capabilities.
Which languages are supported?
Snap4City supports on final users mobile Apps, web app and MicroApplications different languages: German, France, Italian, English, Finnish, Spanish.
On the development environment the dominant language is English for all the user interface, training, and technical documentation.
Some training has been also provided in Italian. Other languages can be addressed on demand.
What you do on traffic management ?
we have in place:
- traffic flow sensors collection and management, there are several examples on that
- real time collection of data … from sensors (spire and tv cam, also from gates, etc.)
- traffic flow sensor data predictions (this part is presently not visible since the values are estimated for the traffic flow reconstruction process only, so far) It may be visible as well when needed.
- These are real time data collection, monitoring, historical and real time predictions
- traffic flow reconstruction, from sensors data to full traffic flow network estimation and prediction of traffic flow density
- https://www.snap4city.org/dashboardSmartCity/view/index.php?iddasboard=MTc5NQ==
- These are real time estimations and real time rendering of data regarding flows
- https://www.snap4city.org/drupal/node/543
- Traffic flow in/out of the city, taking into account the global number of means entering and exiting from the city over the major connections/roads of different kind:
- Once you have traffic flow reconstruction it is possible to compute prediction on NOX and airquality
- Having the data regarding the vehicles plate numbers we have tools for:
- Trajectory reconstruction
- Origin destination computation and show multi grid
- https://www.snap4city.org/drupal/node/544
- Dynamic routing is a feature available presently on the basis of defined scenarios as barriers and areas and it is adopted into the Florence Smart City Control Room
we are also developing an analyzer that would produce the analysis of the offer of Mobility (public transport means scheduled and monitored), versus the (demand of transport in terms of monitoring, and census population) so that to be capable to tell at the city what they should do for restructuring the public transport network and what could happen if they perform some changes...https://www.snap4city.org/drupal/node/554
What about Integrated Transit Management System (Vehicle locations) ?
we are capable to track vehicles
- for Vehicle locations: with some OBU trackers (may be cellular connection) and ODB2 devices (via BT via mobile phone or cellular connection: Trajectories of vehicles or bikes, or mobile phone can be collected via mobile app (tablets on busses for example) or by using BT. registered, shown, and also busses monitored.
- bus network can be monitored for assessing quality of transportation, by estimating mean delay time to arrival at busstops: I authorized Priya user of NEC India to see the private dashboard of Florence City on this regard:
- routing tools that allow to compute routing (and multimodal routing) taking into account multiple stops
- what if analysis tool exploiting routing:
- https://www.snap4city.org/drupal/node/531
- Presently we are working also on a more powerful tool for whatif analysis connected to routing, the new version will take into account a larger set of possible kinds of constraints...on the roads.
- On the basis of the Scheduled plan for rtasnport system we have algorithms for computing the probable interpolated position so that if you have real time
- It can be tested from https://servicemap.snap4city.org/
- From the menu on the left side up: “position of the selected busses”
What about control flow and alerting ?
The best solution for workflow is to use the IOT Applications to define the actions on the basis of the events. The single workflow can be used to fire at certain events and to send messages towards any kind of system:
- Dashboard blinking and alerting, etc.
- Email, facebook, telegram, etc.
- Ticket management system for maintenance: OpenMaint (that we are used to use) or others
The Workflow for ticketing management is managed inside the Maintenance Tool, we use:
Any events occurring on the field coming from IOT Devices, or from some CAP event source can be monitored datadriven on the dashboard directly and visualized in many different manners:
- Changing color on buttons
- Pop ups
- Changing views on dashboards
- Scrolling list of events,
The dashboard builder has also an integrated Notification system (notificator) that
- may send the email on the basis of some thresholds defined in the “more options” of each single widget of each dashboard. The notifications can be sent to groups of users using a template, etc..:
- the thresholds are also shown on the widget with some color and blinking. Etc. on the graphs etc. etc.
- See documentation on https://www.snap4city.org/drupal/node/140
- it works well on solution stand alone since the notificator it is not fully extended on multitenacy ? multi user solution
What about the role and control management, RBAC on snap4city elements?
Presently we have 4 roles codified:
- RootAdmin…. The “god” of the solution
- ToolAdmin some area tool manager
- AreaManager: that is the advanced developer: IOT App, Dashboards, but also IOT Devices, Models, etc.
- Manager: that is the final user with some develop capability also: IOT App, Dashboards, etc.
In the platform the LDAP allows RootAdmin to:
- define more roles, but they have to be enforced into the tools according to your needs.
- Restrict the access of some user to specific tools. For example one could create some ToolAdmin which are GOD on some specific tool and limited in others.
Each entity in the system has an OWNER (except the GOD that is the owner of all 😊 )
The Entities are: IOT Device, IOT Brokers, sensors, IOT App, Dashboards, etc.
Each OWNER can:
- Delegate in access/view to its elements any other user of the same ORG (only the IOT App cannot be delegated in access) (delegation in edit does not exist, only the owner can edit and modify)
- Pass the ownership of its elements to any other user, losing any ownership forever
Collaborative work can be done only on the same account, entering with the same credentials of from RootAdmin an any other user, for maintenance and training and support.
How can I do with workflow for management smart city processes?
the integration of Snap4city with workflow management system for managing tickets for maintenance of eventually for rescue teams, etc. can be easily performed by defining the interaction on Dashboards and the flows via the IOT Applications. The main functionalities are those that allow to recover from the IOT App: (i) list of active processes, (ii) access to the status of a process, (iii) access to the possible next states of a process, (iv) change of the sttus or send of a message to change it, (v) reception of an event that the status has been changed for a given process. see HOW TO: manage maintenance and accidents workflows
So that the integration of Snap4City with workflow management system can be very simple or sophisticated depending on your applications.
we suggest you to use the OpenMaint solution which is open source. but Snap4City can be easily integrated to any other solutions.
Typically the solutions for workflow management can produce reports regarding any elements of the workflow. The Workflow can be customized as well as the reports. Examplex can be: incidents and events occurrence, taking in charge of them, planning the actions, acquisition of the action from a team, final actions performed and closure of the event.
Is the Snap4city platform already used in some cities? Could you give us one example?
Snap4City (https://www.snap4city.org ) is providing services and data to several cities, public and private organizations, and research institutions, improving city services, security and safety in real scenarios and providing tools for advanced analytics and predictions, apps and dashboards for monitoring city status.
Snap4City is the reference platform for the setup of the Smart City Control Room for the Municipality of Florence and is collecting a relevant amount of data and performing the data analytics to provide a set of Dashboards for the control room. https://www.snap4city.org/531
The City of Antwerp with its police dept. DIGIPOLIS is using Snap4City to monitor the number of people accessing to strategic locations in the city, like museums, sport areas and during public events. They are using our PAXCounter IOT Devices mobile and fixed. https://www.snap4city.org/456
Lonato del Garda for control room and smart parking as reported in the slides: https://www.snap4city.org/download/video/course2020/gen/
Many other cities are also using Snap4City for different purposes, like Pisa (for setting up living lab, and Trafair), Livorno into Trafair, Helsinki, Cagliari, Santiago de Compostela, Modena, Garda Lake, etc., to get real time view of the city status for different domains: mobility and transport, environmental aspects, social, energy, home automation, industry 4.0, governmental aspects, tourism, etc. Also in this case we suggest you to see https://www.snap4city.org/download/video/course2020/gen/
Could you mention a couple of key highlights of why this platform is useful for policy makers?
Policy makers could receive from Snap4City valuable dashboard that may show in real time the status of the city in the domains: mobility and transport, environmental aspects, social, energy, etc. And specific tools for:
- reasoning and understanding in deep: traffic flow reconstruction, people flow, origin destination matrices, hot points, heatmaps on pollutant and accidents.
- Data analytics with predictions and anomaly detections https://www.snap4city.org/4
- what if analysis for dynamic routing in critical conditions https://www.snap4city.org/506
- social media analysis via Twitter Vigilance https://www.snap4city.org/624
- Decision support system based on System Thinking https://www.snap4city.org/520
- DORAM tool, analysis of demand vs offer of mobility https://www.snap4city.org/554
- Etc.
All these tools can provide hints about the presents conditions and suggestions on how the city should react and what could happen taking different decision with What-If analysis, and DORAM tool for the analysis of demand vs offer of mobility, and predictive models on: people flow, traffic, parking, triage, etc.
We suggest you to see the different scenarios on: https://www.snap4city.org/4
Tell us more about the Snap4city platform: what is it about, and how/by whom it is used?
Snap4City (https://www.snap4city.org ) is the 100% open source platform developed by DISIT Lab in collaboration with other institutions and companies, providing a flexible method and solution to quickly setup a large range of smart city applications exploiting heterogeneous data and enabling services for stakeholders by IOT/IOE (internet of things/internet of everything), data analytics and big data technologies. Snap4City satisfies a large range of requirements of city officers, citizens, and tourists to developers, companies and researchers as identified by ENOLL, EIP-SCC, Select4Cities PCP. Snap4City is 100% open source, scalable, robust, respects user needs and privacy; easily replaceable tools and it is totally compliant with GDPR, can be used as Smart City as a Services or can be installed on your premise and you preferred cloud. Snap4City is an official platform of EOSC, an official platform of Fi-Ware, E015, BeeSmart, SigFox, etc. Snap4City is providing services to a number of relevant cities/Organizations (full list on https://www.snap4city.org/download/video/cov/ ) as: Firenze and whole Tuscany, Helsinki, Antwerp, Lonato del Garda, Santiago di Compostela, Pisa, Prato, Pistoia, Lucca, Arezzo, Grosseto, Livorno, Siena, Massa, Modena, Cagliari and Sardinia, SmartBed, etc. that are exploiting Snap4City capabilities to improve city services, security and safety by offering a sustainable solution for smart city and Living Lab, by keeping under control the real time city evolution: reading sensors; computing and controlling key performance indicators, KPI; detecting unexpected evolutions; performing analytics; taking actions on strategies and alarms.
Which are the mechanisms to send data into the Open Distro Elastic Search?
The in place mechanisms to send data on elastic search are
(i) passing from an IOT Broker registered on IoT Directory, and thus directly registered on NIFI which will be registered to all the events arriving on the Broker,
this feeding is automated if the IoT device (physical or virtual) is registered on IoT Broker and thus on IoT Directory and NIFI
(ii) providing data as MyKPI deciding their storage on ES at level of root admin, also in this case, the feeding is automatic
(iii) automatically from Data Table Loder that takes info and data from an excel file and generates IoT Devices and data, creating automaatically data model, regisstered IoT Devices, and time series
in all cases, the feeding can be performed via IoT App, or via API, or Manually generate the single instance. For IoT Devices via IoT directory, and for MyKPI, via MyKPI manager.
Which are the mechanisms to send data into the Knowledge Base?
The KB is feed with new concepts and entities, and they are produced by the solution and feed into the KB:
(i) automatically by the IoT Directory about all the new registred IoT Devices which are registered on some IoT broker which have been already registered on IoT Directory
(ii) automatically from an IoT App it is possible to generate triples in somehow and post them in N3 formats into the specific KB you targeted, according to the ORG you have
(iii) automatically from POI Loader tool that takes Excel file in input and generate triples for a specific your organization
(iii) manually producing triples and send them to RootAdming for feeding KB, or using an IOT App for feeding KB
(iv) converting OSM in triples about road graph details by using a tool called
It is possible to send data even driven to Dashboards ?
Yes it is possible to send data event driven on Dashboards, there are several Dashboard widgets which are data event driven. The data event driven can be sent to the Dashboard from IoT App, with or without passing from storage of some kind. In this process is possible to have event driven data produced from Synoptics, MyKPI, IoT devices, and Dashboards. So that physical of virtual IoT Devices can produce or receive event driven data/messages.
what happen to solutions developed using Snap4City tools in some place... are they open source as well ?
Please note that developing solutions on Snap4City implies to create your artefacts and smart solutions, decision support systems, etc., in fully control of your Intellectually Property and not open source. They are composed by:
• Data Models, IoT Device Models, etc.
• IOT APP, with business logic
• Data Analytics, in RStudio or Python
• Dashboards with client side business logic
• Synoptics,
• etc.
The fact that you have developed them in Snap4City (which is 100% open source) does not imply that the artefacts and your smart solutions are open source as well. They are 100% under your control, and you can decide how to release them, which kind of licence to impose on them. This also implies that Snap4City has no rights on what you have developed using Snap4City development tools. In fact, it is totally equivalent of developing a program with an open source tool. If you develop a database with MariaDB, the tables and queries are not open source, if you develop something on NIFI Apache which is open source, your flow is not open source, etc.
If you are developing some smart solutions on some platform Powered by Snap4City technology, the platform manager and owner may have some rights on what you have developed according to the terms of use. For example, the rights to off and discharge your solution if it creates some problems or violate the rule imposed by the service.
Is there a document which describes how the API-led connectivity works in Snap4city
all the APIs are modeled as microservices and accessible in the infrastructure. They are divided in internal and external APIs. They are accessibile as REST CAll and as Microservices Node in NODE-RED that are IoT App and recently renamed as Processing Logic in the development life cycle document which also explains the usage of most relevat APIs
https://www.snap4city.org/download/video/Snap4Tech-Development-Life-Cycle.pdf
the proc.logic is the glue for any logic you would like to create among the API and also to create new if needed. Data analytics processes are also automatically converted in API provided from containers automatically deployed on Cloud.
In addition, the external control of the API usage is performed optionally using APIMAN: https://www.snap4city.org/827
Do you renamed some terms?
- Rename of some tools and concepts since the actual implementation is wider than the initial name:
- IoT Directory --> Entity Directory
- IoT Device Model --> Entity Model
- IoT Device Variable --> Entity Variable/value
- IoT Applications, IoT App --> Processing Logic, Proc.Logic
- IoT Device --> Entity Instance
- IoT Device Message --> Entity Message
Dashboards that can integrate numerous data sources.
For example, a 3rd-party api to look at ev charge points or routing. I also may use static data and other sources of dynamic data. Is it possible to connect directly to an API that uses an api key for authentication.
- from snap4city dashboard is possible to connect any API with CSBL tech:
- it is also possible to develop more complex dashboard:
- to get data from any kind of service and protocol:
- develop data analytics, AI, ML, etc.:
----------------
Please provide a Feedback
You can also drop a comment on the page.