Integrating istSOS as a data store in MapMint

== Introduction ==
MapMint is a Geographic Information System (GIS) software running on a web server made to facilitate the administration of a Spatial Data Infrastructure (SDI). Also a modular and extensible WEB-GIS application generator. Behind the MapMint solution is the massive usage of OGC Web Services and making all processing in the solution available as WPS services using the ZOO-Project. Yet it is not capable of grabbing sensor data and publishing. On the other hand, istSOS which is an OGC SOS server implementation written in Python allows for managing and dispatch observations from monitoring sensors according to the Sensor Observation Service standard.
== Idea ==
The idea of integrating istSOS as a data store in MapMint is able to provide a platform for data visualization which can be used as near real time, analysis such as interpolation analysis, conversion such as vector and raster data, and publish as maps and OGS standard services such as WMS, WFS,WMTS and WPS by utilizing the data from istSOS. The provided datasets and services (WMTS,WMS, etc) can be deploy within MapMint or for any other software such as GRASS GIS to enable new processing capabilities.
== Tentative Schedule == 
Time frame 	Task
May 5 - 29 2017 	Setup servers and interact with the community
May 30 - June 15 2017	Working with sensors and istSOS
June 16 - July 2 2017	Adding sensor data to MapMint
July 2 - 17 2017 	Developing an interface to handle sensor data in Mapmint
July 17 - 24 2017 	Identifying and Implementing a service to process the data
July 24 - August 2017	Finalize MapMint SOS implementation
August 2 - 10 2017 	Identify the bugs and fix
August 10 - 20 2017 	Finalize the documentation work and publish all the codes
August 21 - 29 2017 	Finalize all the work and submitting them
== Weekly Reports == 
=== Week 1 ===
 
Up to June 4
* What did you get done this week? 
I have setup istSOS in my local machine. And I tried to visualize the data on istSOS from arduino. I used dht11 sensor. Finally I could get the data (humidity and temperature) on istSOS from arduino. 
I have tried to test the updated ansible-roles to install the mapmint. Identified changes have been edited in the repository.
* What do you plan on doing next week? 
Try the mapmint functions and report the existing issues.
* Are you blocked on anything? 
no
=== Week 2 ===
 
June 4 ~ June 11
* What did you get done this week? 
This week I couldn't work much on the project. Because I have to ready for my Master 
course presentation on 13th June. I will allocate more time after 13th June. 
* What do you plan on doing next week? 
continue the work with mapmint functions.
* Are you blocked on anything? 
no
=== Week 3 ===
June 12 ~ June 18
* What did you get done this week? 
This week I tried to publish data using mapmint. 
and I tried to add a new sensor to istSOS apart from the existing observed property. 
* What do you plan on doing next week? 
I will be keep working on more examples in mapmint. 
* Are you blocked on anything? 
no
=== Week 4 ===
June 19 ~ June 25
* What did you get done this week? 
This week I could successfully connect PostgreSQL datastore to Mapmint,
Then, I visualized the data and published the data which are stored in postgresql.
* What do you plan on doing next week? 
I will implement a service to process the data. 
* Are you blocked on anything? 
no
=== Week 5 ===
June 26 ~ July 2
* What did you get done this week? 
Aim of my project is to provide platform to process istSOS data inside the mapmint 
and bring it as data store to mapmint. Therefor in order to test the functions and 
demonstrate, I was working on implemented same service to process the sample 
data from PostgreSQL.
* What do you plan on doing next week? 
Continue and finishing implementing services to process sample data. 
* Are you blocked on anything? 
no
=== Week 6 ===
July 3 ~ July 9
* What did you get done this week? 
This week I was trying to use and implement the existing vector tools to process the sample data and continuing it. 
* What do you plan on doing next week? 
Monday and Tuesday I will be able to 
work on my project and then  I am leaving for FOSS4G-Europe.
* Are you blocked on anything? 
no
=== Week 7 ===
July 10 ~ July 16
* What did you get done this week? 
This week I couldn't work on project. I was traveling to attend to foss4g Europe. I think I can get more experience and knowledge by attending foss4g Europe.
I was traveling to Paris From Osaka to attend the FOSS4G Europe. 
* What do you plan on doing next week? 
 
This week I will be presenting my past work in foss4g Europe conference. And I will attending to workshops and gather more knowledge on foss4g.
By the time I will meet my mentors and boost the project.
* Are you blocked on anything? 
no
=== Week 8 ===
July 17 ~ July 23
* What did you get done this week? 
This week I attended to foss4g Europe. During the conference i could meet my mentors and discuss about outcomes of the project and improvement which need to be done further. 
* What do you plan on doing next week? 
During the conference I lost my computer. So some part of my work are lost. Still I have some part in my other computer and with that I will try to recover my work and start the work where I stoped 
* Are you blocked on anything? 
Yes,
Lost my computer and need to redo some of my work.
=== Week 9 ===
July 24 ~ July 30
* What did you get done this week? 
This week I successfully resetup MapMint and all the other missing components due to miss my computer and back to where I stopped. 
I made a report about the issues users would face when they are installing MapMint and 
how to solve those issues step by step. 
* What do you plan on doing next week? 
Start developing a module to add to the interface to handle sensor data in MapMint dashboard.
* Are you blocked on anything? 
Delayed my work due to the loss of my computer 
=== Week 10 ===
July 31 ~ August 6
* What did you get done this week? 
This week I started to building the module of istSOS in mapmint. 
Along with it I started to create the interface as well. 
* What do you plan on doing next week? 
This week I try to finish the module.
I will start to create the final version of documents
* Are you blocked on anything? 
no
=== Week 11 ===
August 7 ~ August 13
* What did you get done this week? 
This week I was working on building the module of istSOS in mapmint. 
- visualize the data in mapmimt
- adding parameters 
* What do you plan on doing next week? 
This week I  will finish the module.
* Are you blocked on anything? 
no
=== Week 12 final report ===
August 14 ~ August 29
Final report is available at 
https://github.com/niroshansb/mapmint/wiki
== Student's Biography ==
Niroshan Bandara, is a student at Osaka City University, Japan. He is following a Master programme on Urban Information study at Graduate School of Creative Cities. And He completed Bachelor degree in Town and Country Planning, specialized on Planning technology. Basically, His Master research is focusing on Crowdsourced and sensor based geo­spatial data integration with web based GIS services. He is interested in web technologies, sensor and crowdsource geographic data visualization and processing techniques. His past and current work highly focus on FOSS4G applications, as a result he has realized importance of FOSS4G. Therefore, he wants improve and extend his knowledge in FOSS4G development. So, He take the opportunity of joining GSoC 2017. 
GitHub repositories can be found at https://github.com/niroshansb/
Category:Google Summer of Code