Skip to main content
3 votes
Accepted

How can I add triangles to an in-memory QgsMeshLayer?

As CodeBard commented, if you use e.g. Ugrid as provider type it works just fine. I ended up using this (thanks to Vincent Cloarec & Lukasz Debek of Lutra Consulting): from uuid import uuid4 from ...
Leendert Van Wolfswinkel's user avatar
3 votes

How to determine if a .obj 3D Mesh file is geo-referenced or not?

Short answer is that OBJ files are not likely georeferenced. According to Wikipedia, OBJ (aka Wavefront) files are "a simple data-format that represents 3D geometry alone". The article continues to ...
J. Sargent's user avatar
3 votes

Create triangles from points on ArcGIS

The TIN tools in ArcGIS should work as they produce Delaunay triangulation. You may have to fake a height field - if using the same height everywhere causes Arc to get 'clever' and give you odd ...
MappaGnosis's user avatar
  • 33.9k
3 votes

QgsMeshLayer in memory

This is a mistake in the documentation. It needs to be mesh_memory and not memory_mesh. Also the documentation is missing one \. So in QGIS 3.12 it works perfectly: uri="1.0, 2.0 \n" \ "2.0, 2.0 ...
mistapink's user avatar
  • 226
3 votes
Accepted

qgis-mesh data (GRIB2) to geotiff

[...] is there a way to display a u / v information from mesh as a vector field ? Not exactly within QGIS, but yes. I am working with grib2 files right now and I just found degrib, a really nice ...
Gabriel De Luca's user avatar
3 votes

Agisoft Metashape Orthomosaics. DEM from mesh or dense point cloud

The Agisoft Metashape Professional manual states that the 'most accurate' dem is created using the dense point cloud. Below is a screen shot from the manual with the relevant text underlined. Also, ...
GBG's user avatar
  • 9,959
2 votes

Seeking open source or free tool to open 3D Mesh GIS files?

You can try meshLab, it can open OBJ format files, and it is an open source software. Also Blender can be another option which can import many format files and it is also open source and a very ...
ahmadhanb's user avatar
  • 41k
2 votes
Accepted

How to clip mesh files with a mask, and calculate the (3D) area of triangles inside?

Here's a morning's work: library(sp) readmesh <- function(file){ all_lines = read.table(file, fill=TRUE, stringsAsFactors=FALSE) v = all_lines[all_lines$V1=="v",-1] names(v)=c("x","y",...
Spacedman's user avatar
  • 64.6k
2 votes

QGIS filter to get a mesh or fishnet with spaces without information

Yes. In the QGIS Processing Toolbox search for Extract by Location. Extract those feature from the orange polygon shapefile that intersect your fishnet. This will result in a new shapefile. See ...
GBG's user avatar
  • 9,959
2 votes

What is the difference between TIN vs MESH vs TERRAIN in the context of GIS?

Good Question - perhaps to add to the confusion, its possible that there are two different aspects to this - The 'Theoretical answer' - and the 'software specific' answers. I will also just edit your ...
nr_aus's user avatar
  • 3,566
2 votes
Accepted

What is the appropriate mesh or grid for latitude, longitude data

In an ideal world, you would like a retangular grid covering the territory of Ukraine so that each cell has the same area on the ground. The challenge is that Ukraine covers a wide band in latitude, ...
Houska's user avatar
  • 8,066
2 votes
Accepted

Why does adding a face to QgsMeshLayer produce UniqueSharedVertex error?

For mesh editing, some topological rules have to be respected. One of them is the impossibility that two faces share only one vertices. This error uniqueSharedVertex comes from here. To avoid this ...
vcloarec's user avatar
  • 153
2 votes
Accepted

QGIS Mesh Calculator output file (.dat)

You can add it as a new dataset in the source layer through the Assign Extra Dataset to Mesh button, in the Source tab of the layer properties. The Dataset will be added to the layer, but not saved ...
Gabriel De Luca's user avatar
1 vote

QgsMeshLayer - how to add dataset groups and datasets to mesh?

createZValueDatasetGroup() returns a "virtual" dataset group that provides Z values of the vertices. You can NOT modify this Z values vertices through this dataset group. Indeed, in that ...
vcloarec's user avatar
  • 153
1 vote

Which options should I use when creating textures for better buildings quality Agisoft?

Take more photos! Be sure to capture images that point to the different sides of your buildings. Capture images from different drone elevations. Vary the gimbal pitch during the image capture ...
GBG's user avatar
  • 9,959
1 vote

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

1st: convert your imported GeoJSON point layer into a pointZ layer (Assign z values to depth curves in QGIS) A. select "Set Z value" from Processing Toolbox B. click on the data defined ...
Nico's user avatar
  • 41
1 vote

Splitting concave polygons into convex polygons in QGIS

Seems like a math question on polygon decomposition that has already been answered at https://mathoverflow.net/questions/60212/partitioning-a-polygon-into-convex-parts. Several algorithms ar described....
wingnut's user avatar
  • 2,100
1 vote

How to create a NetCDF mesh with x y vector data for QGIS mesh display

I figured it out! The long name attributes u_velocity component and y_velocity component had to be changed to u-velocity component and v-velocity component respectively.
N Strahl's user avatar
1 vote

Visualising NetCDF from Delft3D in QGIS

This appears to have wrong headers. I can see it located in the wrong place even as raster (which uses GDAL).
Lutra's user avatar
  • 671
1 vote

+0-180 degrees of mesh layer are displaying as horizontal lines [QGIS]

You can adjust it using CDO tools: cdo sellonlat,-180,180,-90,90 infile.nc outfile.nc
Lutra's user avatar
  • 671
1 vote

2dm data disappears after rotating layout in QGIS

It is known bug in the Mesh Layer implementation, keep an eye on https://github.com/qgis/QGIS/issues/35147
Peter Petrik's user avatar
  • 1,465
1 vote
Accepted

Extracting depth data of nodes of unstructured mesh in QGIS

If you use QGIS 3.18 and QGIS Mesh Layer, you can use Processing Toolbox > Mesh to export the data to raster or vector data format
Peter Petrik's user avatar
  • 1,465
1 vote

ECEF (EPSG:4978) glTF model doesn't show up in Cesium

Cesium's lowest-level internal coordinate system is Cartesian3 coordinates: the Earth-fixed frame, typically with a WGS84 ellipsoid, optionally with terrain on top, expressed in 3D Cartesian ...
emackey's user avatar
  • 1,456
1 vote
Accepted

Client-side 3D surface generation in ArcGIS JS API

Yes, you can create a custom elevation layer by subclassing BaseElevationLayer. More details are here. Hope this helps. Richie.
Richie's user avatar
  • 71
1 vote

Client-side 3D surface generation in ArcGIS JS API

Topo to Raster is a geoprocessing tool that relies on the Spatial Analyst extension in ArcGIS Desktop and could theoretically be published as a custom GP service in ArcGIS Enterprise and consumed from ...
john gravois's user avatar
  • 5,073

Only top scored, non community-wiki answers of a minimum length are eligible