Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
1
vote
1answer
25 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
16 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
33 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
100 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
157 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
30 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
114 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
56 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
69 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
20 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
36 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. ...
3
votes
3answers
103 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
67 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
38 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
26 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
24 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
286 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 ...
7
votes
3answers
284 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
125 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
50 views

Animating River Path using Encoded Polyline

I need to animate a River Path using "Encoded Polyline". I created two HTMLs from website examples. They both work. HTML one - static River which I made, using "Encoded Polyline" ...
0
votes
0answers
32 views

Modify spatial lines according to the minimum distance between line coordinates in R

I have an output of getContourLines() from contoureR package. The data frame output was modified and some points in the contour path were removed according to some masks, due to that: the distance ...
0
votes
0answers
23 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 ...
5
votes
5answers
959 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 ...
1
vote
1answer
575 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
516 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
66 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
66 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
94 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
112 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
825 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
33 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
199 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
57 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
30 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
107 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
124 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
533 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 ...
0
votes
1answer
214 views

CSV attribute table to polyline shapefile

I have a .csv file that is an exported attribute table that I would like to reconstruct as a polyline shapefile (for reasons beyond my control I cannot access the original shapefile from which the ....
2
votes
1answer
607 views

Bi-directional arrow in Leaflet

I'm using Leaflet to create a map of movements of a species of interest. I'm using polylineDecorator to draw arrows, but I would like to have a bi-directional arrow (example in figure below). Right ...
1
vote
1answer
872 views

Big polyline with Leaflet

I'm using Leaflet for a project where I track the path of an entity along the map in realtime. I made a buffer with the last 1000 points but it is visible only through a big zooming cause the points ...
2
votes
1answer
700 views

How to draw two or multiple lines from one location to another without overlapping the lines?

I want to draw two or many curved lines from fixed start point to another fixed end point on map. So, I started with geodesic but it draws overlapping lines. Then I tried to draw trajectory but not ...
1
vote
1answer
602 views

Inserting values with arcpy.da.InsertCursor()?

Building on Standalone Python script to split a polyline with a point layer, I don't think I am manipulating geometry objects correctly. I am splitting an original line, preserving all the ...
1
vote
0answers
37 views

Generate equal distanced sections on polygon

I generated a polygon by buffering a reference line. What I want to do now is generating multiple equal-distanced points along the reference lines, upon which to generate sections on the polygon. A ...
1
vote
0answers
149 views

Format of points in Polyline shapes in a shapefile?

I am have been asked to write some code that looks at a SHP file that contains a load of Polyline shapes that are used to represent parking areas in a British council's area. I've created a C# program ...
1
vote
0answers
3k views

Remove a Drawn Polyline from LeafLet Map

How can I simply just remove this polyline from the map? var pointA = L.latLng(From.lat, From.lng); var pointB = L.latLng(To.lat, To.lng); var pointList ...
1
vote
1answer
63 views

Assigning points to all bends on polyline in QGIS 3.6

I have a series of polylines representing water pipelines that I want to clean up. I want to split the pipeline polyline at key locations where there is a fitting such as a stop valve or hydrant. ...
1
vote
1answer
154 views

Extracting vector information from a .dwg file into a QGIS environment?

I have a few CAD files in the .dwg format and I am trying to extract the data into a QGIS environment. The CAD files have a large number of different layers that represent different types of assets eg....
1
vote
0answers
331 views

Plot overlapping buslines (polylines) with leaflet in R

Long story short: I´d like to plot bus lines on my GeoJSON data with Leaflet but need to get rid of the overlap. I´ve been skimming the forum for an answer to my question but, haven´t found any yet. ...

1
2 3 4 5