Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
4
votes
2answers
84 views

Drawing line between two points from another CSV in QGIS

I have two large CSV files, one that defines the location of each point as: point lat lon attribute 1 And another that has data on what lines exist between them point A point B attribute 2 ...
3
votes
2answers
75 views

Creating buffer (of line geometry) around polygon feature using QGIS

I have a polygon layer representing coastal cliffs and would like to create a line at a certain distance out to sea from this polygon layer (I drew a blue line on the image below to demonstrate). In ...
3
votes
3answers
68 views

Creating line layer from point layer with start and end attributes

I have a CSV file that contains attributes for a start node and end node of a pipe in a single record. This is data collected in the field, so the inspector captures the lat/long at each end of the ...
2
votes
1answer
32 views

Choosing proper Order field when using Point to Path tool in QGIS

I'm practicing creating vectors/lines in QGIS 3.16.3 by uploading .csv files from Excel with Lat/Long decimal degrees, and then using the "Points to Path" tool to connect the locations. I ...
2
votes
0answers
38 views

Minimum enclosing polygons for point clusters [duplicate]

I am trying to find an algorithm that can create minimum enclosing polygons from a set of points. The existing algorithms such as. Convex Hull, Concave Hull (both Alpha shapes and K nearest Neighbors),...
1
vote
0answers
27 views

Merging Line Segments to Eliminate Non-Junction Nodes in QGIS

I’m working with USGS NHDFlowline datasets (polylines representing US rivers and streams). I want to merge some of the line features so that nodes only occur at tributary junctions. For a generalized ...
5
votes
2answers
159 views

Cutting out part of the vertices of polygon to create line (between two points)

I have a polygon which represents a water catchment. I also have a polygon that represents a national boundary. I would like to cut out a line that represents only the part of the catchment boundary ...
0
votes
1answer
65 views

ArcPy polyline shape object to numpy array

I am learning to work with the geometry objects included in ArcPy. I'm really interested in using them since I don't want to create files at all since most of the data I'm going to use is just mere ...
2
votes
1answer
86 views

Enclosing contour lines along edges

I have contour lines that I am converting to polygons. Contours along the edge are clipped so are difficult to simply convert to polygons. So I'm trying to find an automated way to do this within QGIS....
1
vote
0answers
20 views

How to plot arrow linestyle using GeoPlot sankey?

I am plotting line directions from the US to other countries on a map. I have both geo points of originators and destinations. I use gploy.sankey, however, I am unable to add arrows at the end of the ...
0
votes
0answers
38 views

Adding linear distances along polyline segments (start/end stations) to attribute table in QGIS

This seems like a pretty simple application but I've been struggling to find the appropriate tool. I have a polyline feature (a trail network) that contains fields with attributes about each segment ...
1
vote
1answer
55 views

Cannot draw straight line polygon in QGIS 3.16

I tried to draw polygon by using add polygon. It should be a straight polyline and then become a polygon but it turns to a curve line like arc (circular line) so that I couldn't draw a polygon. It's ...
1
vote
1answer
28 views

Creating "average" line from multiple adjacent polygons

I have a set of stream channels that are currently being represented by multiple adjacent polygons rather than by actual lines. See the green polygons in the image below. The polygons are essentially ...
0
votes
0answers
18 views

Converting polylines as paths to polygons in one shapefile using ArcMap

I have acquired raw path GPS data where seabird colony boundaries were physically recorded and uploaded in the form of polylines. A lot of these polylines are a bit messy and overlapping, but there ...
2
votes
1answer
44 views

Using ArcPy to get point from a cursor for input in arcpy.PolyLine()

I am using ArcGIS Desktop 10.8 Basic. I do not have access to a Standard or Advanced license for this. I want to use a point from a search cursor as an input for the arcpy.PolyLine() method. A second ...
4
votes
3answers
116 views

Creating multiple separate vector lines from list of coordinate pairs in QGIS

I'm a QGIS user with 2 years of experience but I don't know how to do this task easily. I'm on QGIS 3.10.6 A Coruna. I know how to import CSV coordinate points and then convert them to a vector using &...
1
vote
2answers
164 views

Drawing rows in field at the same distance from each other

