Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [direction]

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

5
votes
1answer
122 views

Relative position of nodes

I am studying bird movements and have tracked their locations, ie from flower 1 to flower 2 to flower 3 etc. Each point is mapped out. I am trying to work out the relative direction for each movement ...
1
vote
1answer
60 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 ...
0
votes
1answer
40 views

How can I calculate the direction of a Google Maps polygon?

To create a hole in a polygon, you need to know if the inner polygon is in the opposite direction as the outer polygon (See here). How can I calculate this? Here are some examples: var ...
4
votes
0answers
558 views

Right-hand-rule in QGIS

It seems that there isn't a plugin to perform the right-hand-rule on a layer or selected features. Can this be done by using some Python code? Is there a function that works in the same way as ...
4
votes
0answers
400 views

How to deal with direction in pgr_ksp (K shortest path)?

I am working on an Android app for navigation with PostGIS and pgrouting. I have implemented pgr_dijkstra and it's working fine. I am not considering direction in routing at this point and just want ...
3
votes
0answers
66 views

Given a line find whether another line is along side, N,E,S,W or not

I have a shapefile representing roads (Black) and I need to know whether another line object (Red) is to the side of it. Including the orientation between them, to define whether the Red line lies to ...
3
votes
0answers
2k views

Arrow flow lines from a contour map

using QGIS (or even GRASS) is it possible to label a contour lines shape with arrows that indicate the flow direction? Briefly: I have a point shape with elevation values. I make an interpolation map ...
2
votes
0answers
272 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
155 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 ...
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
66 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
90 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
464 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
24 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
52 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
438 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 ...
1
vote
0answers
837 views

How to determine ring orientation from lat/long coordinate points?

We have some set of point coordinates in lat/long which contribute to a polygon. From this set how do we determine the polygon is clockwise or anticlockwise?
1
vote
0answers
176 views

How to indicate a change in transport mode for directions in a multimodal dataset

When I solve a route and generate directions for my multimodal dataset, the end product is not very user friendly: The pedestrian started walking along Main Street and then boarded a bus to travel ...
1
vote
0answers
785 views

Avoid backtracking while creating loop in Google Map API 3

I am trying to build a solution where i would create loop by google map. My first and only business rule is there should not be any repeated route. But with my demo http://www.mindcrew.in/road%...
0
votes
0answers
227 views

Generating wind direction raster from wind's components?

I have a point shapefile, with each point representing the location of a weather station and storing values for wind SPEED and DIRECTION (in degrees). My goal is to create a continous surface (...
0
votes
0answers
42 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...