<div dir="ltr"><div><div><div><br>Critical, yes. But we have software engineers too ;-)<br><br></div>I coded up a xyz (ASCII Gridded XYZ) file format plug-in for OSG core, imported height maps and ortho photos and used <a href="https://github.com/tudelft3d/CityGML2OBJs" target="_blank">CityGML2OBJs</a> 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.<br><br>I am amazed how much data the City of Hamburg makes available for free.<br><br></div><div>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.<br></div><br></div>Christian<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-05 18:19 GMT+02:00 Chris Hanson <span dir="ltr"><<a href="mailto:xenon@alphapixel.com" target="_blank">xenon@alphapixel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If it was a critical application, I probably have some software engineers that could update that libCityGML code to work with contemporary data sets.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Jul 4, 2017 at 2:44 AM, Christian Buchner <span dir="ltr"><<a href="mailto:christian.buchner@gmail.com" target="_blank">christian.buchner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>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.<br></div><br></div>I've had some moderate success with this Python script to convert the buildings to OBJ format. <a href="https://github.com/tudelft3d/CityGML2OBJs" target="_blank">https://github.com/tudelft3d/C<wbr>ityGML2OBJs</a><br><br>Currently I am fiddling with terrain import into OSG<span class="m_-9157097105102789559HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_-9157097105102789559HOEnZb"><font color="#888888">Christian<br><br><div><div><div><br></div></div></div></font></span></div><div class="m_-9157097105102789559HOEnZb"><div class="m_-9157097105102789559h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-04 8:31 GMT+02:00 Aitor Moreno <span dir="ltr"><<a href="mailto:aitormoreno@gmail.com" target="_blank">aitormoreno@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You might find this repo useful: <a href="https://github.com/jklimke/libcitygml" target="_blank">https://github.com/jklimke/lib<wbr>citygml</a><br><br>> It was moved to github due to inactivity of the project on google code (<a href="https://code.google.com/p/libcitygml/" target="_blank">https://code.google.com/p/lib<wbr>citygml/</a>).</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-9157097105102789559m_9020985986729733513h5">On Fri, Jun 30, 2017 at 3:11 PM, Christian Buchner <span dir="ltr"><<a href="mailto:christian.buchner@gmail.com" target="_blank">christian.buchner@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-9157097105102789559m_9020985986729733513h5"><div dir="ltr"><div><div><div><div>Hi all,<br><br></div>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)<br><br></div>This could by with osg import plug-ins or with 3rd party applications that simply convert the 3D format.<br><br></div><div>Our use case would be an attempt to bring the open data 3D LOD2
city model of Hamburg onto the screen.
<a href="http://suche.transparenz.hamburg.de/dataset/3d-stadtmodell-lod2-de-hamburg2" target="_blank">http://suche.transparenz.hambu<wbr>rg.de/dataset/3d-stadtmodell-l<wbr>od2-de-hamburg2</a><br></div><div><br></div>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.<span class="m_-9157097105102789559m_9020985986729733513m_-2567911966886868795HOEnZb"><font color="#888888"><br><br></font></span></div><span class="m_-9157097105102789559m_9020985986729733513m_-2567911966886868795HOEnZb"><font color="#888888">Christian<br><br></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><span class="m_-9157097105102789559m_9020985986729733513HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-9157097105102789559m_9020985986729733513m_-2567911966886868795gmail_signature" data-smartmail="gmail_signature">Aitor Moreno<br> aitormoreno [@] <a href="http://gmail.com" target="_blank">gmail.com</a><br></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div class="m_-9157097105102789559gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8000001907349px">Legal/IP •</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">Code Forensics •</span><span style="font-size:12.8000001907349px"> </span>Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]</div></div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br></div>