Hot answers tagged

12 votes
Accepted

Launching QGIS with specific user profile

From the command line you can start QGIS with the --profile option: qgis-bin.exe --profile spanish will start QGIS and load my spanish profile on Windows.
eurojam's user avatar
  • 9,809
9 votes

Generating series of cross sections (profiles) along line using QGIS?

I've been trying to find how to do this for a while. @Kazuhito's comment led me to find this. You need two things:- a line (your axis or route) a DEM (raster) Convert Points to Line You can get ...
Steven Kay's user avatar
  • 20.3k
9 votes

Elevation Profile with labels on waypoints using PyQGIS

Using your xml file and matplotlib you can achieve nice results if you put some effort in it. Matplotlib plots can be tweaked to look alot like your example. The trickiest part was to calculate where ...
BERA's user avatar
  • 68.9k
7 votes
Accepted

Elevation Profile with labels on waypoints using PyQGIS

You could combine QGIS with HTML/Javascript (Highcharts or any other framework) to produce appealing elevation profiles. With the help of some Python expression functions, it's possible to use the ...
christoph's user avatar
  • 5,338
5 votes
Accepted

Visualizing vertical profiles from LiDAR point clouds in R?

Instead of organizing data where each plot is in a different column, do it as a dataframe with all Z values in one column and an additional index column with the plot ID. For example: plot_id Z 1 ...
Andre Silva's user avatar
  • 10.2k
5 votes

Creating longitudinal section from points using QGIS

