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

0
votes
1answer
12 views

Listing grid cell numbers for outlet according to flow direction using ArcGIS Desktop?

I am trying to list grid cell numbers whose flows contribute to the red cell I draw in the figure according to the known flow directions. Directions and colors are shown in the figure. What tool can ...
2
votes
1answer
19 views

Compare two points and conclude direction

Is there a simple method in geotools or JTS to conclude the direction between two geospatial points? I would like to conclude if point A is (north, south, east, west, NW, NE, SW, SE) when compared ...
1
vote
1answer
42 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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
51 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 ...
3
votes
1answer
219 views

How to create a symbol with directional arrows in QGIS 3?

This is the same as this question for ArcGIS: Creating Directional Flow Arrows for sewer lines? but for QGIS. I tried to follow the same approach as in ArcGIS, but I keep missing the mark. I think I ...
3
votes
1answer
123 views

Calculate polygon main dircetion and create line from it - POSTGIS

I would like to find out the orientation of a polygon and create a line of that direction. See image below.
1
vote
1answer
145 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
0answers
25 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.
3
votes
1answer
90 views

Dissolving lines with same directions using ArcGIS Desktop?

I have a feature class containing road polylines which has to be dissolved by some fields. But recently noticed that if some road has same atrtributes but different directions, Dissolve tool doesn't ...
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) ...
3
votes
1answer
2k views

Changing (flipping) line direction in QGIS?

I have river network in QGIS. I draw opposite direction one of the rivers. Now I want to change direction of that river. How can I do that in QGIS 3? (As I know it is flip in ArcGIS)
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
1answer
243 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 ...
3
votes
1answer
520 views

Generating KML with arrow styling?

I have a Network GIS which I have made in QGIS and has direction arrow, but as soon as I export it to KML file I can just see the polylines without the direction. Is there a way to get the ...
2
votes
0answers
267 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 ...
1
vote
0answers
89 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 ...
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 ...
0
votes
1answer
87 views

Is there a service or library that takes a route (with unlimited points) as input and returns text turn-by-turn instructions?

I am making an application that generates routes based on atypical heuristics so I would like a service much like Mapbox Directions API but I could: Disable the internal routing. (i.e. if I give a ...
1
vote
1answer
51 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 ...
0
votes
1answer
620 views

How to show line symbol (arrow) independently of line length in ArcGIS?

I am manually creating a polyline layer in ESRI geodatabase. Lines are of 2 vertices (start-end), variable length but all very short. I am using directional symbol with arrow at the end (or middle). ...
1
vote
2answers
326 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
0answers
451 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
1answer
119 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
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
6k 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....
6
votes
2answers
256 views

Walking route that covers the largest area in shortest distance

I regularly need to walk across field searching for bird nests. The field are often squares or polygons and the bird nests could be anywhere on the ground in the field. To stand the best chance of ...
6
votes
2answers
387 views

Creating Direction data in QGIS between two layers?

Can I do it in Qgis, that there are two layers, a target layer and an input layer, and I ascertain with an algorithm so that the closest points on the input layer are on the target layer in what ...
2
votes
1answer
403 views

Which projected coordinate system for whole China?

I want to project data of China. I'm not concerned with trying to preserve areal or directional relationships but preserving distances would be nice. Does such a coordinate system exist?
0
votes
0answers
223 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 (...
7
votes
2answers
805 views

Slope, in which direction?

I have a dilemma? I work with a slope terrain. Slope field is done by a percentage of 10%. My question is, in which direction is oriented this pixel, or any pixels? It is important to know to what ...
5
votes
2answers
698 views

Determining direction of polygons using QGIS?

Is it possible to get the direction of the longest side of a rectangle in QGIS? I know how to get the direction of a line layer. But I need to know the direction of a polygon. One could start at ...
6
votes
1answer
749 views

Determining the direction of polygons?

Is there a way in QGIS to figure out the direction of a polygon, if there are no values given? What I need to know is if a polygon is directed to the south. I want to know the direction of a house ...
0
votes
1answer
79 views

Flow direction without DEM / raster

I am trying to figure out flow direction for a stream network and I do not have a high resolution DEM data for the same. I only have information about the stream orders and the network itself. Is ...
2
votes
1answer
849 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....
0
votes
1answer
424 views

Display map from python script?

I did a Network Analysis with ArcMap, executed by a python-script (I am building an ArcGIS-Tool). In the very end, I want my directions-output to be shown as a displayed map, so the user can navigate ...
2
votes
1answer
5k views

Finding compass direction between two distant GPS points?

I have a Latitude & Longitude for two locations (me in the West, him across the country), and a web-calculated GPS point for each. I'm trying to figure out which direction -- per my compass -- to ...
4
votes
0answers
548 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 ...
5
votes
1answer
120 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
0answers
48 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 ...
4
votes
1answer
102 views

Standard direction format in GIS software

I am working on an application, where the user can place some items on a map. Some of these items have a direction, currently saved as radians where 0 is towards right/east. We want to enable the user ...
2
votes
1answer
135 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 ...
3
votes
0answers
272 views

Show flow direction for pipes as arrows in QGIS [duplicate]

I have a vector layer (line features) which consists of different pipes. In the attribute data I have fields that indicate the upstream elevation and downstream elevation values. I am trying to ...
0
votes
1answer
615 views

Determine right or left side of polyline

I'm working with addresses and making a tool to check if structures are on the correct side of the street based on the house number parity matching the road parity. The roads have directionality, so I ...
1
vote
0answers
430 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: ...
2
votes
1answer
313 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 ...
6
votes
1answer
648 views

Labeling (one-way) streets in QGIS?

I followed instructions in this answer to Creating Directional Flow Arrows for sewer lines? to add directional arrows to the one-way streets on a map I'm creating. I've currently created a marker ...
1
vote
1answer
898 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 ...
0
votes
1answer
242 views

distance between two points on different direction [closed]

I want to measure the distance between two points on the horizon and vertical axis. Is any function on GIS can achieve this?