Implementation and Management Approach
Usually city administration gave citizens and professionals an official and detailed set of maps, viewable only with specific software and not changeable by the user. In Web 2.0 era, citizens are used to services like Google Maps and to sharing of data and information. The City of Turin thought it was useful and interesting to give citizens both services, a professional one addressed to professionals and business users, and a light and easy one for users that want to build and share their content. The second one is exactly MappaTO. In this way citizens can find Administration maps and also other users maps, they can create their own and even share with others. There is a changing of the point of view, with users that participate in building and customizing each other the maps. This result was the first goal of the project, as the City Administration wants to involve citizens in participation processes like this.
Technology solution
Web application MappaTO is based on following elements:
- A server side component, written in PHP language, that implements business logic behind navigation and data management.
- A client side component, written in Javascript language, that manages communication with Google Maps API (Application Programming Interface).
- An authentication service, called Torinofacile, that manages user authentication and authorization.
The PHP application, it’s made up of three different modules:
- Navigation business logic: manages public and private navigation, implementing functionalities like maps view and maps modifying.
- Geographic localization engine: manages XML request as input and provides a response with Javascript code, KML and OV2 files.
- Back office module: gives editors functionalities related to map visibility and user management.
This PHP module uses a MySQL database, with the help of ADOdb open source library. Language versions are PHP 5.1.6 and MySQL 5.0.66 sp1 enterprise.
About client side Javascript component, it’s made up of some JS classes and has the task to manage data provided from the server side components, using Google Maps API. This component is multi-browser and it supports Internet Explorer from version 6 on, Opera from version 9 on, Firefox from 2.0 on, Apple Safari from 3.0 on.
About Torino Facile authentication service, this application has been developed in 2001 by the City of Turin to manage citizens authentication and authorization. Communication between this component and the other application modules is based on XML protocol.