OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

CityGML import into OSG or other 3D engines?


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Chris Hanson
Guest





PostPosted: Sun Jul 09, 2017 9:28 pm    Post subject:
CityGML import into OSG or other 3D engines?
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
You might find this repo useful: https://github.com/jklimke/libcitygml

Quote:
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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
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.hamburg.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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Aitor Moreno
   aitormoreno [@] gmail.com



_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--
Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
cbuchner1
Appreciator


Joined: 14 Mar 2012
Posts: 312

PostPosted: Sun Jul 09, 2017 11:28 pm    Post subject:
CityGML import into OSG or other 3D engines?
Reply with quote

Critical, yes. But we have software engineers too Wink


I coded up a xyz (ASCII Gridded XYZ) file format plug-in for OSG core, imported height maps and ortho photos and used 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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>:
Quote:
You might find this repo useful: https://github.com/jklimke/libcitygml

Quote:
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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
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.hamburg.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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Aitor Moreno
   aitormoreno [@] gmail.com



_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





--


Chris 'Xenon' Hanson, omo sanza lettere. 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 facebook.com/alphapixel (775) 623-PIXL [7495]






_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Get the world position of a node by i... schorsch_76 General 0 Tue Apr 28, 2015 6:35 pm View latest post
No new posts Osgconv citygml -> dae emmanuel séguin General 3 Mon Mar 10, 2014 12:28 pm View latest post
No new posts Open Asset Import Library michael kapelko General 3 Fri Oct 26, 2012 6:52 pm View latest post
No new posts Anyone knows how to load CityGML file... Oceane General [forum] 7 Wed Sep 12, 2012 12:31 pm View latest post
No new posts Open Asset Import Library Chris Hanson General 4 Wed Jun 06, 2012 10:22 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP