Tagged Questions

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)

1
vote
1answer
25 views

Add custom variables to leaflet polyline

I'm drawing a route on a map with leaflet. I'd like to click on any point in the line and display the speed and time at that point in a popup ($speed[$i]). latlngs = [<?php for ...
0
votes
0answers
2 views

OTP encoded polyline same as Google encoded polyline?

I have been researching and trying to make sense. My question: are the encoded polylines that Google gives in its directions api same as the leg geometry encoded polylines of Open Trip Planner?
2
votes
1answer
12 views

Intersection between polylines feature to polygon in QGIS

I would like to transform a line shapefile into polygons. However, the tool Vector>Geometry>Line to Polygon doesn'to work to me. What I would like to do is using the intersection between lines and ...
0
votes
1answer
44 views

How to link a shapefile with points to a shapefile with lines?

I have a shapefile with points (nodes) and a shapefile with lines (pipeline) which I have extracted from a water distribution network. I have been able to transform the points into the right ...
1
vote
0answers
30 views

River flow downhill

I have polylines (rivers) with assigned elevations. I need to ensure they are flowing downstream and indicate which vertices are incorrect. I do not have 3D analyst, spatial analyst, or network ...
1
vote
0answers
25 views

QGIS field calculator expression: selecting min/max values within field groups

I am new to using QGIS (previously used Arc) and trying to get my head round the expressions and Python. I have series of polylines representing routes and require the linear distance from the ...
0
votes
1answer
19 views

Dissolving and returning values from primary lines

Im building a model and I need to dissolve line, that I marked in picture, to a line with field(NUMBER_OF_LINES) value of 2. Thsi filed represents how many lines were constructed to one line after ...
2
votes
1answer
31 views

After Polyline to Raster conversion empty attribute table in ArcMap10.2

I have a line feature class (displaying different types of roads) and want to convert this into a raster. For this I used the Polyline to Raster conversion tool, using "type" in the Value field in ...
1
vote
2answers
94 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 ...
2
votes
2answers
61 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 ...
2
votes
1answer
50 views

How to find length of a discontinued line feature

I wanted to find the length of features in a road layer. So I go through each feature in the layer and used, line = feature.geometry().asPolyline() to find the points which particular feature is ...
1
vote
2answers
33 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 ...
2
votes
1answer
49 views

How to create the same number of points along multiple polylines?

Input: Polyline Shapefile (all lines are different lengths) and a specified number of points that will be placed on the line (will be same number of points for all lines) Desired Output: Point ...
0
votes
1answer
53 views

How to Calculate the average value near a point

I am new to ArcGIS ArcMap. I want to calculate the average value of one point ( layer flowline ). This could be done using the value of the point and the values of the four neighbor points ( raster ), ...
15
votes
3answers
306 views

Zigzag Line Symbol in QGIS

I'm looking for a zigzag line symbol in QGIS. Is there perhaps an easy way to do this that I'm missing? I have tried creating a marker line using a simple triangle marker (^) and adjusting the size of ...
3
votes
1answer
47 views

How can I find small distance between polylines?

I`m trying to find lines which have small distance between them and I am using ArcGIS 10 for this. I had tried to make points at the both ends of the lines and to detect the distance between points ...
5
votes
1answer
131 views

What units are shape_length in?

When generating polylines from a series of points, I used "Points to Line" tool. From this, Arc generates a polyline feature class, which includes the attribute shape_length. What units are these ...
3
votes
1answer
64 views

QGIS - Calculate distance between a point layer to n nearest polylines

In QGIS I am trying to calculate the distance from a point layer to a polyline layer for the n nearest polylines. I have figured out how to calculate this distance to the centroid of the polylines ...
2
votes
0answers
31 views

Find Average Elevation - ArcGIS Desktop

I am working with 2 shapefiles. One contains the boundaries of a city, the other contains polylines representing the topographic features of the area. Essentially, the polylines make a topographic ...
1
vote
0answers
24 views

Splitting multiple noncontiguous polylines into multiple files

I have multiple polyline shapefiles that are non-contiguous, that is to say that each shapefile contains polylines that have breaks in them. I am looking to split each of these polyline segments into ...
1
vote
0answers
38 views

ArcGIS ArcMap average values in a single flowline

I am newbie in Arcmap. I need to get the average (Velocity) values of 1000 points on my long flowline. I tried to make parallel lines on each gridpoint using the "copy Parallel" function. But there ...
1
vote
0answers
30 views

Wrong Display in Line Symbol and Gradient Color

I create a line symbol with specific gradient color and below control template: <ControlTemplate> <Path x:Name='Element' StrokeThickness='10' UseLayoutRounding='False' ...
2
votes
1answer
37 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 ...
1
vote
1answer
46 views

Extracting raster values with polylines in QGIS

I have a polyline shapefile that represent a road an a raster grid with slope values. Is it possible to interpolate the shape file and the grid to have the average slope of the road? I know that I can ...
1
vote
2answers
52 views

Turning Polyline with Multiple Segments into One Single Line

Using QGIS Valmiera (MapInfo and other software is also available) Is there a way to convert a polyline with multiple segments into a single line? I.e. by taking the first point and the last point of ...
0
votes
1answer
20 views

How to convert 3d profiles to points in ArcGIS 10.1

I have created some 3d profiles using the Interpolate Line button (in ArcGIS 10.1). Which looks like: I would like to convert these lines into points and in order to do that I am under the ...
1
vote
2answers
69 views

Export long lat from polyline as csv file in QGIS

I want to draw a line in QGIS and then, export the long-lat of each point into a Comma Separated Value (csv) file. I tried doing this by creating a new shapefile layer and then using the Add Feature ...
1
vote
1answer
33 views

Point input for polyline not acceptable?

Input QgsPoint(s) are returning an error in a Polyline creation routine. Any clues?! processing.runandload("qgis:polygoncentroids", Base, "memory:CenterNode") ...
1
vote
1answer
147 views

How do I create measured line segments along existing polylines from a starting point?

I realize my problem may be solved using Linear Referencing, and if that's the case I'm looking for help figuring out the workflow involved there. I'm working in ArcGIS 10.2 Desktop Basic, and this ...
3
votes
1answer
82 views

Cut polyline in Qgis 2.4

I want to shorten a feature (a polyline representing a road) in QGIS 2.4 In QGIS 2.0 there was "Split Features" tool in the "Advanced Digitizing" toolbar. Here the icon: I'm not able to do this ...
0
votes
0answers
33 views

Splitting existing polygons with existing polylines(roads) with GME tool “split polygon by lines”

After reading through many of these articles i believe the GME tool "split polygon by lines" should be useful to my problem. I have a polygon that needs to be split by a road layer. When i run this ...
0
votes
1answer
35 views

Drawing outline of points in ArcGIS for Desktop [closed]

Simple question, can Arc take a shapefile of points, calculate which ones are at the "edges" and draw a polygon or polyline around it. I know there are masks and bounding geometry and all of that, but ...
0
votes
0answers
56 views

Is it possible to georeference a shapefile? [duplicate]

I need to align a polyline shapefile with a pre-existing one. This new one has a couple of edits, but for some reason shows up in a different location (I believe the person who made this edit did so ...
3
votes
2answers
52 views

How to automate drawing a polyline from 2 intersecting datasets based on proximity?

I've been stuck on a situation recently where my company's data has to be integrated with another. Basically there are two point shapefiles comprising of >50000 points, and as shown in the image ...
1
vote
1answer
32 views

Retrieving routedescription geometry as GeoJSON

I'm building a small web-map and would wich to display a polyline representing a specific route via roads. With leafletjs it is easy to display the geometry on/over the map. So that's not the problem. ...
1
vote
1answer
50 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 ...
3
votes
3answers
65 views

Take parallel lines and automatically move them apart

Rather than collapsing parallel lines, I am looking for a process that would separate them. There are a number of lines on the network that run too close together to distinguish as separate ...
3
votes
1answer
65 views

QGIS custom labeling by clicking on polyline (and polygon)

QGIS has now few really good options for custom labels but I can't find a way how to easily manage labels along polylines. Is there a tool which helps me place labels by clicking on a polyline so the ...
0
votes
0answers
38 views

Reading Points as PolyLines

I'm currently developing an Android app where I need to show some information on a map, which is stored as Shapefiles (.shp + .shx + .dbf). I noticed that when the shapefile is opened in QGis, a nice ...
3
votes
2answers
57 views

QGIS Line End Caps

When styling a road network where all sections of the network between junctions are separate paths, I style the ends of the lines to rounded to remove any gaps that might appear where the joins are at ...
0
votes
2answers
320 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? ...
0
votes
2answers
82 views

Adding end nodes to a line

I'm hoping someone can help me here. I have a line feature and what I am trying to achieve is to determine is in which direction the line ends. I understand that this could be achieved with ...
2
votes
3answers
161 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, ...
3
votes
1answer
139 views

Calculating the fractal dimension of a line segment

I have a shp file with hundreds of features that represent clipped segments of coastline. Each segment is made up of many vertices (dozens, perhaps even hundreds). (FYI, the segments were created by ...
0
votes
1answer
118 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
0
votes
1answer
47 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 ...
0
votes
1answer
60 views

Simplify polyline with the intersection point kept

I have a some line and polygon features which consist of too many points, so I tried to simplify them. I found the "Ramer–Douglas–Peucker algorithm". I think it will work well for a single feature ...
0
votes
1answer
37 views

Get attributes from intersecting lines to label generated intersection point

I have an urban road network (as a feature class), consisting of only polylines. I have to make a database of all the intersections between the streets. The problem is that as I generate those ...
1
vote
2answers
109 views

GIS Survey Line Plans

Has anyone ever heard of any tools in either Arcmap, QGIS, Mapwindow GIS etc, that could create a line plan (Survey Lines) across a polygon (Survey Area)? A form of input such as distance between ...
0
votes
1answer
198 views

Get points along a polyline at defined distance c#

I need to store into my array the points along the polyline at each defined distance. Example: The Polyline length is 50m, I set the interval to 5m. I have to store in the array all the points along ...