Open Source 3D WebGIS
Open Source 3D WebGIS
FOSS
The article presents an Open Source Solution to Enable 3D Geographic Systems on the Web
Helton Nogueira Uchoa I Luigi Castro Cardeles I Luiz etc) that enable 3D visualization of a X3D file format.
Carlos Teixeira Coelho Filho I Paulo Roberto Ferreira
O3DG works with a simple concept: to view, interact and
update a 3D geographic information from a DBMS using a web
V
browser. At this moment, there is no intent of develop-
ing spatial 3D analysis, but in the future, there
may be some.
The concept of a WebGIS (acronym for Web-
based Geographical Information System) is
arious companies offer diffent kinds nowadays very widespread [Mitchell, 2005].
of 3D mapping solutions. In the world Solutions such as Google Maps have
of FOSS (Free and Open Source Software) for mapping, become very popular in the last
there are some desktop GIS with 2D features and a few few years, thanks to the avail-
systems with some kind of visualization in 3D (such as ability of free geographic data
GRASS and OSSIM). In order to store a geographic on the World Wide Web.
data, a good FOSS DBMS would be PostgreSQL with Free and Open Source Software
PostGIS. related to geomatics and geo-
sciences are still somehow scarce,
Open3DGIS' (O3DG) basic idea is to provide a simple way to but there has been a huge increase in
integrate a 2D GIS with 3D visualization and interactivity on the the number of projects available nowa-
web, using only FOSS components and open standards. O3DGs days. In 2006, The Open Source GeoSpatial
development team defined some initial ideas: Foundation (OSGEO) was founded with the
• Integration with a 2D desktop GIS that can store and mantain following mission:
geographic data in DBMS (the most important feature). The goal
“...to support and build the highest-quality open
is to have a database model with few attributes. so that it will be
able to work with FOSS 2D GIS (QGIS, gvSIG, OpenJUMP, etc.) source geospatial software. The foundation's goal is
reading the same data source from PostgreSQL. These few to encourage the use and collaborative development of
attributes must enable the generation of a 3D model from 2D community-led projects. ” (http://www.osgeo.org)
geometry;
One of the mature open source projects is MapServer. Simply
• X3D standards are used for visualization on web browsers.
There are many free plug-ins for most platforms (Windows, Linux, put, this is a renderer that displays spatial data organized in a
44 GIS DEVELOPMENT A P R I L 2 0 07
44-46.qxp 4/6/2007 7:06 AM Page 45
A P R I L 2 0 07 GIS DEVELOPMENT 45
44-46.qxp 4/6/2007 7:06 AM Page 46
CONCLUSIONS
This article shows the first steps towards
fully integrating MapServer in order to
provide a full 3D web environment. This
first version of Open 3D GIS serves for
visualization purposes only, and was
developed with the intent to experiment
the trade-offs of dealing with 3D data
through the web.
Even though the results shown here are
somehow very simple, it is expected in
the near future that new versions should
include the capability of representing 3D
objects, such as buildings, roads and
trees, and a basic query model, with
which the user will be able do ask the
database about such 3D objects. In next
Fig. 3 X3D renderings for the study area versions, Blender will be removed from
Open 3D GIS and the solution will work
on a pure X3D engine. Also, through the
mentional meshes directly from Post- the World Wide Web Consortium (W3C) project's official page, located at
greSQL. This script calls Open 3D GIS and and fully integrated with the most used http://www.open3dgis.org, it is possible
then converts all objects represented in web-browsers (although it requires an to download the current version of Open
3D to a surface, through Delaunay trian- additional plug-in in order to be correctly 3D GIS. It is distributed through the GNU
gulations. shown). X3D is a XML-based format and GPL license and has also a SourceForge
The modelling script uses Blender's has evolved from VRML. project page, located at http://source-
Python API to generate a 3D scene from After the generation of the X3D file, the forge.net/projects/open3dgis.
that tridimensional surface. Blender is an model is exported to the browser, and can NOTE: The entire article with full references can be found at www.gisdevelopment.net/magazine/asia/years/2007/Apr
open source software for 3D modeling, be freely viewed by the user. Figure 1 Helton Nogueira Uchoa
animation, rendering, post-production, explains graphically the procedures [email protected]
46 GIS DEVELOPMENT A P R I L 2 0 07