Questions tagged [angles]

From Wikipedia: In geometry, an angle is the figure formed by two rays, called the sides of the angle, sharing a common endpoint, called the vertex of the angle. Angles are usually presumed to be in a Euclidean plane, but are also defined in non-Euclidean geometry.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Calculate angle between two furthest points

I need a way of automating this whole process rather than measuring the angle manually. I want to calculate the largest viewing angle from each of the viewpoints (red dots) in relation to the ...
user avatar
  • 33
0 votes
0 answers
22 views

Adjusting angles after drawing polygon in ArcMap

I need to adjust the angles of a polygon that I've drawn in the ArcMap environment. In fact, I've converted the polyline to polygon by using data management tools and features. Now I want to modify ...
user avatar
  • 1
3 votes
1 answer
80 views

Add angle of point from road as seen from left to right?

I have a layer of trees (purple points) that I want to add a column that equals the order of trees by angle if seen from left to right. For example, with the property with three trees, you would stand ...
user avatar
1 vote
2 answers
87 views

Converting aspect/direction raster from geographic degrees to arithmetic radians

I have a raster/grid representing e.g. terrain aspect or flow direction, coded in geographic degrees (0-360°, clockwise from the north). I would like to convert it in arithmetic radians (0-2π, ...
user avatar
  • 31
6 votes
1 answer
101 views

What is angle value in points along geometry in QGIS?

I generated the points along geometry from Processing toolbox and there is an angle field as default. What does it stand for?
user avatar
0 votes
0 answers
24 views

Transform top-down vector layer to angled view

I have a 3D model of a fictitious city and I'm creating a little OpenStreetMap/Google Maps clone for it. The current workflow is fine: I render the fake satellite view pictures from a top-down ...
user avatar
2 votes
1 answer
302 views

Calculate angle between two 3D points [closed]

Given two points with xyz-coordinates, how to find the angle between them as shown in the picture. Is there a tool for it in ArcGIS Pro? I have looked into PointGeometry, but it did not seem to have ...
user avatar
0 votes
1 answer
28 views

sunAngle() calculation in R giving wrong results

I need to find the hourly sun angle (angle at which the sun strikes the Earth) for a particular position (latitude, longitude) for a given day in Belgium. I used sunAngle() from "oce" ...
user avatar
  • 21
2 votes
1 answer
109 views

Calculating the angle of view from points to a polygon

This question Calculate field of view / angle of a point to a shapefile was attempting to achieve a similar outcome to my need (calculating the angle of view between observer locations and a polygon). ...
user avatar
1 vote
1 answer
88 views

QGIS 3.16 - Angles/Azimuth from advanced Digitizing in attribute table

I have simple question, how can i export angles from Advanced Digitizing Panel do attribute table? . For example , i want to draw a line of length 100m at angle -45 degree. I do it using advanced ...
user avatar
0 votes
0 answers
65 views

Convert GPS bearing to Cartesian angle

I have two GPS coordinates: Location A 25.07507, 55.14012. Location B 25.07571, 55.13975. The bearing between location A and location B is 332.9°. If we know that location A has a Cartesian point of ...
user avatar
  • 101
6 votes
1 answer
218 views

Determining orientation of bay using QGIS

I want to know the orientation (relative to North) of a bay. The idea is, if I draw a line along a coast, and it crosses the bay mouth, I want the direction of the line perpendicular to that line (as ...
user avatar
  • 63
1 vote
1 answer
62 views

Calculating angles of vector polylines

I would like to calculate the angles of my vector polylines (and later use this value to colour them, so all the similarly angled lines (i.e. that have the same orientation / have the same colours). ...
user avatar
  • 11
2 votes
1 answer
57 views

Measure an angle on an orthophoto or on a dense cloud

I'm currently working on QGIS 3..10.1, and I would to analyse my roof with UAV analysis. I have already made a dense cloud, an orthophoto and a DEM on agisoft metashape but now I would make few ...
user avatar
  • 39
4 votes
3 answers
95 views

Angle of lines between two points varies between "90" and 270"

I have several sets of points on a layer, with all sets of points in nearly the same geographic location. I use the "points to paths" function and then explode the lines. I then use the ...
user avatar
4 votes
3 answers
1k views

Calculating interior angles of polygons or lines in QGIS

The problem In QGIS, it's easy to calculate areas of polygons or lengths of lines using QGIS expressions with area ($geometry) / $area or length($geoemtry) / $length respectively. However, there is no ...
user avatar
  • 41.1k
8 votes
5 answers
509 views

Simplifying polygon by inner angle

I'm trying to simplify a polygon using the interior angle of a vertex as the "tolerance" instead of the distance between vertexes. E.g. the polygon in the image below would lose one vertex, ...
user avatar
1 vote
0 answers
419 views

Calculating azimuth angle from two X,Y,Z points

I'm following @whuber's post for calculating azimuth and elevation angles based on two vector3's. The elevation equation works great and gives me numbers that makes sense. I'm running into issues with ...
user avatar
2 votes
1 answer
193 views

Generalizing line with angle rules in QGIS

I'm looking for an automatic way to generalize/simplify vector lines in QGIS like the following picture : I would like the generalization to include only the angles indicated by the small star on the ...
user avatar
  • 313
3 votes
1 answer
225 views

Calculating average slope and compass point of polygons in QGIS 3.18

I am using QGIS to rank about 800 PV areas according to their potential. I have a vector (.shp) layer with certain areas in polygons (inc. attribute table, every polygon has it's own ID). Now I would ...
user avatar
  • 31
2 votes
1 answer
107 views

Angle from x axis with QGIS

I am using QGIS 3.10. I am trying to make an angle of line from x-axis in 0-180 range. This picture shows what I'm trying to do. I want green lines to have angle of 140 for the upper one and -52 for ...
user avatar
1 vote
2 answers
53 views

Display angle of each line feature within a specific field for that layer using UpdateCursor method

So I want to calculate angles for each line feature layer using UpdateCursor method. So far I have progressed with the code but what it is doing is; it is giving the result of the last feature angle ...
user avatar
0 votes
0 answers
29 views

Plotting polygon on map with length of sides known and lat lng known only for two vertices and no angles known

I have an image(a polygon), generated by survey department from a field survey. I know the lat lng of two vertices and the length of all sides.I do not know the size of the angles.(Using a protractor ...
user avatar
4 votes
1 answer
448 views

Calculating dominant angle of a polygon in QGIS without main_angle function

How can I calculate dominant angle of a polygon in QGIS without main_angle function? I have a shapefile of Oriented Minimum Bounding Box rectangles (accessible from the following link: https://drive....
user avatar
  • 529
6 votes
1 answer
5k views

Finding interior angles of a triangle using PyQGIS

I need interior angles of a triangle (QgsTriangle object). It has angles() method. There is an example in documentation. But sometimes the method doesn't give correct results I expect. For example: ...
user avatar
7 votes
2 answers
471 views

Resizing rectangle by dragging one side and retaining all right angles using QGIS

I cannot resize a rectangle polygon feature in QGIS in a way that retains right angles on all the vertices. There does seem to be an “intent” for this capability to exist via the “snap to common angle”...
user avatar
1 vote
0 answers
39 views

R statspat package (or similar pkg) and convert back to spatial objects

I've been testing the waters and doing some basic overview on the statspat package. This is a complex package and would likely require some serious effort to jump in and then get familiar with the ...
user avatar
  • 141
1 vote
0 answers
48 views

Calculate angle of view from a point based on DEM using QGIS

I'm looking for a way to calculate the angle of view from a point on a DEM, in particular from the highest point of a terrain relief (corresponding to the red dot in this image below). To better ...
user avatar
  • 197
1 vote
0 answers
69 views

Calculating midpoint between every two closest points using ArcGIS Pro

I am looking to try and identify the midpoint between two closest points in my layer in ArcGIS Pro. The reason being that I work in the utilities industry and I am trying to calculate the angle ...
user avatar
  • 11
6 votes
1 answer
147 views

Setting vertical scan angles in visibility analysis (viewshed) QGIS?

Is it possible doing a visibility analysis (viewshed) in QGIS setting a vertical angle of search from the observer points? In ArcGIS Pro viewshed, there are the vertical upper angle and vertical lower ...
user avatar
  • 9,901
1 vote
0 answers
1k views

Compute elevation and azimuth from lat, lon, and altitude

Given the latitude, longitude and altitude of two points (in my case satellite and ground antenna) I would like to compute the azimuth and elevation angle between the two points from the ground ...
user avatar
  • 111
4 votes
1 answer
355 views

What does the "bisector angle of vertex for original geometry" mean in the Extract Vertices tool?

I need to calculate the number of notches in my polygons. Therefore I need to know the angles of the vertices in a set polygons. I managed to extract a value for the angle by the Extract Vertices tool ...
user avatar
  • 175
1 vote
2 answers
160 views

Gradians to degrees with zero

I want rotate symbol, but the angle is in gradians (grade, gon) with zero on east. How to convert this angle to degrees with zero on north ? I try (angle*0.9 + 90), but e.g. for angle with 380 gon => ...
user avatar
  • 412
0 votes
0 answers
173 views

How can I calculate the course angle of two coordinates in decimal degrees?

I want to calculate course angle of two given decimal degrees, like shown in the following picture: In the above picture the result would be 135° The coordinates are given in decimal degrees, e.g. (...
user avatar
  • 101
1 vote
2 answers
269 views

Converting radians to arithmetic degrees

I need to convert angles that are in radians from Due east to arithmetic degrees for Creating arrows based on GPS velocities to show displacement The Radians definition for my data is: Degrees ...
user avatar
  • 438
5 votes
1 answer
520 views

Calculating intersection angles of multiple polylines using QGIS

I have one vector layer of multiple polylines that intersect each other in QGIS. What I want to do: calculate all intersections angles (2-ray, 3-ray, 4-ray and 5-ray types) in this vector layer. What ...
user avatar
  • 53
3 votes
1 answer
276 views

Rotating Text -90 in QGIS Composer

I have rotated some text labels by -90 in my project. I want them to stand vertically on an alignment bar. If the map window with the alignment bar also has a rotation the text is no longer vertical ...
user avatar
12 votes
2 answers
600 views

QGIS - Rotating all symbols to face a single point

I am creating a map with airports, using an airplane symbology (svg). Instead of having all small plane symbols turned north, I would like to rotate them to be all turned to Paris. I have 28 airport ...
user avatar
  • 399
2 votes
0 answers
316 views

Mistake in Oriented Minimum Bounding Box Tool? [closed]

I have used the OMBB (Oriented Minimum Bounding Box) Tool in QGIS to calculate OMBBs around polygons. However, there must be a mistake in the tool as all the yellow boxes in the picture below are ...
user avatar
3 votes
1 answer
1k views

Python: finding angle between 3 points while considering elevation

I have a pandas DataFrame that contains three points's lat/lon and elevation. I used the Vincenty's formula to calculate the distance between each pair. And now I want to calculate the angle of the ...
user avatar
0 votes
0 answers
161 views

Compute polygons (Data Driven Pages) main angle when having ArcGIS Basic license

Is there a way we can calculate or when rotating polygons, actualize/update our "Angle" field in the attribute table by using Python? There is a tool in ArcGIS "calculate Polygon Main Angle" but is ...
user avatar
  • 562
1 vote
1 answer
54 views

How can I calculate the maximum sky viewing angle for every point in a DEM not covered by objects? [closed]

I am looking for areas in a city that are suited for setting up precipitation measuring stations. One constraint is, that the station has to be distant from each object at least two times the object's ...
user avatar
  • 11
4 votes
2 answers
3k views

Extract vertices QGIS 3

I am using Extract vertices in QGIS 3. The table in result shows angles. What do those angles mean?
user avatar
7 votes
2 answers
350 views

Distance to a ridge as function of angle (Python)

No success googling this for a while, but likely I just don't know correct terminology. Also, tell me if you see another exchange more suited for this. Given: A boolean 2-dim array that stores if a ...
user avatar
1 vote
1 answer
125 views

Getting angle of point generated from DEM in Raster using Field Calculator in ArcGIS Desktop?

I am trying to calculate the angle of some specific points generated from flow direction in ArcMap 10.2. I converted the DEM to flow direction and then to points. I am trying to convert the grid_code ...
user avatar
1 vote
1 answer
297 views

View Angle Calculation

In Calculating View Angle? the accepted answer contains the following calculations: Given two points (x,y,z) and (x',y',z') in an earth-centered coordinate system, the vector from the first to the ...
user avatar
11 votes
2 answers
1k views

Creating line segments at point coordinates in QGIS

I have a point vector layer with "angle" field. How can I create line segments at these points with certain length and angle? I did this with style options but I need this physically as ...
user avatar
2 votes
1 answer
1k views

QGIS Labels Rotation

I have imported some OS MasterMap data into QGIS 3.2 and have labelled the Cartographic Text dataset. This dataset has a rotation field, populated with various angles of rotation depending where they ...
user avatar
3 votes
1 answer
430 views

Differences in angle measurements in Web Mercator

I am trying to measure different angles on 2D map using lat/lon coordinates taken from Google Maps, and Java library JTS. I have noticed a weird thing: my measurements are always distorted, except ...
user avatar
  • 168
0 votes
1 answer
1k views

Finding internal angles of polygons using ArcGIS Desktop?

I'm working on ArcMap 10.3.1. I'd like to retrieve the values of all internal angles of each polygon of a shapefile, and return them as follows: either concatenated on a new field; or on a table; ...
user avatar