Questions tagged [polyline-creation]

Used for questions about making polyline features

1
vote
0answers
55 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
11 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
25 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
42 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 ...
0
votes
0answers
79 views

How to save marker and polyline in database?

I want to store marker and polyline in the database. In this script, I have 3 functions, that is to draw a polyline, marker and the point of destination. Can anyone fix my script below? var map; var ...
0
votes
0answers
38 views

From raster to polyline in QGIS

I'm trying to extrat ridges from ALOS images on qgis. I would like to have polylines so I can use the plugin AutomaTracks from Sebastien Peillet. I did inversed the MNT using raster calculator then ...
1
vote
0answers
101 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
20 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
0answers
34 views

Geospark - Creating LineStringRDD from coordinates extracted from the sides of each polygon in a PolygonRDD

I am using geospark 1.1.3 with scala and I am trying to split into lines a polygon shapefile dataset which contains 189 polygons. I am expecting to get each side of each polygon as a LineString, ...
0
votes
1answer
15 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
1answer
141 views

How to 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 ...
1
vote
0answers
24 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
29 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
175 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
366 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
93 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
55 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 ...
5
votes
1answer
1k views

Split polyline by point using 'sf' package in R

I'm learning the sf package in R and would like to locate about 450 sites along the nearest reaches of a river network and to obtain the upstream and downstream distances along the reach where the ...
0
votes
0answers
99 views

DotSpatial M and Z values not displaying in ArcGIS Desktop?

I'm making a polyline with M and Z values using DotSpatial. The M an Z values are displayed when the shapefile is dropped in QGIS, but in ArcGIS, though the attribute table indicates that its a ...
0
votes
1answer
67 views

Counting points within 100km Buffer of country borders using ArcGIS Desktop?

I have a dataset composed of points and projected on a shapefile describing European countries. My goal is to create a new shapefile, with zones specified 100 kilometers around the borders in-between ...
0
votes
1answer
58 views

Determining the Longest Segment of a Non-Continuous Polyline

I have a polyline that is non-continuous (please see picture, polyline is in red). I am looking to separate the polyline based on this geographic discontinuity so that I can calculate the length of ...
1
vote
1answer
131 views

How to Make Lines Automatically Adjust same with Another Line (Route or Road)

I have 1000 lines and 1 route or road line. I want to automatically my lines adjust to route or road without erasing all data in the attribute table. My expected results, 900 lines will same with the ...
0
votes
1answer
26 views

Creating PolylineZM from Points using ArcGIS Desktop?

I have a point feature class that is essentially hundreds of vertices along a single line. The Attribute Table contains MD (Measured Depth) values, XY fields of each point feature, and a ID field for ...
0
votes
1answer
255 views

Extracting Transit Layer polylines (e.g. subway lines) and using them in Google My Maps?

I am trying to create a Google My Map of Tokyo Metro and Toei Subway lines. So far, I've been painstakingly drawing the subway lines manually, only using a mouse. Here's what I've got so far (WIP, of ...
1
vote
1answer
109 views

Unsplitting lines with ArcGIS tool 'Unsplit Lines'

I have tried to use the ArcGIS tool 'Unsplit lines' to get one polyline from multiple touching lines. Somehow, it does not work with some features. Have a look at the pic nr 1. In the pic you see one ...
1
vote
1answer
32 views

cutting waterlines at the edge of polygons

Using ArcGIS 10.3, I would like to cut the river lines at the edge of water body polygons bordering the region. Using the intersect tool and split line to points tool resulted with the disappearance ...
-5
votes
1answer
2k views

I ran the code and got this error TypeError: 'float' object has no attribute '__getitem__' [closed]

import arcpy, os arcpy.env.overwriteOutput = True def polylineArea(x, y): # this is your function definition count=len(xlist) area=0 j=count-1 for i in range (0, count): area+=((x[...
3
votes
1answer
2k 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
28 views

Forcing “snap-to-road” when reshaping a line via basemap reference in ArcGIS desktop?

Sometimes, when I use "reshape a feature" in concert with a basemap, I'll find that the resultant line doesn't automatically snap to roads if a pair of verticies are far apart: But at the same time, ...
1
vote
1answer
42 views

Extending polylines via basemap reference in ArcGIS Desktop?

