Skip to main content
Log in

Building 3D GIS data models using open source software

  • Original Paper
  • Published:
Applied Geomatics Aims and scope Submit manuscript

Abstract

Today, many GIS applications would require data sets containing full 3D data; application fields like urban and town planning, civil protection, cadastres and environmental studies could use full 3D data, both to carry out spatial analyses and inquiries as well as for only visualization. Data model can be accessed by desktop application as well as from Internet. This second option is becoming today the most requested. But in order to share 3D data model through Internet it is necessary to configure a suitable system. A 3D model can be shared on Internet in different ways. It is possible to incorporate a model inside an executable or 3D PDF file or build something like a multimedia application (i.e. flash based). However a better option is to put a model inside a geospatial database and build suitable web services to access it using Internet browsers. This second option can be performed using different solutions for web servers, development platforms and programming languages. Fundamental for this option is the construction of the model that should be structured, according a conceptual model to be replicable and interoperable. Hence, the model should be stored in a geospatial database in order to be accessed by an application running under a web server, so allowing access to the model. All this is the object of the researchManagement and use of distributed 3D data by open source WebGIS softwarethat is part of the Italian PRIN 2007 research project: Interoperability and cooperative management of geographic, dynamic, multi-dimensional and distributed data with Free and Open Source GIS (Principal investigator Paolo Zatelli), aimed to build urban and suburban 3D models with CAD software or solid modellers, share them with a 3D Web Feature Service Open Geospatial Consortium web feature service like, and them using Internet browsers all done using only free and open source software. The research work, here illustrated, which was funded by previous research project, deals with the construction of a suitable model and the storage of the model inside a geospatial database. The work is based on the use of free and open source software; Blender and PostgreSQL with PostGIS have been used, respectively, to draw objects of the model and save their data with the help of some Python scripts; the server side part of the system has been realized using Tomcat with servlets and applets all written in Java. Buildings have been modelled according to GIANT3D model (Geographical Interoperable Advanced Numerical Topological 3-Dimensional Model) previously developed in the research "PRIN 2004", regarding "Evolved structure of numerical cartography for GIS and WebGIS". Python scripts, activated by Blender, allow saving data into a spatial database implemented through PostgreSQL and PostGIS that could be a remote database somewhere on the net; all geometrical and topological information, implemented in the 3D model, is so transferred in PostGIS. This information can be retrieved by Blender using other Python scripts, so Blender fully interacts with 3D data allocated in PostGIS. These data can be also accessed by many other clients, both directly using a database client and using other protocols (like HTTP on Internet). The second part of the research deals with the creation of a 3D Web Feature Service and an applet for internet browsers, in order to allow clients to visualize, explore and inquiry 3D model, retrieving data from database.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Notes

  1. Authoring involves collating, structuring and presenting information in the form of a document created in some medium or media (Csinger 1995)

  2. Understood in this special case as vector cartography in which some graphic elements (e.g., lines and polylines), representing ground projection and crowning of building, are defined in 3D.

  3. In order the systems runs well it is necessary to install specific versions of software for compatibility problems between different software. First experiments have been carried out with Blender 2.49a, Python 2.6.2 Psycopg2 v. 2.0.11, PostgreSQL 8.3 and PostGIS 1.3.5. Last experimentation has been carried out with Blender 2.49a, Psycopg2 v. 2.4, Python 2.6.2, PostgreSQL 8.4 and PostGIS 1.5.

  4. See http://docs.python.org/library/uuid.html

References

References from Proceedings, Books and other Literature

  • Akin O (2010) CAD/GIS integration : rationale and challenges, in CAD and GIS integration edited by Hassan A. Karimi, Burcu Akinci, CRC, Boca Raton, ISBN10 1420068059.

  • Arens C, Stoter J, van Oosterom P (2005) Modelling 3-D spatial objects in a geo-DBMS using a 3D primitive. Comput Geosci 31(2):165–177

    Article  Google Scholar 

  • Csinger A, Booth K S, Poole D (1994) AI Meets Authoring: User Models for Intelligent Multimedia, Artificial Intelligence Review, pages 447–468, volume 8 Issue 5-6, 1994-5, print ISSN 0269-2821, Springer

  • Döllner J, Kolbe TH, Liecke F, Sgouros T, Teichmann K (2006) The Virtual 3D City Model of Berlin - managing, integrating, and communicating complex urban information. In: Proceedings of the 25th Urban Data Management Symposium UDMS 2006 in Aalborg, Denmark, May 15–17

  • Foley J, van Dam A, Feiner S, Hughes J (1995) Computer graphics: Principles and practice, 2nd edn. Addison Wesley

  • Hoffmann CM (1996) How solid is solid modeling? Applied Computational Geometry Towards Geometric Engineering. LectNotes ComputSci 1148/1996:1–8. doi:10.1007/BFb0014475

    Google Scholar 

  • Hoffmann CM, Rossignac JR (1996) A road map to solid modeling. 489381 abstract Dept. of Comput. Sci., Purdue Univ., West Lafayette, this paper appears in: Visualization and Computer Graphics, IEEE Transactions on Issue Date: Mar 1996 Volume: 2 Issue:1 On page(s): 3–10 ISSN: 1077–2626

  • Scianna A (2010) Experimental studies for the definition of 3D geospatial web services. In: Proceedings of WebMGS 2010 - 1st International Workshop on Pervasive Web Mapping, Geoprocessing and Services, Como - Italy, published in ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, vol. XXXVIII-4/W13, ISSN Number: 1682-1777, Göttingen: Copernicus Publications

  • Stoter JE, van Oosterom PJM (2002) Incorporating 3D geo-objects into a 2D geo-DBMS. In: XXII FIG International Congress and the ACSM-ASPRS Conference and Technology Exhibition, April 19–26 2002, Washington D.C., USA, 12 p. CD-rom

  • Süveg I, Vosselman G (2004) Reconstruction of 3D building models from aerial images and maps. In: ISPRS journal of photogrammetry and remote sensing, 58(2004)3-4 pp 202–224

  • Yanbing W, Lixin W, Wenzhong S, Xiaomeng L (2006a) ON 3D GIS SPATIAL MODELING. ISPRS Workshop on Updating Geo-spatial Databases with Imagery & The 5th ISPRS Workshop on DMGISs

  • Yanbing W, Lixin W, Wenzhong S, Xiaomeng L (2006b) 3D integral modeling for city surface & subsurface. Innovations in 3D geo information systems. Springer, Berlin, pp 95–105

    Google Scholar 

Online references

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andrea Scianna.

Appendix A

Appendix A

Parts of script that reads geographical information from a table (three-dimensional points or lines) on PostGIS database and draws points or a polyline

figure a

Parts of script that connects to database and writes information using triangular face model

figure b

Full versions of scripts are available at http://www.dirap.unipa.it/python_scripts or also at http://gislab.geomatica.unipa.it/index.php/attivita-di-ricerca/2-uncategorised/8.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Scianna, A. Building 3D GIS data models using open source software. Appl Geomat 5, 119–132 (2013). https://doi.org/10.1007/s12518-013-0099-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12518-013-0099-3

Keywords

Navigation