I would recommand to use DataPlotly Plugin (https://github.com/ghtmtt/DataPlotly) for that. You can use the selected points or all of them. In the example below I've used the x-coordinate of each ...
eurojam's user avatar
  • 9,809
5 votes

QGIS open project with specific user profile

QGIS can be started from the command line and accepts parameters. Here a short excerpt from the help: qgis --help QGIS is a user friendly Open Source Geographic Information System. Usage: qgis [...
Matthias Kuhn's user avatar
4 votes

QGIS Profile Tool - Terrain Profile

At 3.8.3, here's what works for me: I have a raster DEM and a vector point shapefile (the point shapefile does not have elevation values in its attribute table). I want to create an slope profile ...
Stu Smith's user avatar
  • 8,114
4 votes
Accepted

Command line tools to generate elevation profile from DEM + GPX/GeoJSON

If you load your LineString gpx/geojson ogr2ogr -f "PostgreSQL" PG:"dbname=" linestring.geojson and DEM tiff into PostGIS (replace XXXX with EPSG code, eg for WGS84 use 4326) raster2pgsql -d -C -I -...
AndrewHarvey's user avatar
  • 2,209
4 votes
Accepted

Cutting/ exporting multiple terrain profiles to CSV files with QGIS?

Use the Sample raster values or Add Raster Values to Points tool to extract raster values: Make sure each line has a unique attribute, eg "Line_ID". Convert the lines into points Use the Extract ...
csk's user avatar
  • 24.5k
4 votes

Improving resource consumption of Profile Tool Plugin of QGIS

Instead of using a plugin, try using optimised and native tools. In processing toolbox, try to SAGA > Terrain Analysis > Profiles from lines.
Denis Rouzaud's user avatar
4 votes
Accepted

Building exaggerated elevation profiles from VRT DEM in QGIS

Looking beyond QGIS I found the answer directly in GDAL VRT, and it's so simple. I only need to add <Scale>10.0</Scale> to the VRTRasterBand: <VRTDataset rasterXSize="412502" ...
christoph's user avatar
  • 5,338
4 votes
Accepted

QGIS "Profile Tool" Plugin inaccurate reading

The SRTM DEM has a ground resolution of 30 meters (1 arc-second), see https://en.wikipedia.org/wiki/Shuttle_Radar_Topography_Mission#Highest_Resolution_Global_Release and references. So the elevation ...
til_b's user avatar
  • 4,869
4 votes
Accepted

Switch begin and endpoint in profile graph - ArcGIS Pro

You could flip your line using the Flip Line tool. This will edit your line so if you want to keep the original direction you could make a copy of your layer first.
Albert's user avatar
  • 2,587
3 votes
Accepted

Is there any difference between a stream's Longitudinal Profile and its Elevation Profile?

An elevation profile or a topographic profile is a two-dimensional cross sectional view of the landscape. It provides a side view of the relief of the terrain along a line drawn between two locations ...
ahmadhanb's user avatar
  • 40.5k
3 votes

Visualizing elevation profile across a whole mosaic dataset?

As a workaround solution, you can interpolate a line from your mosaic dataset using the 'interpolate line' tool. You can then use the output line to create the profile. According to this post: https:/...
jbalk's user avatar
  • 7,475
3 votes

QGIS Profile Tool shows no profile

Here you have the screenshot with the sequence to get the profile of a line: Click on your dem file. Click on "Add layer" button. Click on the points between you want to see the profile (double ...
César Arquero Cabral's user avatar
3 votes
Accepted

Utility Profiles --- ArcGIS

Sewer and Storm Profiles can be created using the ArcGIS for Water Utilities add-in tools. Your network data needs to be in a geometric network (so that it can trace from manhole to manhole). There ...
Midavalo's user avatar
  • 29.6k
3 votes
Accepted

Creating DEM Contour files from shapefile line data in QGIS

I had the same question and looked everywhere! Finally a solution - you need to use "TIN interpolation". This video explains it perfectly: https://www.youtube.com/watch?v=PhJ77uHlTJA It demonstrates ...
Marina's user avatar
  • 126
3 votes
Accepted

QGIS open project with specific user profile

Just start QGIS from commadnline with some options: start "" "C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe" --profile english --project "c:\tonne\dreisam.qgz" the ...
eurojam's user avatar
  • 9,809
2 votes

Making simple line more complex using QGIS?

This isn't a python-script-based solution, but this will technically work: To add more nodes along along a line, you can use the "Densify Geometries" function specifying a distance or a number of ...
Trevor J. Smith's user avatar
2 votes
Accepted

Replicate elevation profile extraction (3D Analyst toolbar) in ArcPy

Following up, the extremely straightforward solution (offered up by KHimba) is a built-in function that I was unfamiliar with, called StackProfile in the 3D Toolbox. Here's a condensed version of how ...
joechoj's user avatar
  • 443
2 votes
Accepted

Create profile graph over multiple rasters (ArcGIS 3D Analyst)

I would suggest using the "Stack Profile (3D Analyst)" tool in ArcGIS. With this tool you are able to input line features and output profiles over multiple Profile Targets (Multipatch, Raster, TIN or ...
Jordan Walker's user avatar
2 votes
Accepted

Right min/max values in single band color of an asc file and resulted profile

Single band gray rasters are usually imported into QGIS with min and max values at 2% and 98% of the data range. If you want several neighbouring rasters to appear in the same grayscale, you have to ...
AndreJ's user avatar
  • 76.5k
2 votes

3D soil profile from borehole information

To build the boreholes, I would recommend this tool which is intended to be used with the 3D Analyst extension of ArcGIS for Desktop: You can set the coordinates of the starting points, azimuth and ...
user65011's user avatar
2 votes

Recording height profile from raster along a polyline shapefile?

There is a tool in the 3D analyst toolbox called Interpolate Shape that will do this: According to ESRI, the tool description is: The Interpolate Shape tool converts a 2D point, polyline, or ...
GBG's user avatar
  • 9,439
2 votes
Accepted

Raster DEM interpolation within overlapping vector polygon of water surfaces?

I used Diffuse Interpolation with Barriers too from ArcGIS, which is an interpolation method that can account for barriers within the study area. It can also use different cost surfaces to modify the ...
Sher's user avatar
  • 892
2 votes
Accepted

Elevation profile using linear shape in ArcGIS Desktop?

If you have the 3D Analyst extension, this is pretty easy: Make a 3D line out of your line shapefile with Interpolate Shape (use the DEM as Input Surface) Add your 3D shapefile to ArcMap Add the 3D ...
GISGe's user avatar
  • 9,674
2 votes

Automating calculation of cumulative elevation for multiple line segments (not the profile graph)

Here you go: def plusGain(shp): part=shp.getPart(0); n=len(part); result=0 for i in xrange(n): p=part.getObject(i); z=p.Z if i==0: z0=z else: result+=max(z-z0,0);z0=z return result #---- ...
FelixIP's user avatar
  • 22.7k
2 votes

QGIS 3.0 Girona using profile tool, get python error

I uninstalled the plugin and donwload last zip from web page and it work again. The link is in the bug tracker in the plugin window in Qgis 3.
Marco Ugalde's user avatar

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