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
2answers
146 views

get lat/lon values of every start and end point of polyline

I have a polyline shapefile with 166 different line features. How would one populate the attribute table with x and y values of the start and end points of each line?
1
vote
1answer
33 views

How do I know which way line features are oriented?

I'm working on QGIS on a street shp file which has Left From, Left To, Right From, Right To fields fields, building a geocoder. I need to know which way these features are oriented, which I think is ...
2
votes
1answer
31 views

How to make a polyline with two-sided arrows show two colors

I am very new to ArcGis development and so bear with me if I asked a silly question. I am using ArcGis 10.2 on C#. I have two features (A and B) on the map. I need to place two arrowed lines - one ...
1
vote
0answers
22 views

Combining line vector shapefiles with different attributes

I'm using ArcGIS 10.3 for desktop. I have two shapefiles, both with polyline vector data for roads in the same area. This area is quite large, approximately 7,500 km², so there are a lot of roads in ...
3
votes
1answer
33 views

Snapping end lines ArcGIS 10.4

I am trying to snap 2 polylines features as the picture below : I would like to snap both end lines using tolerance distance ans only snap the nearest feature: from the red feature, choose the ...
1
vote
1answer
58 views

Counting nodes/vertices in large polyline GeoJSON?

I have a large .geojson file (~ 1 GB) of made up of thousands of polylines. My objective is to count the number of vertices (not end points) in the entire file. Is there a python module that is ...
2
votes
1answer
33 views

Mapping raster values to nearest grid cell on a polyline

I'm not sure if the following task is possible in ArcGIS, or whether I need to use something like MatLab - I wondered whether the community could possibly advise if it is possible, and if so, what ...
4
votes
1answer
86 views

Join / merge lines that touch and intersect in QGIS

I have a large dataset consisting of lines/polylines where I would like to join/merge the lines that touch / intersect. Each line has an individual ID and there are no common attributes I can use for ...
0
votes
2answers
22 views

Create polygons from points

I have a points dataset, which contains what are essentially vertices of polygons. They represent a number of separate, discrete polygons, and there is a field delineating these by name. Using this ...
2
votes
0answers
34 views

How to count near intersecting polylines and merge them?

I have a dataset with several polylines created by GPS points of car trips. I am trying to create a simple heatmap where roads with more traffic (where polylines intersect) get darker. I already ...
1
vote
1answer
18 views

Reordering vertices on a polyline (route)

I have a route in which the second vertex is in the middle of the line. Route is about 130 miles long. This is preventing me from recalibrating. Is there any tool that will re order or sort all the ...
0
votes
1answer
24 views

Not all polygons digitize when converted from lines

I have a polyline feature consisting of a grid. I attempted to convert this grid into a polygon using the "Feature to Polygon" geoprocessing tool, and it appears that not all lines have been carried ...
1
vote
1answer
72 views

create heatmap from coordinates [duplicate]

computer science student here, haven't done much in GIS, just trying to finish a project for a class. What I have is a CSV of origin/destination points as co-ordinates (longitude and latitude) what ...
2
votes
0answers
41 views

QGIS break polyline into line segments

In QGIS (2.14.3.) how do I break polyline features in their consisting (single)line features? I have tried the 'Explode lines' geoprocessing tool, but this destroys the whole polyline into very atomic ...
0
votes
0answers
9 views

Find all states (polygons) through which a route (polyline) passes

Used GADM to find GeoJSON polygons for the states of India. Now, given a google route between two cities, I need to find all the states the route passes through. Any suggestions on how to proceed? ...
5
votes
2answers
146 views

How to efficiently convert origin-destination coordinates into lines in R

Reproducible example to show what I mean: # Create origins and destinations odf = data.frame(fx = 1:5, fy = 1:5, tx = 0:4, ty = rep(1, 5)) The challenge is to convert this into straight lines ...
1
vote
3answers
83 views

Determining curvature of polylines

I'm dealing with several thousand polylines of Geologic data with mixed degrees of curvature. I'm attempting to quantify just "how curved" these lines are and was curious if there was a means to do ...
0
votes
0answers
24 views

Adjusting labels in for stationing

How do I update labels for stationing? I am using the "Station Lines" plug in which is great, but I need the labels to read 01+00, 02+00.... as opposed to 1,2..... Also, can I start this labeling ...
0
votes
0answers
72 views

Polylines and polygons - QGIS-2.14.3-1

After extracting contour lines from a DEM (obtaining polylines), and transforming them to polygons, I export the vector layer with polygons to a DXF. Then I import the DXF into Corel Draw to manage ...
3
votes
1answer
35 views

Assigning common field value to segments between two points using ArcGIS for Desktop?

I am using ArcGIS 10.3 for Desktop. I have a shapefile with polylines connecting points. Instead of having one single polyline connecting two points, there exist a number of consecutive segments ...
3
votes
0answers
43 views

How to get polyline latitude and longitude by click on polyline android?

I have set Polyline click listener like this : map.setOnPolylineClickListener(new GoogleMap.OnPolylineClickListener() { public void onPolylineClick(Polyline polyline) { int ...
2
votes
2answers
53 views

ArcGIS 10.3: How to merge lines divided by junction points?

I have one shapefile with train stations (points) from a region in the UK and another shapefile with railroad tracks (lines) between these stations. Problem is, in the latter I don't have a unique ...
3
votes
2answers
144 views

Fixed distance between two contours - Qgis 2.14.1

There is a possibility, when you select a contour line and give a fixed length of line, this line connects automatically to the next contour lines? I have two other questions on this subject but I do ...
0
votes
0answers
19 views

Draw a line between 2 sets of coodinates [duplicate]

Basically, I have a table of river cross sections coordinates in excel . I have x,y data for one side of the bank and another X,Y coordinate for the opposite bank. In excel I have 5 headings, the ...
0
votes
0answers
26 views

Polyline turned upside down and sideway (from encoded polyline to geojson to shapefile)

I was given an encoded polyline that I decoded and exported into a geojson file using the fabulous tool here: http://barryrowlingson.github.io/polyline-to-geojson/ but now I am running into another ...
1
vote
2answers
63 views

Decode encoded polylines to usable format for QGIS

Beginner alert. I was given a set of encoded polylines that I need to import into a QGIS project. I understand what encoded polylines are but now I am stuck with how to decode them into some usable ...
1
vote
0answers
38 views

Algorithm to simplify a Polygon/Series of Points to a given number of Points

I have a polygon (or let's call it just a series of points). I want to simplify it (reduce the amount of points) to a given number of points. Currently I use Douglas Peucker and try to guess the ...
3
votes
0answers
29 views

Loop distance point pyQgis

I have a .shp of lines where I'm able to calculate the sum of segments length but I'm trying to put a point at a given distance in meters. The problem is it puts a point at every segment. When I give ...
4
votes
1answer
34 views

How to split multiple lines of the same feature using a line?

So obviously there is a split tool to split a single selected line. In my instance I would like to split 2+ lines of the same feature using a tool that is similar to the split tool. In this image I ...
3
votes
1answer
52 views

GIST slows down query?

I have an odd case where creating a GIST index slows down my query instead of speeding it up. The setup consists of two tables, one with multi-polygons, another with points. I want to calculate which ...
2
votes
1answer
72 views

Arcpy module to read csv files and create polyline shapefiles

I am creating a module in arcpy that will loop through a folder with csv files in it. I have both of them written, and they work fine on my computer. However when I send them to anyone else they won't ...
1
vote
0answers
19 views

Why does connected polyline (KML file) appear unconnect in arcmap as layer?

I created polygone in google earth and imported it to arcmap as layer. All things are OK but when I converted polygon to polyline, there some parts of polyline has not shown although its vertices ...
1
vote
0answers
56 views

Edit limited to part of multi geometry collection in kml google earth

I have polylines on kml format ,I want to edit those kml polylines via google earth when I try to modify the polyline I get the error Edit limited to part of multi geometry collection.
2
votes
2answers
47 views

Sum line lengths by category

Is there any chance to calculate line lengths by category. To be precise, I have 4 road categories (state, county, local and uncategorized) and want to calculate them all within one poligone. So far,...
2
votes
1answer
45 views

Plot a point at a user input distance perpendicular to a polyline

I have a straight polyline and the distances in metres of the points I want to plot perpendicular to that line. The points are all different distances and should be measured from a different point ...
4
votes
4answers
98 views

Create an average polyline from a set of polylines

I am trying to plot the average of several polylines (up to 40). I have several shorelines of a short section of beach plotted from different dates and would like to plot their average position. Is ...
1
vote
0answers
32 views

Forcing polyline to offset from polygon border

I am currently working on a site with polygons and polylines and am looking for a way to ensure that the polyline does not overlay the site boundary. I am creating a habitat map and do not want the ...
3
votes
1answer
40 views

How do I export data points from topology checker into an attribute table?

I used topology checker in QGIS to find all dangles in my roads polyline shapefile. The topology checker returned about 528 dangling ends, also called errors. How do I save these points into an ...
1
vote
1answer
27 views

Points to polyline for ArcScene 3D?

I calculated a trail up mountain using least cost path analysis. I converted the raster trail to a polyline using the raster to polyline. I then used the feature vertices to points (input being the ...
0
votes
0answers
40 views

Measuring correct line length from a 2D polyline using 3D raster QGIS

I am trying to measure the correct line length of a 2D polyline when draped over a 3D surface. In theory I would expect the line length to change when moved from the 2D to 3D. The polyline is spaced ...
1
vote
0answers
26 views

How can I use ST_Contains/ST_Overlaps with non-simple lines?

Following the SQL of the accepted answer to How to get smallest line segments from intersection + difference of multiple overlapping lines? copied below. I'm having some difficulties assign the ids of ...
1
vote
0answers
24 views

Faulty altitude point between contours

I have point(picket?) between 2 contour lines with even number altitudes. Now i got these new 5 meters steps contour in between. As you see, this point between red lines was OK, but now that this 175 ...
0
votes
0answers
36 views

Expanding shapefile shapes

Given a coastline definition (e.g. NOAA GSHHG or OSM Coatlines), I would like to "expand" or "grow" the shape defined by a set amount, e.g. 100m. For example, given a island like this (with 8 points):...
1
vote
1answer
59 views

PostGIS help writing a ST_MakeSimple method for self intersecting lines?

I have imported Open Street Map lines into PostGIS 2.1 and I need to clean up the self intersecting ways. I have done some manual edits in the past but there are many more ST_IsSimple(way) = false ...
2
votes
1answer
33 views

Point-Line shortest distance and corresponding angle using FME

I want to determine the shortest distance and especially the corresponding angle from a point to a polyline. A solution using FME would be strongly preferred.
1
vote
1answer
34 views

Create a mapping between polyline and raster in ArcObjects

In my case I have two sources of data: a vector shapefile with a polyline (expressing the path) and a raster with some integer metadata values available for each cell. What I would like to do is to ...
4
votes
1answer
98 views

leaflet GeoJson vs polyline

Is there any real advantage in using L.GeoJson instead of Polyline when drawing paths in a map powered by Leaflet? I know that GeoJson can attach additional options. It is also possible with ...
0
votes
0answers
31 views

many points to many line segments - and retain attributes of points

I would like to take a feature class of 22571 points (with time (in seconds), lat/lon and various other attributes but for now I care most about the ON/OFF attribute) and connect those points into a ...
4
votes
1answer
117 views

Creating arrays and polylines from dictionary using ArcPy?

I have created a dictionary out of a csv values from an excel spreadsheet. I'm trying to use the keys and values in the dictionary to create arrays (one per 'Rhino') that I can use to create polylines....
1
vote
0answers
25 views

polylines between two locations over sea and not land

I have several thousand locations in a database, Location A travelling to Location B, New York to London, Paris to Buenos Aires. I'm trying to plot a path between two places only over sea. I'm not ...