Difference between revisions of "Bonsai Add-on Importing geospatial data"
From Wiki.OSArch
(Created page with "== Goal == Creating a 3D model of a building site with contours. == What you'll need == * 3D elevation data (in my case .las scan) * 2D data (in this case .shp landregister b...") |
|||
Line 11: | Line 11: | ||
== Workflow == | == Workflow == | ||
=== Get the data === | === Get the data === | ||
+ | Decide on geographical metadata | ||
+ | * CRS representedy by EPSG number | ||
+ | * Project origin in your CRS | ||
+ | |||
+ | Get land registry map and elevation data. | ||
+ | A list of public sources: | ||
+ | * Czech Republic https://ags.cuzk.cz/geoprohlizec/ | ||
+ | * Austria https://www.data.gv.at/daten/inspire/ | ||
+ | |||
+ | If the CRS of some of your data differs to the one you want to work with, you have to transform it. QGis is grat for this. | ||
+ | |||
=== Prepare the data === | === Prepare the data === | ||
+ | BlenderGIS can only import dxf or shp. Czech server provides land registry map as .shp, so that's solved. The DMR 5G laser scan is provided as .las point cloud so we'll use Cloudcompare to convert it to a mesh: | ||
+ | # start Cloudcompare and open the las file. When asked to transform the coordinates input your Project origin as a shift: [[File:Screenshot 2025-03-29 140322.png]] | ||
+ | # Edit > mesh > Delaunay 2.5D XY Plane | ||
+ | # Edit > Edit global shift and scale > set to 0 (this removes the reference to the original CRS and sets origin of your mesh to your project origin) | ||
+ | # Save as obj | ||
+ | # Import Forward Y Up Z | ||
+ | |||
=== Set up IfcProject with BlenderGIS === | === Set up IfcProject with BlenderGIS === | ||
+ | # Create new Bonsai project | ||
+ | # | ||
=== Import everything === | === Import everything === | ||
=== Generate contours === | === Generate contours === | ||
=== Add annotations === | === Add annotations === |
Latest revision as of 13:12, 29 March 2025
Goal[edit]
Creating a 3D model of a building site with contours.
What you'll need[edit]
- 3D elevation data (in my case .las scan)
- 2D data (in this case .shp landregister borders)
- BlenderGIS
- Sverchok
- Cloudcompare
Workflow[edit]
Get the data[edit]
Decide on geographical metadata
- CRS representedy by EPSG number
- Project origin in your CRS
Get land registry map and elevation data. A list of public sources:
- Czech Republic https://ags.cuzk.cz/geoprohlizec/
- Austria https://www.data.gv.at/daten/inspire/
If the CRS of some of your data differs to the one you want to work with, you have to transform it. QGis is grat for this.
Prepare the data[edit]
BlenderGIS can only import dxf or shp. Czech server provides land registry map as .shp, so that's solved. The DMR 5G laser scan is provided as .las point cloud so we'll use Cloudcompare to convert it to a mesh:
- start Cloudcompare and open the las file. When asked to transform the coordinates input your Project origin as a shift:
- Edit > mesh > Delaunay 2.5D XY Plane
- Edit > Edit global shift and scale > set to 0 (this removes the reference to the original CRS and sets origin of your mesh to your project origin)
- Save as obj
- Import Forward Y Up Z
Set up IfcProject with BlenderGIS[edit]
- Create new Bonsai project