Questions tagged [direction]

The distance-independent relationship between two points in space that specifies the angular position of either with respect to the other

Filter by
Sorted by
Tagged with
2
votes
1answer
928 views

Reverse polygon direction in QGIS? [closed]

The following Python code is very helpful to reverse the direction of lines in QGIS: layer = qgis.utils.iface.mapCanvas().currentLayer() for feature in layer.selectedFeatures(): geom = feature....
2
votes
1answer
333 views

QGIS placing points perpendicular on the travelling direction

Using QGIS 2.16.1 I have a line and a point shapefile. The line was made by using "points to route". The points have timestamps, in this case showing the direction of travel. I want to create a new ...
2
votes
1answer
39 views

Displaying direction arrow on pointstopath in QGIS?

I found Displaying direction of movement with points2paths in QGIS? which should work but it doesn't. It looks as though it's an older version of QGIS (I'm using Madeira). Arrow gives a very strange ...
2
votes
1answer
141 views

Comparing identical polylines direction in ArcMap

I have a file with polylines digitized in several directions (clockwise and counter-clockwise) and I need them to be all digitized in only one direction. This I have solved with creating coverages and ...
2
votes
1answer
369 views

Color gradients to show direction in polylines

I am referring to this very useful hack to change the color gradient of buffered polygons in order to show direction (with a gradient from red to green, for example) hack The only problem is that ...
2
votes
1answer
255 views

Euclidean direction

i'm trying to calculate the euclidean direction, in ArcGIS its very easy using the Euclidean Direction tool of Spatial Analyst but in QGIS i don't find how to do it. Any tips for this in free ...
2
votes
1answer
95 views

How to detect other objects are on which side of an object based on lat long

I am working on a system that detects the lat/long of vehicles. I want to track other vehicle's position: left, top-left, right, top-right, bottom-right, bottom-left etc based on lat/long. I have ...
2
votes
1answer
251 views

Working out parcel direction

I am looking at applying a direction indicator to land parcels and houses (in MasterMap). Effectively, I am looking at applying a direction indicator to the land and the buildings associated to the ...
2
votes
0answers
294 views

R Leaflet plot ship direction

I want to plot ships and its direction on the map using R Leaflet. I tried to represent a ship as a circle and its direction with a line from the center as in the following picture. The problem is ...
2
votes
0answers
161 views

Why this pyqgis code cause crash dump in QGIS?

In ArcGIS there is gp.EucDirection to calculate Euclidean allocation, distance, and direction around a point, Is there equivalent function in pyqgis or gdal? I wrote a script with help of gene and ...
2
votes
0answers
158 views

Make a line from a set of GPS points close to a specific GPS point with PostGIS

I have to develop a map-matching algorithm. At the moment I only match GPS points with the closest road segment. I'm looking for a way to compare the directions between a GPS point and a road to ...
2
votes
0answers
214 views

Finding number of left and right turns for each shortest route [closed]

I have a network dataset for a city. I have, lets say, 200 trips that are made in that city. I constructed the shortest route for the every pair of the trips, and also the actual route travelled by ...
2
votes
1answer
1k views

Knowing acceleration, gyro and compass data how to calculate north direction [closed]

I have a small video camera with an attached sensor. I can get from the sensor his acceleration, gyro and compass data. Knowing this data I need to rotate the camera so that it will look strictly ...
1
vote
1answer
45 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 ...
1
vote
2answers
507 views

Converting Direction Of Travel OSM vectors from “system” to another?

I have a painful doubt according Direction of Travel (DOT) vectors in OSM data. I'm using ArcGIS10, and a OSM data shapefile. I have a OSM road layer, that has many "Both ways" vectors and many "One ...
1
vote
3answers
1k views

Collecting direction of taken photo in ArcGIS for Collector?

Just wanted to know if it is possible to collect the direction of taken photo in Collector ? Obviously, I would like to know which direction i'm facing (North, east south, west) when taking the photo. ...
1
vote
1answer
772 views

Determining direction of longest segment of polygon using ArcGIS Desktop?

I have a shapefile with 9000 agriculture fields and what I like to do is to determine for each field (=each polygon) the direction of the longest segment. For instance, the selected polygon in the ...
1
vote
2answers
2k views

Using grayed out distance/direction tool in ArcGIS for Desktop?

I have a set of five points (all with specific latitudes and longitudes) and I want to create a set of points which will be about 80 kms from the first set. I understand that I can use the distance-...
1
vote
1answer
182 views

Direction of two lines (turn right or left)

There are two connected lines (EPSG:4326 line1, line2). When the direction of the two lines is from line1 to line2, I want to do a calculation to determine whether the direction is left or right.
1
vote
2answers
359 views

What is the difference between “due North”, “N0degreesW” and “N0degreesE”?

Is there a difference between "N0°W" and "N0°E"? These terms have been used in connection with Strike Lines. The final bearing computed was exactly 0. Will the direction East and West ...
1
vote
1answer
1k views

How can I create individual directional point symbols in MapInfo?

I have a point tab file where one of the attributes is a 0-360 direction. I want to create an arrow symbol for each point with the arrow pointing in the direction listed for that point in the table. ...
1
vote
1answer
85 views

Change MultiLineString direction in QGIS/PyQGIS

I am looking for a method in PyQGIS (QGIS3.x) of reversing the direction of a MultiLineString feature. If there is more than one part, the order of the parts should be reversed. I have found a ...
1
vote
1answer
56 views

Construct points - orientation problem

I am having problems with the Editor function "construct points" in ArcGIS. If I select the line where I want to construct the points, the direction of the points is not correct. The orientation ...
1
vote
1answer
957 views

How can I compute global triangulation from longitude/latitude coordinates?

I want to calculate an approximate location based on these inputs: 3 locations identified by latitude and longitude anywhere on a planet 3 angles, indicating the approximate direction from each of ...
1
vote
1answer
102 views

Representing directional data from an attribute field

I have a table in ArcMap 10.2 containing strike measurements, in degrees, for ~100 sample sites. Each measurement has a UTM tied to it, and the map has already been populated with points, but I would ...
1
vote
1answer
188 views

Using Copy Traversed Features to count turns for a route result in Network Analyst

I have the output of the route layer. And I want to determine the number of right and left turns for each route. For that, I used the COPY TRAVERSED ROUTE FEATURES tool from Network Analyst. However, ...
1
vote
1answer
549 views

Calculating field length in certain directions (raster)?

Currently I'm working on winderosion. For my purpose I like to calculate the length of agricultural fields in certain wind direction. I would like to do it for raster. To be more precise, I have ...
1
vote
1answer
187 views

Distance-direction computation of lines with exactly/more than two nodes?

A distance and direction tutorial provided as an Answer at How to add Direction and Distance to attribute table? uses: xat (0 ), xat (-1 ) and yat (0 ), yat (-1) for start and end points of lines; ...
1
vote
1answer
677 views

Getting best path between two points? [closed]

Last night we were moving from point 'A' to point 'B'. We are quite familiar with the road way and the directions, but not so sure. So just for the confirmation we tried to use the Google maps and the ...
1
vote
2answers
53 views

Acquire direction between points along route

How can I generate a directionality attribute between two points along a route/line? Currently I am using Network Analyst to determine closest facilities, but I need a direction (upstream/downstream) ...
1
vote
1answer
284 views

Get minimum distance direction from point to line

Is there a method using QGis to calculate the direction (degree) of the minimum distance from a point to a line. I already have: - Point shapefile with hundreds of points; - Linear Shapefile with ...
1
vote
1answer
128 views

Creating direction raster in QGIS?

I need to create a raster with values showing directions relative to a single point. Each cell will have the azimuth to the origin point. Basic trigonometry could calculate this using the differences ...
1
vote
1answer
768 views

I am trying to have markers in a KML to follow the direction of the view in Google Earth

I am trying to represent the flow direction of streams in a KML file to be used in Google Earth. As complex line symbols are not supported by the KML format, I have opted for a solution combining ...
1
vote
2answers
580 views

Measuring distance to coast in specific direction using PyQGIS? [closed]

I have a point layer and want to know the distance to the coastline (line or polygon layer) from each point in a series of directions (0, 10, 20, 30 degrees, etc). I have found this python script (...
1
vote
1answer
2k views

How to show directions on the map?

I am using Mapbox, Leaflet. Via Mapbox Walking directions I create directions and save origin and destination markers coordinates; Then I want to show this created direction. So I do following: <...
1
vote
1answer
784 views

Route planning needs double click

I am new to Stack Exchange so I hope I can prepare my question in an adequate way. I try to make a small route planning application. A start address should be entered and the destinations are fixed. ...
1
vote
1answer
2k views

Determining Flow Direction in ArcGIS for Desktop?

I have a problem with the Flow Direction tool ArcGIS 10.2.2. After running the tool on a digital elevation model in .tif format 16 bit unsigned integer. However the result is an image of 8 bit ...
1
vote
1answer
52 views

Keep direction information after intersect operation with fishnet

I will try my best to describe my question here: All the operations are done with ArcMap 10.1. I have a shapefile, which represent the stream segment network of a watershed produced from ArcHydro tool....
1
vote
1answer
809 views

Flip multiple vectors

I have thousands of vectors (out of several million) which I need to flip, for directionally purposes (Network Analyst). The vectors in question are annotated that their directionality has been ...
1
vote
1answer
133 views

Calculating nearest distance to landscape element taking direction into account (i.e. slope, prevailing winds) using ArcGIS Spatial Analyst?

I am trying to build a layer of distance to relevant landscape elements in a watershed. To be relevant, a landscape element must be downstream with respect to the runoff direction.  Clearly, I want ...
1
vote
0answers
26 views

Using ArcGIS API for JavaScript 3,X Directions widget?

Can I select only one country in the Directions widget in ArcGIS API for JavaScript 3,X? For example: I want to select only UK. If the user writes Spain he will find nothing.
1
vote
0answers
69 views

Computing mean direction of river network in R

I have a shapefile of a section of river network (polyline) which I have read into R using the sp package to have a SpatialLinesDataFrame. I also have access to a terrain raster for the region in ...
1
vote
0answers
97 views

Directions based on polygon centroid and average/median point of adjacent polygon's touching border

I have a layer containing multiple polygons, and I am trying to find a way to identify the directions of the adjacent polygons of a certain polygon. The directions would be based on the main polygon ...
1
vote
0answers
491 views

JSTS Buffered Polyline in route Service (google maps V3)

I do not know if someone has already lived the same thing as me, I work with JSTS API to create a polygon that surrounds the route of the google services but the problem is that when there are ...
1
vote
0answers
27 views

How can I create polygons that are on the edge of point data and angle the polygons based on numerical angle data generated from flow direction?

ArcGIS 3D Analyst 10.5.0. I have a set of well locations and I would like to define the groundwater capture zone based on the groundwater velocity and the direction of flow. I calculated flow ...
1
vote
0answers
7k views

Getting directions north/south/east/west with Google Maps API? [closed]

for example I have 5 markers and I want to get the direction (E,W,NE etc) for each one of them according to the main one(red in the center). Here is a pic. Is there a way to do this with google.maps....
1
vote
0answers
67 views

Compare distributions of point patterns for significant differences in clustering

My problem is I have tens of thousands of points (GPS) representing animal locations over a period of several months. I want to test if a portion of those points (only about a few hundred) which ...
1
vote
0answers
64 views

How find a given point is with in given distance to a route get from google map direction service

I have created a route with start point, end point and the optional stops points. I have to check if the given point is away with in a given distance from the route. I have to match the given points ...
1
vote
0answers
491 views

Finding location points where travel angle changes using R?

I want to use R to find out the point locations at which my vehicle (equiped with GPS) started to turn. The data contains coordinates and time information. I have sort my data based on time sequence: ...
1
vote
0answers
52 views

Vector file with photo direction arrow

I need to make a shp file with photo points incuding link to each points photo and at the same time should each point have an arrow pointing in the direction the photo is taken. As the photo ...