1 Clustering our sources and servicesBruxelles, 14-Dec-16 Clustering our sources and services Andrea Detti, Lorenzo Bracciale CNIT, University of Rome Tor Vergata also supported by
2 ITS Data and Service Sharing: the problemI need ITS data or services available in Brussels. May be some cluster projects can help me? Andrea Detti, netgroup.uniroma2.it/people/faculties/andrea-detti/
3 ITS Data and Service Sharing: the solutionData and Services provided by projects of the cluster Federated Spatial Database for discovery ICN based Andrea Detti,
4 ITS Data and Service Sharing: consumer how toSpatial Query Metadata describing data and services in selected area Direct connection with data and services Andrea Detti, netgroup.uniroma2.it/people/faculties/andrea-detti/
5 ITS Data and Service Sharing: consumer how to Andrea Detti, netgroup.uniroma2.it/people/faculties/andrea-detti/
6 ITS Data and Service Sharing: producer how toDATA URL Property (URL, king of service, etc.) Geometry (point, multipoint, line, polygon, etc.) GEOJSON Spatial Objects Federated Spatial Database for discovery Metadata Extraction Andrea Detti,
7 Thank you Questions? Andrea Detti, Ph. D.Professor of Telecommunications Phone: Fax: UNIVERSITY OF ROME “TOR VERGATA” Department of Electronics Engineering Via del Politecnico, Rome - Italy Andrea Detti,
8 Backup slides Andrea Detti, netgroup.uniroma2.it/people/faculties/andrea-detti/
9 OpenGeoBase Distributed/Federated Spatial Database based on Information Centric Networking (ICN) technology Database Engines (modified NDN repo) Range Query Certificate Repo Front-end Library (JNDN running in SPRING App Server) App ICN NFD,NLSR HTTPs or Local Interface Cloud or Virtual Private Network (VPN)
10 State of art: face to faceOGB Existing noSQL DB (e.g. MongoDB) Federated deployment Many administrators responsible of their data partition Geographical sharding DB engines associated to different geo partition A DB engine can be dedicated to store all data of a country Query routing Queries are sent only to relevant DBs Data-centric security Per-data user right Data owners are responsible for data validity Directive 2010/40/EU compliant Distributed deployment Single administrator responsible for all Hash sharding DB engines associated to different hash partition A DB engine can not be dedicated to store data of a country Query flooding Queries sent to all DBs Table-centric security Per-table user right Administrator is responsible for data validity ? Andrea Detti,
11 Programming: Login import com.bonvoyage.ogb.client.*;String uid = “test";// user id String tid = “test";// tenant id String pwd = “test";// password String cid = "GTFS";// collection id String serverURL = "https:// :443"; String token; OgbClient ogbTestClient = new OgbClient(serverURL); // LOGIN token=ogbTestClient.login(uid, tid, pwd); Andrea Detti,
12 Programming: Insert a GeoJSON Point// INSERTION OF POINT OBJECT // point coordinates (lon,lat) double [] coordinates = {0.1, 0.1}; // point properties HashMap
13 Programming: RangeQuery// RANGE QUERY, response is a JSON Array of GeoJSON objects double sw_lat=0.0; double sw_lon=0.0; double size = 0.5; String response = ogbTestClient.rangeQuery(token, cid, sw_lat, sw_lon, size); Andrea Detti,