[osg-users] CityGML import into OSG or other 3D engines?

Christian Buchner christian.buchner at gmail.com
Thu Jul 6 01:52:27 PDT 2017


Critical, yes. But we have software engineers too ;-)

I coded up a xyz (ASCII Gridded XYZ) file format plug-in for OSG core,
imported height maps and ortho photos and used CityGML2OBJs
<https://github.com/tudelft3d/CityGML2OBJs> to extract the building data.
We get 1km x 1km tiles with buildings in an .obj format which we can import
into Unity, if needed.

I am amazed how much data the City of Hamburg makes available for free.

The only wish I'd have for the OSG Terrain modules is that it generates
meshes with dynamic resolution based on an error metric. Right now I get
uniform meshes.

Christian


2017-07-05 18:19 GMT+02:00 Chris Hanson <xenon at alphapixel.com>:

> If it was a critical application, I probably have some software engineers
> that could update that libCityGML code to work with contemporary data sets.
>
> On Tue, Jul 4, 2017 at 2:44 AM, Christian Buchner <
> christian.buchner at gmail.com> wrote:
>
>> I've tried this, but it fails to parse the cityGML format provided by the
>> City of Hamburg with a parsing error. That library hasn't seen active
>> development since 2010.
>>
>> I've had some moderate success with this Python script to convert the
>> buildings to OBJ format. https://github.com/tudelft3d/CityGML2OBJs
>>
>> Currently I am fiddling with terrain import into OSG
>>
>> Christian
>>
>>
>>
>> 2017-07-04 8:31 GMT+02:00 Aitor Moreno <aitormoreno at gmail.com>:
>>
>>> You might find this repo useful: https://github.com/jklimke/libcitygml
>>>
>>> > It was moved to github due to inactivity of the project on google code
>>> (https://code.google.com/p/libcitygml/).
>>>
>>> On Fri, Jun 30, 2017 at 3:11 PM, Christian Buchner <
>>> christian.buchner at gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I was wondering if anyone has come across a solution to import CityGML
>>>> data into an OSG application or into other game engines like Unity (an open
>>>> and documented XML format for storing city geo data)
>>>>
>>>> This could by with osg import plug-ins or with 3rd party applications
>>>> that simply convert the 3D format.
>>>>
>>>> Our use case would be an attempt to bring the open data 3D LOD2 city
>>>> model of Hamburg onto the screen. http://suche.transparenz.hambu
>>>> rg.de/dataset/3d-stadtmodell-lod2-de-hamburg2
>>>>
>>>> If anyone knows about such a solution, please drop a hint. Doesn't
>>>> matter if freeware or commercial - as long as it's reasonably priced.
>>>>
>>>> Christian
>>>>
>>>>
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> osg-users at lists.openscenegraph.org
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opens
>>>> cenegraph.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Aitor Moreno
>>>    aitormoreno [@] gmail.com
>>>
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opens
>>> cenegraph.org
>>>
>>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
> http://www.alphapixel.com/
> Training • Consulting • Contracting
> 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4
> • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
> Legal/IP • Code Forensics • Digital Imaging • GIS • GPS •
> osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
> iPhone/iPad/iOS • Android
> @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
> 623-PIXL [7495]
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170706/66464983/attachment-0001.htm>


More information about the osg-users mailing list