TransWikia.com

How to get QGIS to make 3D mesh (triangles or quads) from points with 3D coordinates?

Geographic Information Systems Asked by j2l2 on August 7, 2021

I have random added points with height.
GeoJSON looks like this:

{
"type": "FeatureCollection",
"name": "randompoint_Zadded",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "rand_point_id": 0, "id": 4261, "height": -50, "biome": 0, "type": "lake", "state": 0, "culture": 0 }, "geometry": { "type": "Point", "coordinates": [ -90.054842781105137, -4.86885276816724, -50.0 ] } },
{ "type": "Feature", "properties": { "rand_point_id": 1, "id": 4399, "height": -50, "biome": 0, "type": "lake", "state": 0, "culture": 0 }, "geometry": { "type": "Point", "coordinates": [ -89.194361044666223, -8.170296543553695, -50.0 ] } },
{ "type": "Feature", "properties": { "rand_point_id": 2, "id": 8, "height": 3, "biome": 11, "type": "island", "state": 11, "culture": 0 }, "geometry": { "type": "Point", "coordinates": [ -123.768371068997496, 89.425974999614226, 3.0 ] } },
{ "type": "Feature", "properties": { "rand_point_id": 3, "id": 9, "height": 3, "biome": 11, "type": "island", "state": 11, "culture": 0 }, "geometry": { "type": "Point", "coordinates": [ -121.593218898593122, 89.894122960381807, 3.0 ] } },
...

But when I try triangulation (Delaunay), I get 4 groups of 2 coordinates and no more elevation:

{ "type": "Feature", "properties": { "POINTA": 1834.0, "POINTB": 1121.0, "POINTC": 491.0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 66.443159419272476, -90.16857229914234 ], [ 69.674875637412129, -90.199714898494094 ], [ 62.575105683814591, -90.542588929594473 ], [ 66.443159419272476, -90.16857229914234 ] ] ] } },
{ "type": "Feature", "properties": { "POINTA": 1121.0, "POINTB": 1120.0, "POINTC": 491.0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 69.674875637412129, -90.199714898494094 ], [ 56.65853796364302, -91.015383266865882 ], [ 62.575105683814591, -90.542588929594473 ], [ 69.674875637412129, -90.199714898494094 ] ] ] } },

Note: This is not Earth but an another type of map, I don’t have raster height map for it.

How to get some 3D mesh from QGIS?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP