Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
0
votes
1answer
503 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
233 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
47 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 ...
-4
votes
1answer
3k 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[...
5
votes
3answers
5k 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
36 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
49 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
135 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
1k 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
46 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
994 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
35 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
50 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
398 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 ...
10
votes
3answers
2k 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
733 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
42 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
1k 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
165 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
1k 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
475 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
546 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 ...
7
votes
2answers
1k 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
135 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
373 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
609 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
217 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 ...
0
votes
2answers
1k views

Define pen width of a Line layer in PyQGIS

I have created a line shapefile layer (memory layer) created in Python Console of QGIS. Now I want to define the thickness of the line features that are being created. I am aware of the method by ...
0
votes
1answer
276 views

Create single KML from multiple encoded polylines

I have a number of encoded polylines stored in separate database records. I can successfully retrieve each one, decode it and create a single KML file. However, I need to create a KML file that ...
0
votes
1answer
8k views

Remove the last plotted line from Google Map _ Android?

I created a class that select latitudes and longitude from sqlite then mark on map then draw polyLine. Problem : Every time I select my records 100 to 100, when I saw first 100 then I clear map then ...
0
votes
1answer
470 views

ESRI ArcGIS error: Zero length polylines not allowed [closed]

While writing a simple ICommand in ArcMap 10.2.1 using C# that lets you select two different point features on the map and it creates a feature in a polyline feature class with those two points as its ...
1
vote
1answer
165 views

Raster to polyline with only one feature for each unique value

When I convert my raster layer to a polyline layer, the cells that are located very close to each other (even with different values) are connected to each other which is unwanted and very hard to get ...
3
votes
2answers
3k views

What is the difference between Polygon To Line and Feature To Line in ArcGIS?

What is the difference between Polygon To Line and Feature To Line in ArcGIS? Is feature to line a more abstract way such that it takes in not only polygon but like dots and other feature classes also?...
-1
votes
1answer
2k views

Plotting points into segments on roads exactly with ArcMap?

I have a set of data (see the table below) which has an origin lat and long and destination lat and long with speed. I just want to plot lines between the origin and destination, and color code them ...
4
votes
3answers
375 views

How can I be sure that line segments are joined at the same node?

I have received a single ArcGIS feature class which contains polyline segments. The segments appear to be joined together at their endpoints, but upon closer inspection they are not perfectly docked ...
0
votes
3answers
664 views

Add nodes to polyline at set intervals

I have a shapefile polyline which I would like to add nodes to at set intervals along its length. Is this possible in ArcGIS 10.2 and how would I go about it?
1
vote
1answer
800 views

Creating lines that connect the centroids of adjacent polygons to one another

I have about 10 polygons, and I have added their centroids to the map. I want to create lines connecting the centroids of each adjacent polygon. If polygon 1 borders polygon 2 and 3, I would like a ...
1
vote
1answer
1k views

How do I draw North-South, East-West, Northeast-Southwest, and Northwest-Southeast lines?

Is there a way to draw four line segments through a point that extend in 8 directions based on my coordinate system?
0
votes
2answers
1k views

Convert x y coordinates to polyline shapefile

I am trying to process output from a model that simulates the movement of particles in groundwater. The program outputs the particle ID number, the x and y coordinates, and the time at which the ...
1
vote
0answers
386 views

QGIS - Polygon to Lines Tool Incredibly Slow

I am trying to convert a few polygons to polylines so I can save them as a .GPX file. I'm using QGIS 2.8.1 (Wein) on the Mac. It seems to be hanging. I only have a few small polygons (see screenshot)...
3
votes
3answers
2k views

How to convert points to lines?

I want to convert these points to lines, however they are not sorted sequentially along a line (by ID or FID), i.e. the converted lines zig-zag across the obvious trail of points. How can I join ...
0
votes
2answers
2k views

Drawing BTS sectors in GSM?

I'm very new to Mapbasic. I tried to make a short code to draw some BTS in GSM but I can't do thant (over 1 month). I have a table with these column: Sitename, Lon, Lat, Azi, Beam, Dist. Can ...
2
votes
1answer
463 views

Incorrect vectorization from a raster in ArcGis (ArcScan)

I am trying to make a vectorization to get lines from a raster image using arcscan. I saw some users making it but using easier images with more visible lines but is not working with my image. could ...
1
vote
1answer
509 views

Removing disconnected cells in a stream network raster using ArcGIS

I've got a predicted stream network raster with cells values 0 (not a stream) and 1 (is a stream). My end goal is to create a network of connected polylines, but unfortunately there are some areas ...
3
votes
0answers
2k views

Is there simple way to calculate radius of curvature along polyline?

I am digitizing a sinuous linear alignment (in this case a water pipe) and would like to get the radius of curvature of the various bends along the alignment. The main reason is that the minimum ...
0
votes
1answer
82 views

Failing to get WKT to reference for a multi-line

I have a shape that I've exported to CSV and GeoJSON to be loaded into CartoDB. Unfortunately, the GeoJSON doesn't work so I am trying to upload the CSV but don't quite understand how to get the array ...
1
vote
1answer
2k views

Creating polyline which is average of multiple other polylines?

I am trying to use ArcGIS for Desktop to create an "average" polyline from several lines. For example if you have multiple hurricane paths and would like to plot the average position of all of the ...
0
votes
1answer
115 views

Georeferencing system of rivers using XY To Line tool? [duplicate]

I have a State Water Hydro layer from our GIS county office that does not have georeferenced attributes (It is sitting on top of a State Plane county basemap). Looking at the XY to Line tool I need ...
3
votes
2answers
6k views

Creating new lines along specifically selected existing lines using QGIS?

I have tried to find a solution for this everywhere, with no result... My problem is that I want to be able to manually draw a line that automatically snaps to a line (creating an exact copy of the ...
-1
votes
1answer
2k views

How to create coastline in ArcGIS 10.2

I want to generate the shortest distance to coastlines from interested points worldwide. My question is given existing world map polygon file, what the standard way to create coastlines is.