I have to recreate on QGIS what you can see in the picture below. I have to draw those lines (tree lines) in my field. The rows need to be at exactly 10m far from each other and oriented North-South. ...
0
votes
0answers
34 views

Clipping with Voronoi polygon using QGIS

I'm trying to clip a road network (polyline) with Voronoi polygons. The polyline don't clip but I don't know why. I try to separate my road network according to geographical points collected in the ...
2
votes
2answers
186 views

Calculating distance between points from CSV file in QGIS

I have a CSV-file with latitudes and longitudes and I should calculate the distance between the points in ascending order (distance from 1 to 2, from 2 to 3, etc.) I tried with the distance matrix but ...
3
votes
2answers
65 views

Creating line between point layer and line layer

My goal is to create a line layer that is derived from the distance between a point layer and a line layer. An example could be using a line layer representing a road and a point layer representing a ...
1
vote
1answer
79 views

Merging lines connected by vertices (avoide connecting overlapping lines)

I have a layer representing hydraulic network and I would like to merge the lines when they are connected to each other at their start/end vertex. In the picture below , I merged the lines manually by ...
0
votes
1answer
22 views

Retaining Feature class Information Using Construct Polygons Modify Feature in ArcGIS Pro

I have a polyline feature I need to turn into polygons but I don't have the license which would allow me to use the feature to polygon tool. The workaround as suggested on the Construct Polygons From ...
5
votes
0answers
39 views

Adding nodes automatically without clicking the mouse

Is there a way in QGIS (or maybe in another GIS (ArcMap, for example))) to automatically create nodes at a given interval when digitizing a raster? For example, I decided to create a Polyline object. ...
4
votes
3answers
137 views

Creating vector line in the middle of two lines (grid) in QGIS 3.16

I have a grid. I want to create a new line in the middle of two lines. For example, calculate the distance between line 1 and 2 and create a new line (the red line in the image) exactly in the middle ...
2
votes
0answers
70 views

Draw lines between points from two layers in QGIS [duplicate]

In QGIS 3.10.4 on Mac, I have two multipoint shapefiles: one is "Start" points, and the other is "To" points. Each layer has "x" and "y" coordinate columns in ...
1
vote
0answers
42 views

Creating polygons via snapping to circle line

I am trying to digitalize my research areas. Those do have a radius of 250m which I created via the buffer and polygons to lines functions. Now I try to create polygons with the different land uses. ...
0
votes
0answers
27 views

Generate buildings polygons

I'm doing a project for a city that has little database. I would like to know if it is possible to generate polygons of existing buildings and 3D of them from a Google Earth map in QGIS?
0
votes
1answer
33 views

Split Polylines and Count Number of Segments Tool in ArcGIS Pro?

I recently stumbled upon a tutorial on Esri's website that would split up a polygon or series of polylines (can't remember specifically) but I lost the link! Is anyone familiar with a tool like this? ...
4
votes
1answer
466 views

Getting Polyline (Linestring) coordinates from line layer in QGIS

I have a road network (line layer). I am trying to get list of coordinates (Lat,Long) from road network in the form of geometry LINESTRING as shown below. However, I am only getting two coordinates as ...
9
votes
3answers
319 views

Creating polygons with fixed extent based on point which represents S/W corner using QGIS

I have a point data set which contains the information of workplaces per hectare. Each point represents the South-Western corner of the surveyed hectare. Not the entire map is covered with points, ...
3
votes
2answers
162 views

Forming continuous network out of discontinuous lines in ArcMap

I have river data, which consists of lines (narrow sections of streams) and polygons (wider sections of streams). I would like to have all data in line form. First, I tried Collapse Dual Lines to ...
0
votes
0answers
24 views

Polygon to polyline conversion in ArcMap: multiple entries in attribute table for the same line segment, why?

I have converted a polygon shapefile to polyline. I am having hard time understanding the polyline's attribute table. Below is part of the table: objectid left_fid right_fid shape_leng 2 ...
6
votes
5answers
1k views

Creating all possible line segments between all points using QGIS

I want to connect all points in a point feature with every possible line segment using QGIS. For example, how a pentagon has five points with ten line segments connecting them all to form a pentagram ...
2
votes
1answer
978 views

Pandas dataframe to Shapely LineString using GroupBy & SortBy

