3D Visualization In QGIS (Visualizing Vector data)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video I will again look at basic 3d visualization cookies but this time I will focus on visualize vector objects so not just taking a auto photo and draping it over a surface model but taking buildings and adding them to my freedom visualization so at the end of the video we would hopefully have achieved something like and this where we have the original settings so the building's existing buildings and then we have this new building I have designed and placed into my visualization so let's see how this is done in cookus where we start out with a standard tool so we have a terrain model hey service model I'm the servant surface model I've created in our video this is a service model in sent buildings I've also added buildings but this time as single shapes my buildings I've been working over until now often multi shapes but apparently there's problems with the 3d plugin if I do too many strange bingo motor shapes so here buildings as a single and then I also put so we just basically our simplest solution would be of course to go to our web and start login say if you like to work based on a that plan so just give us its rotatable me if you can have our things on and then in my buildings I will say that they have to be extruded absolutely and it's a they all have to be for him meters tall and then add them and then I have my usual environment of 30 meter tall buildings on it and that's not really that interesting because not all the buildings are 30 meter tall and those are things we like to do so it's a leave this farm I witnessed what these are these are so let's see what we can do first of all what we really wanted to do is that we wanted the buildings to have a height f % they're real high so we need some way of calculating this and order to do this calculation or what we need is that we have to take our urban surface and subtract that from the terrain model so that remember that we have the height of the individual buildings and not just how high they are over the sea level immediately this case matter that much but for sake of demonstration so first step is to do that calculation so that must be a raster calculator so calculator ever you could take our dsm and subtract the DTM from it so that should give us a billy now maybe I don't want to do that one day I want to have my urban surf oh I have it - my easier so and reference layer in my urban surface and so now I have the height of the buildings what you can see is if i zoom in here they have different blushes and if I look on the auto photo you can see these are mobile antenna and strange things on the roof you really don't want them to be part of our calculation this type of data is always dirty and has lots of things in it we like to give it up so try to filter out all those small things and there is a tool and we can use which is remember from the general video on prostitutes into a neighborhood analysis so if we look up the manual for our neighbor so this is our our neighbor what it does is it can take hey matrix free by 3 in this case or B 5 by 5 or whatever you want and then you can do a calculation and then revive that calculation into the center so instead of D using the average for doing the smoothing out I tell you prefer to do a million so a CD throwing off one by one the highest and the lowest until we get to a million Valley it that tends to be a more efficient way of getting rid of these artifacts so back in curious I can one by our neighbor so my I neighborhoods it's going to be run on mouth but layer from before the building height and what I want to do is I don't want to do the average I want to do the million and instead of having a block of two 3x3 I would do it on a block of five so it will take the medium believe that akka five inviting to the center cell now let's run this tool you so and what we can see in this layer is mended the pledges that we had before if I look at my original comfort layer I have these all these blushes they are open filter outs moved out so I have a more clean with less detail of your wish surface then I want to know what is in each of my buildings so when each building here I want to know this is good so we're in this building what is the elevation so how tall is this building in membrane back to the video on asta operations we talked about solo operation so this is a typical use of a solo operation there we have this building it finds a soul and then what in that zone to calculate a elevation data so we have all from our neighborhood data set we have the elevation data the building's generate our somes I'll just make sure nothing is selected always a tricky thing if you have that and on for our so no statistics so that is a so we'll call so statistics it does exactly this so you want to have our output so that's our filtered there of their Soviet output the filtered version of it and then we want to take our buildings and it will then add an attribute series of excuse in the world days they will have a prefix of an underscore and here I can choose which attributes I just give all of them probably only be needing some of them but the list keyboard so that will generate a new attribute in our buildings that have a prefix followed by some minimum maximum and so on so I'll just one by two and so if I now use my eye tool on my job you looking at Blair this one you would see that it now has a series of attributes over here so it has a max of 25 and a minimum of cero and so on so it has a lot of different values so it was in the edges there might be some problems it's touching the surface therefore we have a zero there we could avoid that by using a buffer but this case we just don't really matter so much because we want to use all the max so rifice yeah so I'll use a maximum or use the medium as to it so the maximum it will still have some hyphens median will be a bit cleaner in many ways to use we'll see the differences so basically I'm now ready to visualize my 3d buildings based on their real height so now I can go back to my resume I remember that mr. to be use looks at what I see so I might as well just tidy this up here so it my default view is more or less the one I have here I could perhaps leave in the buildings so [Music] go to my again say I would like to use again my DTM as my surface and you see that be zoomed in from four and this time are going my prophecy of a building say excluded it will be relative to the d TM and they'll be excluded by a expression let's start by taking the maximum that so now they will be excluded by the maximum height found on the sole sistex so add the building and I can't ever saw so I'll just assume a bit out in my main window because those two they are late and wait to do the calculations oh I nearly forgot something really important that is if we look in our case here you have buildings outside our height model so we have buildings oh and no data in their innovation and if that's the case the plug-in will just hang on it so goodness have to first filter Oh data so we will say go in and filter on our it doesn't really matter whatever max must be larger than zero so basically it spits out or no Danis so only buildings that have data in it okay included so now we can go back start our again and look at the settings our buildings or our sitting of the buildings must be is that there to be extruded relatively to the Train model and that they I stood it not on a fixed number such as 28 before but based on a attributes in this case max so now it will generate my mortals you you so that buildings have different heights based on the max hi moving them from the building height dataset so that way we can create more realistically viewing or what you should say more informative views and we can hear them straight how we have buildings on top of our surface and course I could increase the service well at the moment what I really want to do is now I want to take out a existing building so this closes one down and say that I have my buildings and as this building I want so first of all I'll in my surface model I'll need to remove the surface set that back to the DTM were in this building and then I can then add a new prasada spacing it will add this as n new building so first of all we need to get rid of the surface model data underneath there so in order to do that I will take my building and I was this select this one building there's always a you know we've seen there's a bit of distance around where they're not quite clean so I just buffer this one but it also has an advantage of being transferred to a single layer so I'll just say powerful and I'll just buffered by let's say one meter and our third in now and I'll only do the selectable so now I have this building and itself and I want to use that to switch out my urban surface move my green one so I'll lose the same trick as I did when I created my urban one so I'll convert this to a rack a zero one raster layer and then use - calculator to bring the DJM in where this building is so you know processing - you know rasterize so sir my somewhere down here take a my buffered right hey one where I have the buffer write them in Geographic I know that they are always by 40 centimeters so our 40 by 40 yeah centimeters I want to have the output date state to be the same as my original urban surface 99 as no data to avoid the zeros are no Nader and I'll set su if there were so free in two zeros and I might as well just sing as they interview so hopefully that's right so we have this layer at cover the door and has a one there what I want to do is and I win this building here I want to have it that high will replace my open surface this layer I will replace that move my DTM so in the DTM the buildings are removed and I want to do that within that what where that one building is and everywhere else I want to keep my the surface of the tree that we have used before to create the surface is to use of a soccer player and this vast part is my new building so I can say ma'am our vast fires that's one yeah the building is I will want to apply that of the ETM and then outside the building I will add where that might build my rasterize layer' here his eat was zero that's outside the building Oh zero and here I want to multiply this of my urban surface so inside I'm building this where this one is one I will use my detail but that one is zero so all of this will be civil I'll use my and this one zero and add and multiply it was a service that's what give me remove this building from my urban surface there I just want set my reference layer to Earth surface and that should be that you so magically I have now removed this building from my urban service so I know I'm a new urban surface let's see layers that better start being naming things it so this one I will call you Ervin so I can now visualize my author photo trait on my yes that fall so there say I want to use my new Ervin as my base layer and want to give it a fall huh so hopefully if I do swimming in here it up which means easier you can see that I have flattened out that building because it's still there on the auto photo but in motto in moral it's gone so I can some visualizations Wow that building so now we just need to insert our new artificial building or plan building but sake of simplicity I just use my buffer layer so I'll just there bang my buffer layered up here so that will mask over on my image sovalo lulu in my yeah you will see I have mask that I have our had my building has been masked off by this green one and basically what I want to do now is I want to take my Buffett again I and this time I would say okay I want to make a building here and is relative to a student relative to my ETM and I want to extrude let's say I want to make a 45 meters high building a tall building here at this point and and this to mobilization and just for make this look nice I will add the zoom level and we'll just wait right to update so once it updated I have my gigantic building you made it in my town probably be a bit more I could take jolly if I tell people and this is something that is imaginary so I just sit the opacity to let's say 60 so it's semi-transparent and now I have made some visualization that includes the original surface also photo great on the visual surface where I have been moved by building and added this new I could take drawing of a new building that we can place and considering its size compared to Mark's Church ha I don't think this building will have a planning permission no I don't think so I hope this was useful video on the basics of taking and combining the existing environment of a new designed environment and hope to see you in our video
Info
Channel: Geoinformatics
Views: 1,506
Rating: undefined out of 5
Keywords:
Id: KRt31agbrlc
Channel Id: undefined
Length: 22min 51sec (1371 seconds)
Published: Sun Apr 26 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.