2

I'm working on a dataset from an excavation collected by an ancient total station. I have a point layer with point code, xyz values and a description of the point. These points are corners of features, lines around features etc etc. They need to be converted to polygons/lines to make sense of all the different features. The problem is that this site is extremely complicated because it consists of a lot of (partial) inhumations on top of eachother. A 3d visualisation of this data would be perfect to analyse this dataset. A 3d visualisation of the points is easy using qgis2threejs. I would like to know how i add the z values from the points and add them to (to be created) polygons so i can create a 3d visualisation of the polygons?

  • dude...not knowing the english name, it took me a while to realize we're not talking about mysterious ancient total gas station crypts... – ThingumaBob May 25 '18 at 11:33
  • 1
    ,) anyways, how's that data stored, how do the attributes look like? you'd need a field with the z-coords to be used as height. possibly extract them from xyz using the field calculator. could you post an example of your data structure? – ThingumaBob May 25 '18 at 12:00
  • 1
    okay, edit your question with the info from the comment. since you 'merge' 4 points with individual attributes into one polygon, you´d also have to collect/average those values into one. however, I`m sorry to say: much of what you want to try here will not work with the plugin. it´s doing a great job at placing buildings on terrain, but it works mainly with basic three.js 3D object primitives and extruded geometries based on one height attribute; without altering the scene objects/geometries codewise, you won´t get your coffins neatly on top of each other... – ThingumaBob May 25 '18 at 13:24
  • 1
    you could dive into native three.js...but setting up complex volumes would take some time to learn, if you´re not very familiar with JavaScript, it´s data types and possibly GLSL. since I´m working a lot with three.js I might be tempted to offer to set up a scene for you, in time, if you can upload the data somewhere and link here – ThingumaBob May 25 '18 at 13:29
  • 1
    if you use the field calcualtor to create those polygons, try to set the height attribute by using the avg() function (i.e. average between all four z values) – ThingumaBob May 25 '18 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.