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
80 views

Generating polygons that represent intercardinal quadrants (NE, SE, SW, NW) at Road intersections using ArcMap

I have a road polyline feature class in an Oracle 18c/10.7.1 geodatabase. I would like to generate a polygon FC that represents the quadrants of the road intersections. The polygon FC would have a ...
1
vote
0answers
22 views

Finding Segment information on a Route between 2 places

Is there a way to find Segment information on a Route between 2 places using Google Maps API? I have 2 places/addresses/latlong. I am looking for the direction between the two. For this direction, I ...
2
votes
1answer
54 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 ...
0
votes
2answers
82 views

Calculating distance between two feature layers in specific direction using ArcMap?

I'm working on a project in which I'd like to calculate the distance from specific locations within a city (points) to the nearest body of water (polygons) following the path of the wind (direction). ...
0
votes
0answers
60 views

Python error on QGIS

We are doing the slope analysis for one of our clients and can find the following error every time we do the analysis. We have not faced this situation in the past. The QGIS version which are using is ...
0
votes
1answer
21 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
53 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
58 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
169 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
208 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
571 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
189 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
307 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
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.
3
votes
1answer
163 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
55 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) ...
5
votes
2answers
4k 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
84 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
353 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
832 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
385 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
112 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
71 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
99 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
62 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
852 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
469 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
538 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
148 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
30 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
9k 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....
7
votes
2answers
327 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
462 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
526 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
285 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
1k 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 ...
6
votes
2answers
915 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
894 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
84 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
1k 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
473 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
7k 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
635 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
127 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
68 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
65 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
126 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
155 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
387 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
802 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 ...