Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
0
votes
1answer
17 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
65 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
274 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
69 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
32 views

Encoded Polyline - Animation

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
24 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
22 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
781 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
135 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 &...
1
vote
1answer
35 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
53 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
53 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
29 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
171 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
17 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
25 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 ...
0
votes
0answers
46 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
55 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 ...
0
votes
1answer
19 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
53 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
81 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
530 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
0answers
29 views

Creating polyline feature on ArcGIS Pro basemap

I am trying to create a polyline in the Kalamazoo River on ArcGIS Pro. I have opened the software and selected the 'Topographic' basemap already in ArcGIS. I have zoomed to the Kalamazoo River region. ...
0
votes
1answer
69 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
346 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
460 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
188 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
437 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
98 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
2k 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
36 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
86 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
245 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
vote
3answers
219 views

Merging different types (e.g., polygon with polyline) of shapefiles? [duplicate]

I want to create a watershed shapefile with areas, streams and pour points in it. Is there a way to merge the areas (polygons) with streams (polylines) and pourpoints (points)?
1
vote
0answers
131 views

Creating curved annotations for polygons and lines in QGIS

In general, my problem is that: I can`t display annotations using the option "Using the perimeter (curved)" in QGIS. I tried to solve it in two ways: At first was an attempt to use just a simple ...
0
votes
0answers
23 views

Merging elevation values of multiple point shapefile

In ArcMap I have thousands of points with elevation values from an aviation route. This route is stored in a multiple point shapefile. I made a polyline shapefile based on the route x, y locations. Is ...
1
vote
1answer
699 views

Create Polyline from Coordinates Array in OL OpenLayers 5.3.2

I'm using OpenLayers 5.3.2, and would like to create my own marker animation using almost exactly the example at https://openlayers.org/en/latest/examples/feature-move-animation.html?q=marker All I'd ...
2
votes
1answer
277 views

Split a polylines according to a specific point in R

I have 2 distinct spatial objects: on one hand I have a SpatialLinesDataFrame on the other hand I have a SpatialPointsDataFrame Considering one line and one point that intersects that line, I ...
2
votes
0answers
246 views

Drawing longest polyline within polygon? [closed]

I am looking for a GIS tool/script (preference on QGIS but I can also use ArcGIS/Matlab) that allows creating a polyline layer from a polygon layer where a polyline is drawn for each polygon. The ...
1
vote
1answer
74 views

Polylines setLatLngs

I am trying to give a polyline a new set of co ordinates from a server. When trying to use the .setLatLngs method to redraw the new line with updated co ordinates i get the error "Uncaught TypeError: ...
0
votes
1answer
20 views

Empty ShapeLength when running Insert Cursor for Polyline

I'm looking to create a new feature class using only selected data from a source feature class. I can get this to work but the ShapeLength field is 0 when I run this script and therefore the feature ...
1
vote
2answers
794 views

Get the Z values of existing lineStringZ with PyQGIS?

I can get the values of 3D QgsPoints with mypoint.get().z() When I iterate through a layer to get a specific polyline and then iterate through the polyline to get the start and end points- start_point ...
6
votes
1answer
615 views

Creating perpendicular line transects in PostGIS

I have a river network (Line with arrow as shown in image below) and I need to create perpendicular lines to the river at every 15 meters as you walk along it (see image below). Is there a function in ...
1
vote
0answers
32 views

Checking snapping connection of polylines? [closed]

I would like to find a method using ArcMap that could check if all polyline are snapping and connected. I tried to create road network, but I can see this information. I have multiple polyline, and ...
0
votes
0answers
64 views

ArcGIS *.gen files: make polyline from points

I have *.gen files that have have the point coordinates (in known UTM datum) for multiple lines. Is there a one-click tool to get these into a polyline SHP? (I was thinking Generate might do it, but I ...
2
votes
2answers
607 views

Extend lines to nearest feature

I am attempting to extend a series of polyline features to an adjacent polyline feature. I need the lines to intersect, but not extend beyond the 'first hit' of the adjacent polyline feature and ...
2
votes
1answer
946 views

Create polyline layer from csv-file (id, lat, long, time) in QGIS

Some units are moving and regularly registering it location. Each of these register events corresponds to row in a csv-file. This row contains fields: id (unit identifier), lat, long (event location)...
1
vote
1answer
222 views

Euclidean distance and connecting lines between polygons using ArcMap?

I have a large set of polygons. I want to (1) calculate pairwise distances between polygons (so one polygon should be connected to several others). I can do this using the generate table in ArcMap. ...
0
votes
0answers
84 views

Attributing height data from points to Polylines for Tin creation?

I have to make a TIN of water surface height from about 170 points which have been collected from RTK along a river. The points however are few and far between and rarely on the opposite banks to ...

1
2 3 4 5