The need of city 3D data is rising more and more with the development of the Internet, and the emphasis shifts from analysis to the sharing of city 3D data and information over the Internet. In internet, we lack uniform 3D data standard and 3D data cannot be shared and exchanged availably. The city Geography Mark-Up Language (CityGML) was developed as the standard language for exchanging and sharing city 3D data in Internet, which permits us to represent 3D city models. However, it is just a standard, we need to parse the main content and obtain 3D information by constructing certain classes considering of regular and irregular objects. So In this paper, we propose a kind of algorithm used for City 3D modeling based on CityGML, which contains a set of data structures to obtain city 3D information rapidly from the GML file, after analyzing CityGML files structure and parsing by the Document Object Model (DOM). The experiment takes a regular and irregular objects for examples, the result shows that 3D data are extracted effectively, and visualized in web application using Java 3D, and the data structures defined in the paper are very validated.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.