Giter VIP home page Giter VIP logo

libcitygml's Introduction

libcitygml

Build Status

CityGML (City Geography Markup Language) is an XML-based schema for the modelling and exchange of georeferenced 3D city and landscape models that is quickly being adopted on an international level.

libcitygml is a small and easy to use open source C++ library for parsing CityGML files in such a way that data can be easily exploited by 3D rendering applications (geometry data are tesselated and optimized for rendering during parsing). For instance, it can be used to develop readers of CityGML files in many 3D based applications (OpenGL, OpenSceneGraph, ...) Most metadata are not lost, they are available through a per-node hashmap.

The project also contains a loader plugin for OpenSceneGraph. It enables OpenSceneGraph (if installed) to read citygml documents for easy rendering and further graphical optimization.

libcitygml was initally developed by the 3D team of BRGM (the French leading public institution involved in the Earth Science field for the sustainable management of natural resources and surface and subsurface risks) for the research project DeepCity3D. It is now conducted as a Github open source project.

It was moved to github due to inactivity of the project on google code (https://code.google.com/p/libcitygml/).

How to Setup

The project is based on the CMAKE build system and should be pretty straight forward to setup.

Dependencies:

The XercesC xml parsing library is the only requirement compiling and using libcitygml. Please use a version > 3.1 compiled with an SDK that is compatible with C++11.

OpenGL is required if you want to use the tesselator provided in the project. Otherwise, you can provide another implementation by inheriting TesselatorBase, or not use tesselation. Set the cmake option "LIBCITYGML_USE_OPENGL" to OFF to disable the use of OpenGL.

GDAL is required if coordinate transformations should be applied during paring. Set the cmake option "LIBCITYGML_USE_GDAL" to OFF to disable the use of GDAL.

OpenSceneGraph is required to build the plugin. Set the cmake option "LIBCITYGML_OSGPLUGIN" to ON to enable the build of the plugin.

Test Data Attribution

Overview over the testing data within the "data" directory:

Dataset Attribution Source
data/b1_lod2_cs_w_sem.gml https://www.citygml.org/samplefiles/building/ https://www.citygml.org
data/b1_lod2_s.gml https://www.citygml.org/samplefiles/building/ https://www.citygml.org
data/berlin_open_data_sample_data.gml Berlin Partner für Wirtschaft und Technologie GmbH Berlin Partner Download Portal
data/FZK-Haus-LoD0-KIT-IAI-KHH-B36-V1.gml Institute for Automation and Applied Computer Science (IAI) / Karlsruhe Institute of Technology (KIT) https://www.citygmlwiki.org/index.php?title=FZK_Haus

libcitygml's People

Contributors

adi64 avatar asemmo avatar csteuer avatar ddeka2910 avatar harutakamatsumoto avatar janno42 avatar jklimke avatar keyboardspecialist avatar kimjuyoung93 avatar kring avatar lilleyse avatar maz-1 avatar mlavik1 avatar mpursche avatar mramato avatar mtola avatar ptrgags avatar rcane avatar sebastic avatar shehzan10 avatar soerendischer avatar tfili avatar topheg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kring deltavd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.