I have a polyline feature of a pre-existing bus route (let's call it "Route A"). I want to extend the polyline of Route A, using a basemap as reference. I don't want to totally freehand it, my first ...
3
votes
0answers
82 views

Googlesheets CSV auto-update polylines to ArcGIS Online Maps?

I have been able to establish a ArcGIS Online map that auto-updates from a CSV spreadsheet within Google Sheets. The data that is auto-updating is point data with associated tabular data that will ...
3
votes
1answer
549 views

Merging overlapping lines into one line. QGIS

I have a shapefile with multiple perfectly overlapping lines. Each line represents traffic at a certain point in time. I would like my output to have only one line but with the attributes from all ...
2
votes
0answers
44 views

Finding the optimal boundary polyline in QGIS

I am looking to find an optimal boundary line between two geographically separated sets of points (a vector layer with S and N points representing two genetic lineages within a species). I would like ...
6
votes
3answers
551 views

Creating duplicate line set distance away from a polyline in QGIS?

I'm new to QGIS and not really sure what I'm doing; I have a polyline of the UK coastline and I want to add another line 30 km offshore. Is this possible?
-1
votes
1answer
33 views

Looking for FOSS tool that converts polygons into polylines? [closed]

I'm trying to convert a polygon layer into a polyline layer using a free open source tool. I have been able to perform this task in ArcGIS but can't find any free tools that will do the same thing. ...
1
vote
1answer
45 views

arcpy.polyline doesn't work properly

I'm sort of newbie to arcpy and trying to create a polyline based on the some predefined points which are put within "network_ND_Junctions1.shp". The code I've written seems like this: import arcpy ...
3
votes
1answer
199 views

Creating edge lines between specific polygons

I have a polygon layer containing habitat types. It looks something like this: where dark green is forest, yellow are open lands and the other signatures different other habitat types. In order to ...
9
votes
3answers
950 views

Drawing boundary of set of points using QGIS?

I have a set of points which I would like to change into a polygon. I tried concave hull but do not get the intended polygon as you can see below, And when I use Denaulay Triangulation I need to ...
7
votes
2answers
383 views

Deleting collinear vertex / vertices using ArcGIS Desktop?

I’m looking for an ArcGIS tool or script that will delete all the collinear vertices in line features. I tried the Simplify Line tool and Generalize in the Advanced Toolbar. The tools sort of work, ...
1
vote
0answers
38 views

2D Curve to poly-lines transformation through triangulation?

I'd like to understand whether it is possible to change the curve in the picture to a sets of poly-lines through triangulation? and is it possible in QGIS? Otherwise, are there other methods to ...
1
vote
1answer
872 views

Drawing perpendicular line between point and line layer using ArcMap?

I have downspout points that are currently emptying at the foundation. We need to redirect those into the roadway to be collected by the storm sewer. However we need to check that there is enough ...
1
vote
0answers
148 views

QGIS Start and endpoint marker line and polyline

I have a DWG file with lines and polylines. I would like to know how to make a point at each side of the line. Like a startpoint and a endpoint. I do not want any points in the middle just start and ...
1
vote
2answers
502 views

How to convert multipoint attribute to polyline in QGIS?

I have a multipoint layer in QGIS with 860 points. Each points has some attributes value from a join, and I need to use one of those attributes (a column) to draw polylines. I need one polylines for ...
0
votes
1answer
366 views

Create polyline using MapBasic (unknown number of nodes)

I'm trying to create pline using MapBasic. My idea was to create simple tool with dialog box containing couple of EditBox, PopupMenu's to retrieve pline attributes from user. So far I have only making ...
2
votes
1answer
293 views

Converting lines to polylines with PostGIS/QGIS?

I have a PostGIS table containing linestrings. Some of these are parts of larger logical constructs (tracks, roads or boundaries). I have been going though the data using snapping tools to make sure ...
6
votes
2answers
912 views

Converting polygon to lines without duplicate edges?

This seems like it should be easy, but I'm not figuring it out: How do I convert a polygon layer into a line layer representing the polygon edges, where each edge belongs only to a single feature (or ...
0
votes
1answer
123 views

Routing - How to deal with polyline with fork?

I currently work on a routing system for kayak tours. In ArcGIS I have a polyline shapefile with each polyline representing a route with a description. The problem I experience is with routes that ...
2
votes
2answers
238 views

Merging two linestrings gives Geometry type error in MMQGIS?

I am trying to merge two linestrings/Lines/Polylines (not sure actually how I can see the difference whether my layer is a Linestring/Line or Polyline and googling didn't really brought clarification)....
4
votes
1answer
426 views

Erase tool for polylines with ArcGIS Standard License

I have a very long polyline representing a pipeline. I also have another feature class with smaller polylines which are coincident with the pipeline. I am trying to cut the pipeline with the smaller ...
1
vote
2answers
167 views

Replace Polyline Geometry on Zero-Length Polyline

I have an app that occasionally generates zero length polylines with identical start and end vertices. I need to modify the geometry for these features so that the end vertex is slightly different ...