Questions tagged [line]

A set of ordered co-ordinates that represent the shape of geographic features too narrow to be displayed as an area at the given scale (contours, street centrelines, or streams), or linear features with no area (county boundary lines)

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

QGIS: Polygon split by lines not working?

I have a polygon in QGIS consisting of a dissolved set of shapes. My objective is to split this shape using the lines from a set of Voronoi polygons. To do this I calculated the Voronoi polygons, and ...
0
votes
1answer
25 views

Making sense of why and when polyline matches what is shown in Google Maps

By making Google Maps API call, I received a response JSON which contained this polyline1: ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
1
vote
1answer
53 views

Storing Google Maps API returned polyline in PostgreSQL (or PostGIS)

By making Google Maps API call, I received a response JSON which contained this polyline: ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
3
votes
0answers
61 views

Decoding polyline in Python

By making Google Maps API call I received a response JSON which contained this polyline: ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
2
votes
1answer
46 views

View vector GeoServer line layer in Leaflet

I have simple line layer created based on shapefiles. It can be viewed in GeoServer with OpenLayers preview: I also can be imported and correctly viewed in QGIS. I tried to visualize this layer over ...
0
votes
0answers
20 views

QGIS, Lines disappearing after classification

I want to create a shapefile with the geometry type Line. For this purpose I make a classification in the symbolization, because the lines are assigned to different meanings. For example: Value a --&...
0
votes
1answer
19 views

Raster into PolyLine with Python

I have got a binary raster and I want to create a shapefile with PolyLines based on this raster. The only success I achieved is a shapefile with Polygone geometry (below). I did it with rasterio and ...
1
vote
1answer
48 views

Identifying road intersections in QGIS [closed]

I'm currently in a project where I need to identify whether the road exist in an intersection or not. However there are 700 roads which is a hassle if I do it manually. Is it possible to identify ...
4
votes
2answers
93 views

Creating zones from lines inside boundary in QGIS

I would like to create zones inside a boundary from lines. Hard to explain but you can see my goal in the screenshots below: Each line should have its own zone. Delimited by the zone of the ...
5
votes
1answer
84 views

QGIS How change line thickness for multiple layers without changing their individual settings?

I want to change the line thickness for multiple layers with gpx tracks without changing their individual settings like their color. I know I can copy one style and paste it to all selected layers but ...
0
votes
0answers
20 views

QGIS connect points by arrows and update automatically

I have a point layer with a date field and a text field. I want to create a layer with arrows that will connect them in order (and also group them by the text field). So far so good, the Points to ...
2
votes
0answers
33 views

Measure length of shadow from object center in QGIS

I am trying to measure the length of object shadows in QGIS 3 in order to calculate the object's height. In order to know height (h) I will need to have: The length (l) of the cathetus (line from ...
1
vote
1answer
51 views

Records density along river network [closed]

This is a quite a complicated problem for me. I'm working with bird records, trying to figure out the eventual density of river bird species along rivers. I've managed to create a layer of records of ...
2
votes
1answer
68 views

Split polyline to equal parts using QGIS

How can a polyline be split to a number of equally long parts using QGIS?
0
votes
0answers
37 views

QGIS - Splitting a line into unequal segments based on height change

I am writing here to look for other methods/approaches to the task that I am currently undertaking. The task is fairly simple at this stage: Create a set of layers showing the earthworks alongside the ...
3
votes
2answers
136 views

Displaying overlapping polylines using QGIS

I have some route data with several routes which follow the same path for a distance. I would like to display the data showing thicker polylines where routes overlap, the more that overlap the thicker ...
2
votes
2answers
89 views

Buffer around lines with varying width in between

My questions is about creating an elongated buffer around various lines and these buffers should run right in the middle of two parallel lines. The problem is that the lines do not have an equal width ...
0
votes
1answer
25 views

Create sf points and then lines from 4 columns in a data.frame while staying in dplyr