I have a pandas dataframe that contains information to construct (poly)lines, and I want to use shapely & geopandas tools to make a SHP. In the example below, I have 3 lines differentiated by &...
8
votes
3answers
652 views

Finding longest straight line within polygon in QGIS

I'm looking for an algorithm to draw max distance straight lines contained in a polygon (without crossing polygon boundaries). How can I perform it? As you can see some polygons are very oddly shaped. ...
1
vote
1answer
79 views

Automatic Vectorisation in ArcGIS

Is there any method or tool/model for ArcGIS to draw automatic line based upon raster data values. E.g i have a DEM and i want to automatically generate a line feature passing through all those pixels ...
2
votes
0answers
70 views

Creating line geometry from latitude/longitude dictionary

I want to create LineString geometry between points, based on a latitude/longitude dictionary. My code worked in QGIS 2.x but in QGIS 3.x, my new shapefile is empty. I have replaced QgsPoint and ...
1
vote
1answer
122 views

Leaflet: IE11 freezes when showing polylines

I am a newbie in leaflet programming, and I have an error on showing polygons on IE 11. My page is very simple and works on Chrome and FireFox. I just draw a point and a polyline. Expected result is ...
1
vote
1answer
190 views

Leaflet converting MultiLineString to a Polygon

I have created a polyline encoding for the Ganges River. When I display this in Leaflet, it gives me a connecting line (meaning it is converting the Line into a polygon). How do I get rid of this red ...
0
votes
0answers
1k views

AutoCAD convert polyline to polygon

How can I convert polyline to polygon when the command MAPPOLYLINETOPOLYGON doesn't work at all? I have the map, which is based on the raster PDF. The most reasonable option is redrawing these shapes ...
1
vote
0answers
18 views

Create Polygons from Polylines

I am creating an application using Google Maps Drawing Library. In the application the user can draw a bunch of PolyLines as shown in the picture below. Please disregard the color variation of ...
0
votes
0answers
38 views

Force to Display All the Trail Names on a Map in QGIS

I have been testing ways to force all the MTB trail names to be visible on an OSM map I am styling in QGIS. I can see them as red unplaced labels and there is room on the map to display them yet they ...
13
votes
4answers
2k views

Calculating the longest distance within polygon in QGIS

I want to calculate the "diameter" of polygons in QGIS. The "diameter" defined as the distance between the two most distant points of the polygon. I couldn't find a fitting solution in the field ...
1
vote
0answers
288 views

Converting Points shapefile to 3D polylines in QGIS (without Grass)

I'm using QGIS 3.10 and am trying to come up with a way to create a shapefile of polylines with Z attribute attached, starting from a points shapefiles. Both Saga/Convert Points to Lines and QGIS/...
1
vote
0answers
58 views

Drawing Line Starting/Ending at Pre-Existing Points in QGIS

I am trying to create a editing condition with a error message. The condition is while drawing a new line feature, line should start and end at pre-existing point feature. If user try to start or end ...
-1
votes
1answer
32 views

Merge lines to polylines

I've migrated some 50,000 buildings from some crappy CAD environment into an SDE database. The problem is that the majority of the buildings is represented as lines, not polylines I.e. every wall is a ...
2
votes
1answer
155 views

How do you merge multiple polyline features into one contiguous feature in QGIS?

I created a shapefile from public GIS data, that I wanted to display in Google Maps for presentation purposes. The original .shp used small line segments for roads. Maybe a picture will make sense: ...
3
votes
1answer
150 views

Exporting shapefiles as SVG polylines

Recently I've been using QGIS to create fracture tracemaps as line shapefiles. I need to export these lines as an SVG that uses the tag polylines rather than paths. I've used the SimpleSVG plugin but ...
3
votes
1answer
541 views

How can I switch line direction from the Linux commandline?

I want to reverse the line direction for all lines in a shapefile from the Linux commandline (that is to say, using a script). Currently I'm using the SwapVectorDirection QGIS plugin which works well ...
6
votes
1answer
194 views

Using Geometry by Expression tool to make set of lines in QGIS

In QGIS 3 I am trying to make a set of lines that are 50m to 2000m, at 50 meter intervals (e.g.: line 1 is 50m, line 2 is 100m, line 3 is 150m, etc). I did it manually using the Advanced digitizing ...

1
2 3 4 5