A digital map feature that represents a place or thing that has length but not area at a given scale. A polyline feature may have one or more parts.

learn more… | top users | synonyms (1)

11
votes
5answers
8k views

How to create points in a specified distance along the line in QGIS?

I want to use QGIS creating points along the line, but in specified distance. I found two GRASS tools in SEXTANTE Toolbox: v.to.points v.segment I tried v.to.points, setting the maximum distance ...
9
votes
6answers
5k views

Get a point on a polyline from end points given distance along poly line

I have start point and end point of a polyline. How can I get a point on that polyline from end points specified by the given distance. How can I get this by using arcpy provided that this script ...
6
votes
4answers
611 views

How to Unsplit/Dissolve multiple touching lines in Stream Network?

I am trying to dissolve multiple lines for stream networks into individual features. The dataset contains many stream networks so a complete dissolve of the whole dataset wont do as I would like to ...
8
votes
1answer
547 views

How can I transform polylines into points every n metres in PostGIS?

Question in pretty much the same as this, but I need to use PostGIS. I have a number of polylines, and want to trasform them into points every n metres along these lines. edit: Thanks a lot to ...
4
votes
4answers
3k views

Calculating X and Y of line start and line end using ArcPy?

I have a series of polyline shapefiles and I am trying to automate the process of calculating the X and Y coordinates of the line start and line end using Python. I have added the 4 fields (startx, ...
3
votes
4answers
835 views

Convert line shapefile to raster, value=total length of lines within cell

I have a line shapefile representing a road network. I wish to rasterize this data, with the resulting values in the raster showing the total length of the lines that fall within the raster cell. The ...
8
votes
4answers
176 views

How to create a polygon connecting the endpoints of multiple lines using python?

I'm trying to figure out how to create a polygon that connects all the endpoints of a shapefile containing a set of polyilnes with pythonscript in ArcGIS, I'm having trouble doing this as the order of ...
2
votes
1answer
612 views

Getting First and Last Point coordinates of Polyline with Field Calculator in ArcGIS Desktop?

I'm trying to get the First Point coordinates (x,y) and Final Point coordinates (x2,y2) from a polyline in ArcGIS 10 with the Field calculator. I've added 4 (double) fields like StartX,StartY,EndX ...
0
votes
1answer
345 views

Split lines with points while maintaining other dissolved lines

I am on ArcGIS 10.2. I have a line feature class of a stream network. I also have a point feature class along the main stream (line) where a catchment enters that stream. I have dissolved my whole ...
7
votes
4answers
4k views

How to close multipart polyline gaps in ArcMap

I have a multiple multipart contour lines that originally came from CAD drawing. I converted these into a polyline shapefile in ArcGIS. The issue I have is with gap in each contour lines that are ...
2
votes
1answer
333 views

Standalone Python script to split a polyline with a point layer

I have a polyline layer and a layer of points that are on top of the polylines. I do not have the ArcGis advanced license so I can't use the Split Line at Point tool. Can someone help me with a ...
0
votes
3answers
882 views

splitting a lines layer using points

I'm looking to accomplish a similar task to this thread: How to split a line at point positions? Using QGIS and the Processing and GRASS toolboxes available, I'm looking to split a vector layer ...
5
votes
1answer
108 views

Dividing polyline layer in clusters with specific requirements in ArcGIS for Desktop?

For my work in ArcGIS 10.2 for Desktop I need to divide line layers into clusters/groups. Currently I am doing this manually, but I like to automate this. The line layers can consist of 50 up to 2500 ...
2
votes
2answers
1k views

How to create a series of points along multiple polylines at once in ArcMap 10

I have a series of polylines that represent linear vegetation (shelterbelts, etc). I need to convert these to a series of points equally spaced in order to add them to a different shapefile that ...
8
votes
2answers
1k views

How can I create random points along a polyline in QGIS?

I am trying to create random points along a polyline shapefile in QGIS. Basically, like the 'random points' tool in 'research tools' but for polylines instead of polygons. I have tried converting ...
6
votes
1answer
1k views

ArcGIS Symbology Transparency

Using ArcGIS 10.1, I am interested in symbolizing a series of polylines to generate a pseudo-heatmap like one of the answers to this question. The essence of the solution idea is to symbolize each ...
5
votes
2answers
1k views

How to draw lines from two points in a CSV?

I have a CSV file where one line looks like this: Duration, user, lat-start, long-start, lat-end, long-end 298, Casual,38.9101,-77.0444,38.91554,-77.03818 Each row in the CSV has two points and I ...
4
votes
3answers
891 views

Create voronoi diagram from line segments

I'm looking for a way to create a voronoi diagram based on line segments instead of points. See the example below (taken from this presentation). Ideally I'd like something I can script from Python, ...
5
votes
1answer
240 views

Shapefile and DEM: check rivers behaviour

I'm working with shapefiles representing rivers (rivers.shp), and DEM for the terrain elevation (terrain.tif). Basically, I want to check that my rivers (stored as polylines in my shapefile) behave ...
1
vote
1answer
39 views

Decompose the polygon with polyline inside

Here is my question: I have a polygon shapefile represent the whole country area. A polyline shapefile(with a bunch of line boundaries) represent the province boundaries So, how to decompose the ...
1
vote
1answer
96 views

How to compare polylines attribute from the same GRID cell in ArcGIS 10?

I need some help because I do not know how to model this issue: I have two polyline shapefiles. They have an attribute that I need to be compared. These are roads from different sources. So, I have ...
6
votes
2answers
829 views

How to calculate tortuosity of a coastline?

I would like to calculate the tortuosity (or fractal dimension) of a coastline within a 1km buffer surrounding a point on that coastline. I have hundreds of points and therefore need a tool or scripts ...
5
votes
2answers
122 views

Polygon points to Polyline

I am trying to create a polyline from the points that I query from a polygon. I have a polygon, and I am getting its edges, casting them to segments, and then use QueryNormal to get the mid point ...
3
votes
1answer
138 views

Union on lines using ArcPy?

Essentially I want to union multiple (20) congruent line shapefiles, where overlapping line segments in the input shapefiles are combined into a single resulting output shapefile. But I can't union ...
3
votes
2answers
1k views

Calculating the distance between points and multiple lines?

I have a point shapefile of about 100 points and a polyline shapefile of about 200 lines and I am interested in finding the distance between every point and each individual polyline. My polyline ...
2
votes
1answer
110 views

How to find the coordinates of the intersection points between two SpatialLines objects (or SpatialLines and SpatialPolygon edges)

I am try to find the co-ordinates of points where SpatialLines cross the edge of a SpatialPolygon. I have searched and searched, but can only find results such as over which tell me which lines cross ...
2
votes
2answers
243 views

A method for noise reduction in GPS derived cycling routes

I'm pre-processing GPS data to assess possible methods for a planned research. The aim of the research is to use crowd-sourced cycling routes data to plan a cycling paths in an Israeli city. ...
2
votes
0answers
43 views

How to measure similarity of approximately congruent polylines

My initial question was posted here. The answer of whuber provides a nice solution for the case when polylines are congruent. However, the problem is that my polylines are approximately congruent ...
2
votes
1answer
123 views

How to create Multipart Line in ArcPy?

I am developing some script in where I want to create custom multi part line geometry. For example: I have one array of points a,b,c and second array of points e,d,f. I want to create one ...
2
votes
1answer
2k views

ArcGis 10 interpolate Z between polyline's vertices (IZ.InterpolateZsBetween ?)

Here's what's happening: I want to create a 3D line using only the height of some GSP points. I need to be able to extrapolate the vertice's height between where it's known to the one where it's ...
2
votes
2answers
1k views

How to edit (particularly flip direction of) polyline obtained through UpdateCursor?

I want to flip the direction of a polyline feature obtained as a result of an Update query; e.g. lines= arcpy.UpdateCursor(myFeatureClass,myQuery) dsc= arcpy.Describe(myFeatureClass) try: for ln ...
2
votes
1answer
338 views

Polyline ZM: automatic vertex height errors correction

Paolo I've got many rivers (polylines ZM) with a lot of height errors in Polylines 'vertices. Vertices' Z errors are not all equal in height (i.e. they are not all at zero height). I must create a TIN ...
1
vote
2answers
39 views

How to combine two polyline shapefile together

Here is my question Two shapefile: * A: represent the outer boundary of the city area * B: represent the inner boundaries of the city divisions. I want to * Combine these two shapefile * ...
1
vote
1answer
52 views

Extracting the closest Point to a Line within a Polygon using ArcGIS for Desktop

I have the following shapefiles: Polyline: Detailing a road network. Polygon: Containing approx. 2000 polygons enclosing sections of that road network. Point: Containing numerous (OS Addressbase) ...
1
vote
2answers
144 views

Interpolate dxf polyline vertex elevation from DTM?

I am working on several autocad polylines (with several vertices...) that have the exact N,E coords but now I would like to add the elevation data for every polyline's vertices from a dtm. I thought ...
1
vote
1answer
289 views

Creating Polyline from GML using PyShp?

I have a problem in creating some polylines in one Shapefile with PyShp 1.2. The plan is to read a GML file containing LineStrings and create a shapefile. The theory is clear, but the realworld is ...
1
vote
0answers
29 views

Uploading Polyline feature in ArcGIS Online [duplicate]

I'm seeing some snapping/topological errors in ArcGIS Online (trial version) when I upload my well snapped polyline layer. Please see the screen shot below. What may be the cause of this?
1
vote
1answer
867 views

Polymaps + D3+ Polyline with different width and color

I am actually working on a project which involves polymaps and D3. I was wondering if you could help me on this. I have 4 locations and I would like to draw a polyline from one location to other 3 ...
0
votes
0answers
46 views

How to convert an XML to Shapefile polyline

I want convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 ...
0
votes
2answers
192 views

Distance between points along polyline ArcGIS for Desktop?

I'm using ArcGIS 10.3 (Desktop), and I'm trying to measure the distance between points following a path determined by a set of polylines. Hand measurement is not a viable option-- there are ~7500 ...
0
votes
2answers
80 views

How can i create points per 10 and 100 meters for several lines with ArcPy?

I have 10 lines and i want to generate points per 10 and 100 meters for each one of them. In ArcGis there is the tool construct points(COGO) but is not scriptable. Is there any suggestion? Also i ...
0
votes
2answers
752 views

Convert polyline to polygon Using ArcObjects

I have a polyline and I want to convert it to a single polygon feature,I used this code but I get error while I can convert the same shape file using feature to polygon on ArcGIS Where is my mistake? ...