So I have a data.frame like this: df = data.frame( x1 = runif(10, 10,11), y1 = runif(10, 47,48), y2 = runif(10, 11,12), y2 = runif(10, 48,49), name = sample(letters, 10)) And I want to ...
2
votes
1answer
31 views

Migrate attributes from old line feature to a new one where differences in geometry and common attribute exist between the two

I recently received an older Centerline modified by an external consulting firm my management team hired (which they contracted out GIS work for without consulting their own GIS staff, go figure.) As ...
-1
votes
2answers
26 views

Creating polyline that represents Mean shoreline position from set of 4+ polyline positions for that year using ArcMap

I am looking at tracking shoreline positions across a few decades and in order to remove the noise of seasonal change I want to create a mean shoreline position that represents several shorelines ...
2
votes
3answers
101 views

Get nearest neighbour on same or another layer to connect points by drawin a line in QGIS

In my project I try to find the shortest way from a point to a specific line (street). Fortunately, this is no big deal in QGIS 3.0 using "Points along lines" and "Distance to Nearest ...
1
vote
1answer
31 views

How to use SDO_LRS.OFFSET_GEOM_SEGMENT to offset a line in Oracle Spatial

I am trying to offset a line perpendicularly by a few metres (it follows a road and I'd like to move it to one side of the road). The line is an SDO_GEOMETRY object of SDO_GTYPE = 2002 (LINE/CURVE). I ...
0
votes
0answers
37 views

Attribute data from two points to one line

I have exported GPS points into QGIS and I created individual lines between the points based on date. In each points attribute table I can find the speed. Now I want to join the attribute data from 2 ...
0
votes
1answer
20 views

Changing placement of label to be underneath curved line ArcMap Maplex label manger?

I'm working on a labeling rivers in an ArcMap project. For rivers but one the standard river placement works but I need a way to place the label of one river below the river not above like the ...
2
votes
2answers
67 views

Symbolizing Line using QGIS

How to represent these lines so that the flow of direction is evident? Due to the scale of the map, it looks like a solid.
4
votes
1answer
122 views

Drawing multiple parallel lines with set distance within polygon using QGIS

I need to draw a series of parallel lines, within a polygon (See example below). Previously I have used MapInfo for this (Easy to draw a grid and delete the horisontal lines), but my workplace is ...
0
votes
0answers
29 views

Intersecting a polygon with a line

I'm having an issue intersecting a polygon with a line in QGIS. The split with lines option has worked for me so far but for some reason wont work for this polygon on the left. I need the polygon top ...
1
vote
0answers
20 views

Merging/dissolving line features that only touch one other line using ArcGIS Pro

I am using ArcGIS Pro. I have a line feature class that contains a stream network. Some of the line features have vertices where they are only connected to/ touching one other line (i.e. not where two ...
0
votes
0answers
28 views

Finding lines that are not connected to network in QGIS [duplicate]

How can I find lines that are not connected to a network and identify "gaps" in a network? See example below:
0
votes
2answers
38 views

Creating Contour Lines in QGIS 3.16 with a distance of 0,10 m

I would like to create Isohypses (Shape) ("Create contour lines") with a distance of 0,10m in a Digital Terrain Model (Shape File). While processing the command, there are some errors poping ...
1
vote
1answer
38 views

Merging highways with two strokes into single path using QGIS

In QGIS some of my vector layers (shapefiles) for roads have two paths. For highways, I assume this is for divided lanes, but I only want a single path to make it easier to style in Illustrator. How ...
0
votes
1answer
45 views

Summing values of field in polyline layer that intersects grid in QGIS [closed]

In QGIS I have created a grid. Now I want this grid to be intersected with a line shape. The line shape contains numbers in field "x". I want to know the sum of field "x" in each ...
1
vote
1answer
58 views

Connect corners of two rectangles via SVG line in Leaflet

Assuming I have two rectangles on a leaflet map with CRS.Simple, how can I use svgOverlay to draw a <line> that connect top left corner of the two rectangles? I'm having issue with spatial to ...
1
vote
0answers
32 views

QGIS buffer does not work on few features in the same multiline layer

I am trying to use QGIS buffer to do buffering around a MultiLine layer. While the command generally works well, I can not get a buffer for few features in the same layer. I wonder what causes the ...
1
vote
2answers
49 views

Line across polygon will not cut it using QGIS

I'm trying to divide up polygons in QGIS with a line I've assembled from a variety of constituent parts. The line has been successfully merged into a single object, and as far as I can tell is a ...
6
votes
3answers
165 views

Aggregating result of many to many join of points closest to line in QGIS

I have a layer of points and a second layer of lines. The goal is to know for each line, how many and which points (by "ID") are closest to that line, to then export this information for ...
1
vote
1answer
126 views

Splitting MultiLine or LineString into equal segments of particular length using GeoPandas and shapely

I don't have a license for any software. So, I want to do it in Python. How do I split the multiline or any linestring into equal segments by taking the length as input? This is the code that I am ...
1
vote
0answers
21 views

Adding point layer information (point id) after "Split Lines at Points" to the newly split line layer

I have a point layer for a group of roads and a line layer (have directions) for the roads. I need to calculate the distance between two adjacent points on the line layer hence I was thinking of ...
0
votes
0answers
96 views

Dynamically scale line weight in Folium (polyline or antpath)

I draw lines and ant path in folium and I need to scale width of line for example 12 km width line but I can't use simple weight because it has dynamic width that changed when zoom in or out loc = [[...
1
vote
0answers
31 views

How to snap to a line or extend a straight line in QGIS?

I have one object in my layer, which includes a line segment in itself as part of the overall polygon. I would like to create another line by extending this line outward, in order to cut another ...
2
votes
1answer
69 views

Labelling lines with multiple fields in QGIS

I need on the linear value such an effect as on the point. That is, that the three labels should be next to each other and decrease and grow dynamically. On the screenshots you can see that this is ...
0
votes
0answers
25 views

Buffer around lines with rules or expressions

I need to create buffers around a layer of lines that represent infrastructures and they are symbolized according to the type (roads, railway, waterway and electric cables). Is there any way to create ...
1
vote
1answer
24 views

QGIS - Geometry type Line String: Size fluctuates when zooming, - don't want it to

Here are two pictures. One zoomed out. I don't want the size of this black X to change when it's zoomed out. Any suggestions? [
1
vote
1answer
86 views

Is there a way to "sort" points in a MultiLineString such that they seem more like a continuous LineString?

Is there a way to "sort" the points of a MultiLineString such that they follow a more sequential order? Let me illustrate what I mean with a graphical example: Input Suppose I have the ...
0
votes
1answer
33 views

Create custom z values for a line in 3D view

I have a line which I load in the 3D view but want this line to not be on the ground but rather in the air at a certain height above ground.
5
votes
2answers
89 views

Expression to fetch polygon value intersecting end of line

I have a line layer and a polygon layer. I'm trying to create an expression to fetch a polygon attribute and add it to the line, based on in which polygon the line ends. array_last(overlay_intersects('...
1
vote
0answers
25 views

QGIS: Creating a point at a set distance up/downstream from another point (dams or obstructions) on a line object (river)

I have a data set where I have shapefiles for the watercourses in a drainage basin (line/linestring) and locations of dams and other obstructions along them (points). I would like to create a new ...
3
votes
1answer
52 views

Cutting polygons with MultiLine layer using QGIS

I'm trying to cut a polygon layer with a line I've created in part by copy-pasting lines from various source shapefiles and in part by hand-drawing segments to connect those. For clarity, the end goal ...
4
votes
2answers
92 views

Styling lines with centroids by two different fields in QGIS

I have a line layer showing sectors of roads that I want to style by two different fields without duplicating the layer. "Field 1" is an integer ranging from 0-25 defining road usage (...
4
votes
1answer
21 views

Realigning Fish Distribution to NHD Stream Layer

I'm working to realign Fish Habitat Distribution line layers to my NHD Flowline layer in ArcMap. Both layers are in the same projection and there is only a slight difference between the two. I've been ...

1
2 3 4 5
35