Skip to main content

Questions tagged [mesh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

How to select mesh elements using an expression?

I'm using QGIS (3.34.7) and I'm trying to get a grip on meshes. In this example, I'd like to select mesh elements within a polygon layer (and later export them). QGIS (3.22) introduced "Select ...
pumpaij's user avatar
  • 11
0 votes
1 answer
21 views

Show difference between two .nc mesh layers

I'm trying to show the difference between two meshlayers. I added the layers from Layer>Add Layer> Add Mesh Layer. The layers are extracted from a .nc-file. Right now I can see the added layers ...
Dimitri S's user avatar
0 votes
0 answers
25 views

QGIS: "Export Mesh on Grid" not working with "Export Vector Option" enabled?

I need to sample the vector data from a Mesh to a grid, and was hoping to use the Processing Script Export Mesh on Grid, with the Export Vector Option enabled. (pic. 1) Unfortunately the whole ...
Julian W.'s user avatar
0 votes
0 answers
31 views

How to create projection matrix?

I have following data: oblique photos points representing camera location with x, y, z coordinates (EPSG:2178) and omega, phi, kappa trapezoids representing photo extent taken from given camera ...
Maryla's user avatar
  • 186
0 votes
0 answers
22 views

QGIS file format for vector data on unstructured triangular mesh

I have a dataset of ocean currents on a triangular mesh from SCHISM model output that I am trying to write in a format that QGIS can visualize. For scalar variables, I have been able to write .2dm ...
calquigs's user avatar
-1 votes
1 answer
36 views

Python CLI/Package to handle DTM conversion from raster to mesh (obj or ply) [closed]

I was wondering if there is a Python CLI, package or even a QGIS tool that makes it possible to convert a DEM from raster to mesh. The only way I found at the moment is sampling points from the raster,...
aogino's user avatar
  • 15
0 votes
0 answers
45 views

How to load mesh to Cesium via Flask?

I want to view mesh data in Cesium serving file from my local disk, make my own 'server' but I don't know how. Here is what I tried to do. Where am I making the mistakes? (Under http://127.0.0.1:5000/...
Maryla's user avatar
  • 186
1 vote
0 answers
70 views

How to create a vector dataset from mesh data for QGIS

QGIS can read time-varying GRIB files as a "mesh" data source, which is neat. The dataset is documented to be either a scalar or vector dataset. I'm able to open my GRIB files as scalar ...
Mike T's user avatar
  • 42.2k
0 votes
0 answers
28 views

Adding a Mesh File with QGIS (3.22.4 Bialowieza) : Exception std::bad_alloc Error Message

When I try to add a NetCDF file as a mesh file in QGIS, I have the following error message Exception std::bad_alloc The NetCDF file is 202392013465222_BGIForestAgeMPIBGC1.0.0.nc Can someone help me ...
Sof's user avatar
  • 13
0 votes
0 answers
20 views

Overlapped point data

I have recently used QGIS and tried some mapping functions based on my data but I have faced an issue with creating meshes. My data is route-based with overlapping points and I want to visualize them ...
Lova's user avatar
  • 51
1 vote
0 answers
278 views

Export TIN mesh with QGIS

I realized a TIN mesh from isoipse with QGIS. I would like to export it, but the problem is that I can't export the file. How can I do this?
Salvatore 's user avatar
1 vote
1 answer
147 views

WGS 84 terrain import to SketchUp

I am trying to create a 3D terrain map in Sketchup, based on a DEM file from the UK LIDAR series. I can add the DEM to QGIS as a raster layer and then use DEMto3D to produce a mesh in .stl format ...
Chris's user avatar
  • 11
0 votes
0 answers
45 views

QGIS flow direction mesh to shape format

I have calculated flow direction meshes in QGIS using PCRaster tool and Crayfish plugins. The result (white lines) I get is the following (see screenshot): Is it somehow possible to extract this (...
Klemen's user avatar
  • 1
0 votes
1 answer
321 views

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

I'm exploring the use of QGIS QgsMeshLayer to represent temporal datasets via pyqgis. So far, I've been able to create a mesh and visualise the mesh using its Z values. It looks like these Z values ...
songololo's user avatar
  • 1,724
1 vote
1 answer
68 views

QGIS Draw order of z-overlapping mesh

I'm on QGIS 3.24.2 and having some issues with the draw order of a .ply file that I've imported as a mesh. Is there any way order the drawing of the polygons by height when the file is imported as a ...
Guessologist's user avatar
1 vote
1 answer
1k views

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

I couldn't seem to fully understand the differences between TIN, MESH, and TERRAIN dataset formats in GIS. Per Wikipedia a triangulated irregular network (TIN)1 is a representation of a continuous ...
ar-siddiqui's user avatar
  • 1,768
3 votes
0 answers
458 views

Extract TIN mesh [closed]

I have a shapefile that I convert into TIN. The result is following: Now I want to extract a mesh based on this TIN to reach this: However I do not need TIN itself, I need only to save the mesh. I'm ...
Марина Лисниченко's user avatar
3 votes
1 answer
531 views

Storing a large 3D TIN into a PostGIS database

I have to store a massive TIN (1.5 GB) into a PostGIS database to do some computations with it. After my first try, I was getting a "server closed the connection unexpectedly" issue when ...
swiss_knight's user avatar
  • 10.5k
0 votes
1 answer
420 views

Saving a TIN given as a Wavefront OBJ file into PostGIS internal TIN format

I was given a TIN representing a terrain as an OBJ file: I need to store it into a PostGIS database as the PostGIS internal TIN format. How could I do that? If needed I can have access to the ...
swiss_knight's user avatar
  • 10.5k
0 votes
1 answer
666 views

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

I have a set of military clashes in Ukraine coded with latitude, longitude coordinates. So I want to create 2D bins for the data and then count the number of events that fall inside each bin. Later I ...
krishnab's user avatar
  • 919
1 vote
1 answer
48 views

Why does adding a face to QgsMeshLayer produce UniqueSharedVertex error?

When creating a mesh, some faces are not added and return a UniqueSharedVertex error. I don't understand why this happens. Visually, it seems perfectly valid to add a face in the given location. For ...
Leendert Van Wolfswinkel's user avatar
4 votes
1 answer
94 views

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

I have a large number of Delaunay triangles as PolygonZ. I want to construct a mesh from these triangles to be able to visualize and rasterize this as elevation / DEM. I create a mesh in memory and ...
Leendert Van Wolfswinkel's user avatar
2 votes
0 answers
399 views

Generate GLTF/OBJ models from quantized mesh (terrain) in CesiumJS?

I’m exploring ways to generate gltf / obj models from terrain mesh. My goal is to show 3d cut-fill volume calculation, something like the following - I realized that I don’t need to DEM to generate ...
Atul Kumar's user avatar
0 votes
1 answer
185 views

Rasterize monthly mesh data

I am working with QGIS and I would like to rasterize mesh data (ERA5 monthly averaged data on temperature) from 1998 to 2018 in order to perform zonal statistics. However, given the huge number of ...
alessio lombini's user avatar
2 votes
0 answers
165 views

Extracting contours from mesh layer in QGIS?

I am writing a C++ application that loads a NetCDF file as a mesh layer. I am attempting to utilize the QgsMeshContours class to export line geometries to be appended to a memory vector layer. ...
skew_t_pie's user avatar
1 vote
0 answers
118 views

Setting mesh layer visibility in QGIS application?

I am utilizing the QgsMeshLayer class to load a NetCDF file that contains multiple variables (temperature, velocity, etc). I want to be able to set the visible dataset by variable name. I know how ...
skew_t_pie's user avatar
0 votes
0 answers
388 views

Turn point cloud into rasterized mesh with PDAL-C and it's API

I'm triyng to turn a point cloud into a mesh that's rasterized like the code in c# below describes but I have come to the problem that the filter delaunay does not work with a raster, only with a ...
creepercrack's user avatar
0 votes
0 answers
201 views

Cannot open NetCDF file with QGIS

I have a problem regarding the NetCDF files downloaded from this site: https://map.neweuropeanwindatlas.eu/ Every time I try to open any of the files using QGIS "Layer > Add Layer > Add ...
Scrchd's user avatar
  • 155
0 votes
1 answer
124 views

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

Can I create a filter with a Python code or R code, to eliminate the spaces that don't belong to the orange shape file? I was thinking in to each shapefile meshed, assign an area from orange shapefile....
Felipe Aranda Delgado's user avatar
0 votes
1 answer
71 views

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

I am new to Agisoft and I created a 3D module. The textures of the buildings don't look that good. I would like to know which options should I use in the Build Texture tab to make it better. Or maybe ...
MaorMP9's user avatar
  • 51
0 votes
1 answer
566 views

Export time series mesh data to grid

I have a grib file containing temperature and precipitation, monthly, from 1989 to 2019 for a specific region (extracted from ERA5-Land). I imported it in QGIS as a mesh layer. I need to locate those ...
yacx's user avatar
  • 9
0 votes
1 answer
3k views

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

I have random added points with height. GeoJSON looks like this: { "type": "FeatureCollection", "name": "randompoint_Zadded", "crs": { "type"...
j2l2's user avatar
  • 11
4 votes
1 answer
2k views

Splitting concave polygons into convex polygons in QGIS

I want to optimize and decompose several concave polygon into convex ones but not too small or to complicated ones.Ideally cutting in places that would minimize the creation of convex polygons and in ...
Stephanie Maalouf's user avatar
1 vote
2 answers
1k views

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

I have created a NetCDF mesh with u and v variables for velocity. I can load it onto QGIS 3.14 as a mesh layer. The variables are not recognized as vector though (isVector : No is displayer in group ...
N Strahl's user avatar
0 votes
1 answer
851 views

Visualising NetCDF from Delft3D in QGIS

I have some results from a simulation in Delft3D that I'd like to visualise as a mesh in QGIS. For example, I'd like to see the change in water level at a different time step in the domain. The file ...
Lorenzo Durante's user avatar
0 votes
1 answer
319 views

Batch export multiple datasets in a group within a (mesh/raster) layer as images?

I have a mesh layer that contains a group with multiple datasets (dates). I'd like to export the visualization of each date together with another active raster layer (showing the basemap). I could do ...
trashjazz's user avatar
7 votes
1 answer
263 views

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

I have been trying to display weather data from ECMWF in QGIS on top of a base map, but half of the heatmap rendered from the mesh layer (imported via grib) displays as straight horizontal lines. I ...
Michal Paszkiewicz's user avatar
0 votes
1 answer
2k views

Extract values from Grib-files at several specific locations

I have got a GRIB file from ECMWF for a small area in the Antarctic. It contains hourly data for one month of multiple variables (eg. wind, seaicecover, sst etc.). I want to extract this data to .txt ...
RedKite75's user avatar
2 votes
0 answers
337 views

Converting and clipping nc4 files into raster file using QGIS?

Currently I am working on organizing the NASA's Gravity Recovery and Climate Experiment (GRACE) data with QGIS 3.10 and wish to clip it with the state boundary and rasterize its data so that I can do ...
tengx062's user avatar
3 votes
1 answer
735 views

QGIS Mesh Calculator output file (.dat)

I want to understand Mesh Calculator in QGIS 3.8.3 to make calculation between two variables of a NetCDF file. Each of these variables has [lon, lat, time] dimensions. The calculation is done smoothly ...
Kazuhito's user avatar
  • 31k
2 votes
1 answer
2k views

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

I have a .obj file output from OpenDroneMap. But I cannot determine if it is geo-referenced or not. How can I determine that?
Sifat Muhammad Abdullah's user avatar
3 votes
0 answers
1k views

How to convert .OBJ 3D Mesh Georeferenced file generated from OpenDroneMap to .kmz format for Cesium?

I have Open Drone Map Output of a 3D Mesh Object file in .obj extension. I want to convert it into .kmz format to put it into Cesium Ion. How can I convert the files in the picture to a .kmz format ...
Sifat Muhammad Abdullah's user avatar
0 votes
1 answer
87 views

2dm data disappears after rotating layout in QGIS

I ran into a bug (I suppose) recently. After loading a *.2dm format mesh (triangulated irregular network with elevation data), with the Layer --> Add Layer --> Add Mesh Layer command, I put some ...
Csani's user avatar
  • 1
0 votes
1 answer
127 views

QgsMeshLayer in memory

I am trying to create a Meshlayer in memory and tried this simple test in QGIS 3.6: from qgis.core import QgsProject,QgsMeshLayer proj = QgsProject.instance() uri="1.0, 2.0 \n2.0, 2.0 \n3.0, 2.0 \n2....
remy's user avatar
  • 9
2 votes
1 answer
4k views

qgis-mesh data (GRIB2) to geotiff

basically i am trying to get out the direction and magnitude information of the current (flow/movement of water) information layer of a grib weather data file - which is a mesh in qgis terminology. I ...
robert tuw's user avatar
0 votes
1 answer
1k views

Agisoft Metashape Orthomosaics. DEM from mesh or dense point cloud

Does anyone know the differences between Orthos built from DEMs that were constructed from dense point clouds rather than mesh? My purpose is to preserve original data and minimize interpolation while ...
Jonathan Berlingeri's user avatar
1 vote
1 answer
575 views

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

I'm looking a way to open 3d Terrain Mesh files. I have four different folders with same 3d content , I'd like to open one of them : Cesium folder (with internal Tile folder, web.config, tileset....
Toren's user avatar
  • 131
2 votes
1 answer
2k views

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

The issue: I have a glTF (ver. 2.0) mesh (converted from ply to dae to glTF) with triangles coordinates in EPSG:4978 that doesn't show up in Cesium (ver. 1.42). The code: This is the code in the ...
swiss_knight's user avatar
  • 10.5k
0 votes
0 answers
560 views

Generate XYZ coordinates of DEM mesh/grid

Is there a way to generate a wire grid of plain text XYZ coordinates starting and ending points for each wire segment? I want to generate them from a digital elevation model. Preferably with gdal/qgis ...
Steven Lutz's user avatar
1 vote
0 answers
305 views

Getting Shaded relief from DXF mesh using QGIS?

I am stuck with a problem in QGIS. I have a three-dimensional mesh as DXF from AutoCAD, which I imported into QGIS. Now I wanted to create a shaded relief map. I think I need to create a raster from ...
Christian Lehmann's user avatar