In the world of research software, we have a strong expectation about the kinds of libraries that we might see.There are many different kinds of tools for parsing datasets, or a domain specific utility, along withstatistical or other numerical tools. But when visualization is thrown into the mix, or using a data file in a waythat is surprising and unexpected? These are the kinds of repositories that are so different and unique that they captureour attention we have to share it! This is exactly the case with the library for the software showcase this week - tudelft3d/3dfier!
Furthermore, Wikipedia has a list of national lidar datasets. These datasets can be used as input to generate 3D city models. A possibility is to use the open-source software 3dfier developed at our group, or other CityGML software.
3D BGT visualization of Oudegracht, Utrecht. The 3D BGT was generated using [3dfier]( ) tool. AHN 3 and BGT data were used as input for this tool. The output is a 3D BGT (LOD1) of the city. The building objects (red) were replaced with the [3D BAG]( ) (LOD2.2). Furthermore, the scan (white) and voltage cable networks (blue and black) ([Stedin]( -data/liggingsdata-kabels-en-leidingen)) data were added. The visualization serves as a proof-of-concept towards the application of GIS and scan data for building a Digital Twin City.Source: Objaverse 1.0 / Sketchfab
De 3DBAG, downloads op. 3D BAG Viewer .
De oorspronkelijke source repo voor genereren is gearchiveerd: GitHub - tudelft3d/bag3d: Software for generating a 3D version of the BAG dataset and more. Python + PostgreSQL + 3dfier.
Waar staat de source repo nu?
Hi @BalazsDukai thanks. I was just curious how the BAG 3D dataset is now generated and what the relationship is with Kadaster 3D Basisvoorziening Gebouwen: PDOK - 3D downloads
The original code is GNU GPL v3 but ok that does not apply when extending for building a SAAS/DAAS.
A road network shapefile as well as building footprint shapefile (polygons) with a building height (or Z) attribute will be needed. The Road Network File from Statistics Canada (via Scholars GeoPortal) and 3D Massing file from the City of Toronto Open Data Catalogue can be used. In other cases, building footprints can be extracted from OpenStreetMap and made 3-dimensional with LiDAR data and other workflows (i.e. 3dfier).
Create a shapefile (Layer > Create Layer > New Shapefile Layer) that encompasses the area to be modeled. This shapefile will be used for the base and road cut-out layers. Change the type to polygon. Set the appropriate projection and add height field to the field list so that the road layer can be extruded. Click OK.
Right click on the layer to export (Save As). Click Browse to choose where to save your file and name it. Make sure to change the CRS to the same one as the project (and polygon). Check the Save only selected features box. Click OK.
In the Plug-In Repository (Plugins > Manage and Install), install and enable the Qgis2threejs plug-in. This plug-in will allow us to create STL files using the 2D layers in the project. Select FileExport.html as the Template file.
Since a Digital Elevation Model was not used, the features are all laying on a flat plane at an elevation of 0. Therefore, we can stack the layers by adjusting the Z coordinate parameter. The Height parameter selects the extrusion field (for instance, the height of a building or thickness of the road layer). Begin with the bottom-most layer, the base road layer, and work upwards. Select and change the parameters for each layer before running the plug-in.
(3) Open Meshmixer Desktop and import all three STL files. They should be stacked one on top of another. Right-click and hold to pan and scroll to control the zoom. Other camera controls and hotkeys for Meshmixer can be found here.
795a8134c1