Submitted:
15 March 2024
Posted:
18 March 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Spatio-Temporal Data Indexing Methods
3. DSTree: A Spatio-Temporal Index
3.1. DSTree index
Insert
Delete
Query
DSTree construction from bulk data
3.2. Performance metrics


4. IPFS
5. Distributed Network Integration
Data Management
Metadata
5.1. Architecture and Implementation

6. Discussion
Data locality in the IPFS with DSTree
DSTree Limitations
7. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| IPFS | Interplanetary File System |
| DSTree | Distributed Spatio-temporal Tree |
| DHT | Distributed Hash Tree |
| P2P | Peer-to-Peer |
| KNN | K-nearest neighbour |
| DGGS | Discrete global grid system |
| DAG | Directed acyclic graph |
| IPLD | InterPlanetary Linked Data |
| CID | Content ID |
| GI | Geographic information |
References
- Goodchild, M.F.; Fu, P.; Rich, P. Sharing Geographic Information: An Assessment of the Geospatial One-Stop. Annals of the Association of American Geographers 2007, 97, 250–266. [Google Scholar] [CrossRef]
- Anderson, J. OpenStreetMap Contributor LifeSpans - Revisiting and expanding on 2018 research paper. 2021.
- Doulkeridis, C.; Vlachou, A.; Nørvåg, K.; Kotidis, Y.; Vazirgiannis, M. Efficient search based on content similarity over self-organizing P2P networks. Peer-to-Peer Networking and Applications 2010, 3, 67–79. [Google Scholar] [CrossRef]
- Al-Yadumi, S.; Xion, T.E.; Wei, S.G.W.; Boursier, P. Review on integrating geospatial big datasets and open research issues. IEEE Access 2021, 9, 10604–10620. [Google Scholar] [CrossRef]
- Group, T.H. Hierarchical Data Format (HDF). 2023. Available online: https://www.hdfgroup.org/.
- Mahecha, M.D.; Gans, F.; Brandt, G.; Christiansen, R.; Cornell, S.E.; Fomferra, N.; Kraemer, G.; Peters, J.; Bodesheim, P.; Camps-Valls, G.; others. Earth system data cubes unravel global multivariate dynamics. Earth System Dynamics 2020, 11, 201–234. [Google Scholar] [CrossRef]
- github.com/opengeospatial. Geoparquet, 2022.
- iceberg, A. Apache iceberg, 2022.
- Goodchild, M.F. The future of digital earth. Ann. GIS 2012, 18, 93–98. [Google Scholar] [CrossRef]
- Yu, J.; Wu, J.; Sarwat, M. Geospark: A cluster computing framework for processing large-scale spatial data. In Proceedings of the 23rd SIGSPATIAL international conference on advances in geographic information systems; 2015; pp. 1–4. [Google Scholar]
- Eldawy, A.; Mokbel, M.F. Spatialhadoop: A mapreduce framework for spatial data. In Proceedings of the 2015 IEEE 31st international conference on Data Engineering; 2015; pp. 1352–1363. [Google Scholar]
- Bambacht, J.; Pouwelse, J. Web3: A Decentralized Societal Infrastructure for Identity, Trust, Money, and Data. arXiv 2022, arXiv:2203.00398. [Google Scholar]
- Nofer, M.; Gomber, P.; Hinz, O.; Schiereck, D. Blockchain. Business & Information Systems Engineering 2017, 59, 183–187. [Google Scholar]
- Nakamoto, S. Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review 2008, 21260. [Google Scholar]
- Hojati, M.; Feick, R.; Roberts, S.; Farmer, C.; Robertson, C. Distributed spatial data sharing: a new model for data ownership and access control. Journal of Spatial Information Science under review. 2022. [Google Scholar] [CrossRef]
- Djellabi, B.; Amad, M.; Baadache, A. Handfan: A flexible peer-to-peer service discovery system for internet of things applications. Journal of King Saud University-Computer and Information Sciences 2022. [Google Scholar] [CrossRef]
- Ye, W.; Khan, A.I.; Kendall, E.A. Distributed network file storage for a serverless (P2P) network. The 11th IEEE International Conference on Networks, 2003. ICON2003. IEEE, 2004.
- Ehiagwina, F.O.; Iromini, N.A.; Olatinwo, I.S.; Raheem, K.; Mustapha, K. A State-of-the-Art Survey of Peer-to-Peer Networks: Research Directions, Applications and Challenges. management 2022, 14, 19–22. [Google Scholar] [CrossRef]
- Achir, M.; Abdelli, A.; Mokdad, L.; Benothman, J. Service discovery and selection in IoT: A survey and a taxonomy. Journal of Network and Computer Applications 2022, 200, 103331. [Google Scholar] [CrossRef]
- Crainiceanu, A.; Linga, P.; Gehrke, J.; Shanmugasundaram, J. Querying Peer-to-Peer Networks Using P-Trees. In Proceedings of the 7th International Workshop on the Web and Databases: Colocated with ACM SIGMOD/PODS 2004; Association for Computing Machinery: New York, NY, USA, 2004. [Google Scholar] [CrossRef]
- Ramabhadran, S.; Ratnasamy, S.; Hellerstein, J.M. Prefix Hash Tree An Indexing Data Structure over Distributed Hash Tables. PODC 2004 conference, 2004.
- Hassanzadeh-Nazarabadi, Y.; Taheri-Boshrooyeh, S.; Özkasap, Ö. DHT-based Edge and Fog Computing Systems: Infrastructures and Applications. Proceedings of the IEEE INFOCOM 2022-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS) 2022, 1–6. [Google Scholar]
- Harren, M.; Hellerstein, J.M.; Huebsch, R.; Loo, B.T.; Shenker, S.; Stoica, I. Complex queries in DHT-based peer-to-peer networks. In Peer-to-Peer Systems; Lecture notes in computer science; Springer Berlin Heidelberg: Berlin, Heidelberg, 2002; pp. 242–250. [Google Scholar]
- Triantafillou, P.; Pitoura, T. Towards a unifying framework for complex query processing over structured peer-to-peer data networks. In Databases, Information Systems, and Peer-to-Peer Computing; Lecture notes in computer science; Springer Berlin Heidelberg: Berlin, Heidelberg, 2004; pp. 169–183. [Google Scholar]
- Xia, J.; Yang, C.; Li, Q. Building a spatiotemporal index for earth observation big data. International journal of applied earth observation and geoinformation 2018, 73, 245–252. [Google Scholar] [CrossRef]
- Mokbel, M.F.; Ghanem, T.M.; Aref, W.G. Spatio-temporal access methods. IEEE Data Eng. Bull. 2003, 26, 40–49. [Google Scholar]
- Mondal, A.; Lifu, Y.; Kitsuregawa, M. P2PR-tree: An R-tree-based spatial index for peer-to-peer environments. In Current Trends in Database Technology - EDBT 2004 Workshops; Lecture notes in computer science; Springer Berlin Heidelberg: Berlin, Heidelberg, 2004; pp. 516–525. [Google Scholar]
- Morton, G.M. A Computer Oriented Geodetic Data Base and a New Technique in File Sequencing. International Business Machines 1966. [Google Scholar]
- Stocia, I. Chord: A scalable peer-to-peer lookup service for internet applications. Proc. of ACM SIGCOMM, 2001, 2001.
- Sahin, O.D.; Antony, S.; Agrawal, D.; Abbadi, A.E. Probe: Multi-dimensional range queries in p2p networks. International Conference on Web Information Systems Engineering. Springer, 2005, pp. 332–346.
- Liang, S.; others. A new peer-to-peer-based interoperable spatial sensor web architecture. The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences 2008, 3, 1. [Google Scholar]
- Zhang, C.; Krishnamurthy, A.; Wang, R.Y. Skipindex: Towards a scalable peer-to-peer index service for high dimensional data; Department of Computer Science, Princeton University: New Jersey, USA, 2004; pp. 703–704. [Google Scholar]
- Maymounkov, P.; Mazières, D. Kademlia: A Peer-to-Peer Information System Based on the XOR Metric. Peer-to-Peer Systems; Druschel, P.; Kaashoek, F.; Rowstron, A., Eds. Springer, 2002, Lecture Notes in Computer Science, pp. 53–65. [CrossRef]
- Kantere, V.; Skiadopoulos, S.; Sellis, T. Storing and indexing spatial data in P2P systems. IEEE Trans. Knowl. Data Eng. 2009, 21, 287–300. [Google Scholar] [CrossRef]
- Tang, C.; Xu, Z.; Dwarkadas, S. Peer-to-peer information retrieval using self-organizing semantic overlay networks. Proceedings of the 2003 conference on Applications, technologies, architectures, and protocols for computer communications, 2003, pp. 175–186. [CrossRef]
- Demirbas, M.; Ferhatosmanoglu, H. Peer-to-peer spatial queries in sensor networks. Proceedings Third International Conference on Peer-to-Peer Computing (P2P2003). IEEE, 2003, pp. 32–39. [CrossRef]
- Cai, W.; Zhou, S.; Qian, W.; Xu, L.; Tan, K.L.; Zhou, A. C2: a new overlay network based on can and chord. International Journal of High Performance Computing and Networking 2005, 3, 248–261. [Google Scholar] [CrossRef]
- Soro, A.; Lai, C. Range-capable Distributed Hash Tables. Gir, 2006.
- Jagadish, H.; Ooi, B.C.; Vu, Q.H.; Zhang, R.; Zhou, A. VBI-Tree: A Peer-to-Peer Framework for Supporting Multi-Dimensional Indexing Schemes. 22nd International Conference on Data Engineering (ICDE’06), 2006, pp. 34–34. [CrossRef]
- Ganesan, P.; Yang, B.; Garcia-Molina, H. One torus to rule them all: multi-dimensional queries in p2p systems. Proceedings of the 7th International Workshop on the Web and Databases: colocated with ACM SIGMOD/PODS 2004, 2004, pp. 19–24. [Google Scholar]
- Vlachou, A.; Doulkeridis, C.; Nørvåg, K.; Kotidis, Y. Peer-to-peer query processing over Multidimensional Data.
- Dangermond, J.; Goodchild, M.F. Building geospatial infrastructure. Geo-spatial Information Science 2019, 23, 1–9. [Google Scholar] [CrossRef]
- Gebbert, S.; Pebesma, E. A temporal GIS for field based environmental modeling. Environmental Modelling & Software 2014, 53, 1–12. [Google Scholar] [CrossRef]
- Yuan, M. Temporal GIS and spatio-temporal modeling. Proceedings of Third International Conference Workshop on Integrating GIS and Environment Modeling, Santa Fe, NM, 1996, Vol. 33.
- Pelekis, N.; Theodoulidis, B.; Kopanakis, I.; Theodoridis, Y. Literature review of spatio-temporal database models. The Knowledge Engineering Review 2004, 19, 235–274. [Google Scholar] [CrossRef]
- Theodoridis, Y.; Vazirgiannis, M.; Sellis, T. Spatio-temporal indexing for large multimedia applications. Proceedings of the Third IEEE International Conference on Multimedia Computing and Systems. IEEE, 1996. [CrossRef]
- Mahmood, A.R.; Punni, S.; Aref, W.G. Spatio-temporal access methods: a survey (2010 - 2017). Geoinformatica 2019, 23, 1–36. [Google Scholar] [CrossRef]
- He, Z.; Wu, C.; Liu, G.; Zheng, Z.; Tian, Y. Decomposition Tree: A Spatio-Temporal Indexing Method for Movement Big Data. Cluster Computing 2015, 18, 1481–1492. [Google Scholar] [CrossRef]
- Armstrong, M.P. Temporality in spatial databases. GIS/LIS 88 Proceedings: Accessing the world 1988, pp. 880–889.
- Peuquet, D.J.; Duan, N. An event-based spatiotemporal data model (ESTDM) for temporal analysis of geographical data. International Journal of Geographical Information Systems 1995, 9, 7–24. [Google Scholar] [CrossRef]
- Jackins, C.L.; Tanimoto, S.L. Oct-trees and their use in representing three-dimensional objects. Comput. Graph. Image Process. 1980, 14, 249–270. [Google Scholar] [CrossRef]
- Zhang, C.; Zhu, L.; Long, J.; Lin, S.; Yang, Z.; Huang, W. A hybrid index model for efficient spatio-temporal search in HBase. In Lecture Notes in Computer Science; Lecture notes in computer science; Springer International Publishing: Cham, 2018; pp. 108–120. [Google Scholar]
- Zhao, K.; Chen, L.; Cong, G. Topic Exploration in Spatio-Temporal Document Collections. In Proceedings of the 2016 International Conference on Management of Data; Acm: New York, NY, USA, 2016. [Google Scholar]
- Qu, Q.; Nurgaliev, I.; Muzammal, M.; Jensen, C.S.; Fan, J. On spatio-temporal blockchain query processing. Future Generation Computer Systems 2019, 98, 208–218. [Google Scholar] [CrossRef]
- Zheng, Z.; Xie, S.; Dai, H.N.; Chen, X.; Wang, H. Blockchain challenges and opportunities: A survey. International Journal of Web and Grid Services 2018, 14, 352–375. [Google Scholar] [CrossRef]
- PostGIS. PostGIS clustering data, 2022.
- Liu, B.; Lee, W.C.; Lee, D.L. Supporting complex multi-dimensional queries in P2P systems. 25th IEEE International Conference on Distributed Computing Systems (ICDCS’05). IEEE, 2005. [CrossRef]
- Allen, J.F. Maintaining knowledge about temporal intervals. In Readings in Qualitative Reasoning About Physical Systems; Elsevier, 1990; pp. 361–372.
- Gabbay, D.; Kurucz, A.; Wolter, F.; Zakharyaschev, M. Applied modal logic. In Many-Dimensional Modal Logics - Theory and Applications; Studies in logic and the foundations of mathematics, Elsevier, 2003; pp. 41–109.
- Qian, C.; Yi, C.; Cheng, C.; Pu, G.; Wei, X.; Zhang, H. Geosot-based spatiotemporal index of massive trajectory data. ISPRS International Journal of Geo-Information 2019, 8, 284. [Google Scholar] [CrossRef]
- Sun, Y.; Zhao, T.; Yoon, S.; Lee, Y. A Hybrid Approach Combining R⁎-Tree and k-d Trees to Improve Linked Open Data Query Performance. Applied Sciences 2021, 11. [Google Scholar] [CrossRef]
- Tao, Y.; Papadias, D. MV3R-Tree: A Spatio-Temporal Access Method for Timestamp and Interval Queries. In Proceedings of the 27th International Conference on Very Large Data Bases; Morgan Kaufmann Publishers Inc.: San Francisco, CA, USA, 2001; pp. 431–440. [Google Scholar]
- de Berg, M.; Cheong, O.; van Kreveld, M.; Overmars, M. Computational geometry, 3 ed.; Springer: Berlin, Germany, 2008. [Google Scholar]
- Cormen, T.H.; Leiserson, C.E.; Rivest, R.L.; Stein, C. Introduction to Algorithms, Third Edition; The MIT Press, 2009. [Google Scholar]
- Finkel, R.A.; Bentley, J.L. Quad trees a data structure for retrieval on composite keys. Acta Inform. 1974, 4, 1–9. [Google Scholar] [CrossRef]
- Erwig, M.; Schneider, M. Developments in spatio-temporal query languages. Proceedings. Tenth International Workshop on Database and Expert Systems Applications. DEXA 99. IEEE, 1999, pp. 441–449. [CrossRef]
- github.com/vasturiano. d3-octree, 2022.
- github.com/CorentinTh. quadtree-js, 2022.
- github.com/alexbol99. flatten-interval-tree, 2022.
- Benet, J. IPFS - Content Addressed, Versioned, P2P File System 2014. arXiv 2014, arXiv:cs.NI/1407.3561. [Google Scholar]
- Zimmermann, R.; Ku, W.S.; Wang, H. Spatial data query support in peer-to-peer systems. Proceedings of the 28th Annual International Computer Software and Applications Conference, 2004. COMPSAC 2004., 2004, Vol. 2, pp. 82–85 vol.2. [CrossRef]
- Coulondre, S.; Libourel, T.; Spéry, L. Metadata And GIS: A Classification of Metadata for GIS. 1998.
- Brodeur.; Coetzee.; Danko.; Garcia.; Hjelmager. Geographic information metadata—an outlook from the international standardization perspective. ISPRS Int. J. Geoinf. 2019, 8, 280. [CrossRef]
- Kim, T.J. Metadata for geo-spatial data sharing: A comparative analysis. Ann. Reg. Sci. 1999, 33, 171–181. [Google Scholar] [CrossRef]
- Bossomaier, T.; Hope, B.A. Online GIS and Spatial Metadata, Second Edition, 2 ed.; CRC Press: London, England, 2015. [Google Scholar]
- Kleppmann, M.; Beresford, A.R. A Conflict-Free Replicated JSON Datatype. IEEE Trans. Parallel Distrib. Syst. 2017, 28, 2733–2746. [Google Scholar] [CrossRef]
- github.com/automerge. automerge, 2022.
- Li, M.; Stefanakis, E. Geospatial operations of discrete global grid systems—a comparison with traditional GIS. J. geovisualization spat. anal. 2020, 4. [Google Scholar] [CrossRef]
- Robertson, C.; Chaudhuri, C.; Hojati, M.; Roberts, S.A. An integrated environmental analytics system (IDEAS) based on a DGGS. ISPRS J. Photogramm. Remote Sens. 2020, 162, 214–228. [Google Scholar] [CrossRef]
- Hojati, M.; Robertson, C.; Roberts, S.; Chaudhuri, C. GIScience research challenges for realizing discrete global grid systems as a Digital Earth. Big earth data 2022, 1–22. [Google Scholar] [CrossRef]
- Sahr, K. Central place indexing: Hierarchical linear indexing systems for mixed-aperture hexagonal discrete global grid systems. Cartographica: The International Journal for Geographic Information and Geovisualization 2019, 54, 16–29. [Google Scholar] [CrossRef]
- Hojati, M.; Farmer, C.; Feick, R.; Robertson, C. Decentralized geoprivacy: leveraging social trust on the distributed web. Geogr. Inf. Syst. 2021, 35, 2540–2566. [Google Scholar] [CrossRef]





| X in relation to Y | Y in relation to X | Condition | |
|---|---|---|---|
![]() |
equal (=) | equal (=) | |
![]() |
meets (X m Y) | is met by (Y mi X) | |
![]() |
overlaps (X o Y) | is overlapped by (Y oi X) | |
![]() |
during (X d Y) | contains (Y di X) | |
![]() |
starts (X S Y) | is started by (Y Si X) | |
![]() |
finishes (X F Y) | is finished by (Y Fi X) | |
![]() |
precedes (X < Y) | is preceded by (Y > X) |
| IPFS Address | DAG result | IPFS Address | DAG result |
|---|---|---|---|
| Qmb...R | Returns entire graph | Qmb...R/11 | Returns Root/11/ |
| Qmb...R/11/111111 | Returns all features under Root/11/111111 | Qmb...R/11/111110 | Returns all features under Root/11/111110 |
| Qmb...R/10/1011/Qmb...d | Returns a single feature under Root/10/1011/ leaf | Qmb...R/10/1011/Qmb...c | Returns a single feature under Root/10/1011/ leaf |
| Qmb...R/metadata | Returns entire metadata object | Qmb...R/metadata/ | Returns under metadata |
| Metadata Key | Type | Possible/Example Values | Description |
|---|---|---|---|
| featureType | String | •geojson •topojson •dggsfeature |
To identify the decoder for reading |
| intervalKeys | Array[[]] | [[1,10],[5,15],[28,20]] | Temporal interval keys in order to decode interval tree index values to the exact Intervals |
| temporalLevel (T) | Integer | 1,2,...,n | The interval-tree level before converting nodes to quad-tree root nodes |
| featureTypeProperties | JSON | Variable | Each featureType might need specific details and metadata, they can be stored as this object. |
| quadExtent | Array[] | The extent of the quad-trees. The default value is [-180,-90, 180,90] degrees in geographic coordinates |
| Data Model | Functions | Notes |
|---|---|---|
| Vector | •Temporal typologies on Table 1 •Spatial Intersection •Spatial overlay •Spatial within •Spatial crosses •KNN |
KNN is not yet implemented |
| Raster | •Temporal topology queries •Extent queries •Multi-band data retrieval •Multi-resolution aggregation |
This can be achieved using raster tiling methods and constructing a DAG graph or converting data to other models such as DGGS and retrieving them using DGGS DAG graph |
| TIN | •Extent queries | This can be achieved by converting data to other models such as DGGS and retrieving using DGGS DAG graph |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).






