grass
grass copied to clipboard
[Bug] Profile Analysis Tool Segment break points position
Describe the bug When creating a profile with break points with the Profile Analysis Tool, I would expect the segment break points to be shown on the profile line. They are, however, positioned on the x=0 axis (see attached screenshot).
To Reproduce Steps to reproduce the behavior:
- Open raster lay
- Open the Profile Analysis Tool from the Map Display toolbar
- Draw a profile line, including at least one breakpoint
- See error
Expected behavior I would expect the segment break points to be shown on the profile line instead of all on the x=0 axis.
Screenshots
System description (please complete the following information):
- Operating System: Linux, Ubuntu 22.04
- GRASS GIS version 8.4.0dev, code revision 53c362dbd1
Additional context I have observed this behavior in earlier versions as well
I wasn't successful with your reproducible example. All my line segments breaks triangle points lies on the profile line.
Tested with elevation raster map from the NC basic location.
@tmszi You are right. Using that data, it works as expected.
The difference is that in my example I used 'unprojected' data (WGS84, EPSG 4326). It seems the tool does not properly handle such data?
@tmszi You are right. Using that data, it works as expected.
The difference is that in my example I used 'unprojected' data (WGS84, EPSG 4326). It seems the tool does not properly handle such data?
This will require a more detailed analysis.
I tested with a DEM in a 4326 location and I get the same behavior that @ecodiv describes, in NC sample data (i.e., a projected location) the breaks are on the profile curve.