Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [line]

A set of ordered co-ordinates that represent the shape of geographic features too narrow to be displayed as an area at the given scale (contours, street centrelines, or streams), or linear features with no area (county boundary lines)

-2
votes
0answers
32 views

The Douglas-Peucker algorithm [on hold]

The Douglas-Peucker algorithm typically produces simplified lines with sharp angles. Why?
-1
votes
0answers
22 views

How to find most used path/route? [on hold]

I have a line path of ten vehicles that runs in the city daily with more or less on a same road/path but with little deviations. Now I have to find the route/path the vehicle have used mostly if I ...
1
vote
0answers
9 views

Averaging attributes from small line segments into a new line segment

I'm working on a project which involves combining shorter road line segments into longer ones where needed using ArcGIS 10.5. Each segment has an attribute of average traffic flow. For example, there ...
1
vote
0answers
22 views

Shapefiles and attributes from ArcGIS Pro missing in ArcMap?

I have data that is a series of digitised polylines that due to issues with maintaining the Z component have been exported (from another software package) as XYZ points in .csv format. Using ArcGIS ...
0
votes
1answer
33 views

Splitting line into segments of different length with ArcGIS Desktop?

I have a river network and I have to split each river into transects of different length. The distances where the lines have to be split are in an excel sheet. For example I have to split the river 1 ...
1
vote
1answer
46 views

A line between point to nearest neighbour point using QGIS

I have a layer of points in QGIS which represent electric poles How do I create a polyline layer that would have lines running between the poles so it can represent the the electric cables that ...
1
vote
0answers
35 views

Adding Points to line at certain distance using QGIS?

USING QGIS 2.18 This question seems to have been asked a ton with lots of options.i just need to add some points/nodes/vertex to a line at a recurring distance along that line. There are some ...
0
votes
0answers
24 views

Add line programatically in OpenLayers 3?

I successfully added point like this: var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: 'Police Station', population: 4000, rainfall: 500 }); ...
0
votes
0answers
26 views

Difference between/uses of kernel and line density?

I am reading up on density calculations and their variants, and situations to which they might each be applied. I have read the article on differences between point line and kernel density I was ...
0
votes
1answer
23 views

QGIS Line Subdivide by distance

I know in QGIS you can subdivide a line, but is there a way you can type in a distance and the line will split according to this, with the last segment being smaller in length? If not I will try to ...
2
votes
0answers
37 views

Is there a keyboard shortcut to draw a perftectly straight line?

In most programs, when you have a line tool, you can hold control or shift and it will let you draw a perfectly vertical or horizontal line, sometimes it the tool will snap at 90 degree angles. How ...
0
votes
0answers
24 views

Split to equal length option is not working properly

I have a road data (line vector) which consist of a few lines and I have the length of each line segment. I want to split it into segments of 100m. When I used v.split tool, apart from 100m segments, ...
1
vote
0answers
20 views

r - intersection of 3D objects

How can an intersection of 3D object with 3D object be done in R, for example a 3D line with 3D polygon ? Saw that "sf" provides some possibilities but didn't get the desired result. What was ...
0
votes
0answers
32 views

Analyzing single Polygon or Polyline that overlaps itself using ArcObjects?

My current process is to determine obstructions in an area and determine properties of those obstructions as they relate to a center polyline. Per the image below I take a polyline which denotes a ...
0
votes
0answers
36 views

Which ArcGIS tools to use to get perpendicular distance between polylines

I have a polyline shapefile with several thousand polylines. Each polyline is within a polygon, and the Polygon_ID is contained in the polyline shapefile attribute table. I need to figure out the ...
0
votes
0answers
15 views

Extracting maximum cell values to Intersecting polylines

I have 2 datasets. The first one is a 32 bit floating point raster, that identifies a flood depth value, in feet. The second one is a roadway feature class, segmented at each road intersection. I have ...
0
votes
0answers
18 views

Detecting bow in lines of file?

We have a file made in CartaLinx that has thousands of polygons manually vectorized. Apparently, some of the lines go over themselves so the file corrupts frequently. Cartalinx can't find the bows ...
0
votes
1answer
47 views

Finding line style for ArcMap?

I am running ArcMap 10.6 and I need a line that I thought would be included in the standard styles. It is the line symbol used when a polygon feature crosses a line feature and you want to show that ...
1
vote
1answer
76 views

Creating 3D polyline just below another polyline using ArcGIS Desktop?

I have a geological setting where I would like to add a lithology to an existing map. I already have the 3D polylines from my geological map and the DEM I now want to add another polyline between two ...
0
votes
1answer
41 views

Geoserver SLD styling to align labels at the center vertical of roads

I've used SLD to style road features in Geoserver. As roads include multiple segments the 'group' attribute has been used to control label repeat of roads. The problem is some labels can't be placed ...
0
votes
1answer
31 views

Splitting line in proportional parts in QGIS

I have recorded flight paths of birds as lines. Now I want to transform the lines to points, which represent the bird's position in a minute interval. For this I want to divide the lines by the time I ...
5
votes
1answer
100 views

Finding which side of closest polyline point lies on in QGIS?

I would like to find on which side of the line (left or right) my points are located with respect to the direction of the line (like knowing the rivers bank along a meandering river). But, if there ...
3
votes
2answers
68 views

Line/Polygon intersection with a tolerance in QGIS

I have a layer with Polygon and a layer with Polylines. I am looking for the list of Polygons crossed by the Polylines. Just here it's relatively simple: intersection function. That said, the ...
1
vote
1answer
43 views

Parallel lines inside of polygon

I have an irregular polygon. I want to make parallel lines with 14 meters of space between the inside of the polygon using QGIS, does not matter the direction, but it is necessary to have the least ...
1
vote
0answers
22 views

Conversion of Text layers to vector 'Line' Feature Class

Is there a way to convert Text or Labels to Vectors within Geomedia or utilize the Publish to KML and convert using Google Earth? I do not have Adobe Illustrator installed here to 'Create Outlines', ...
0
votes
0answers
33 views

How to set depth of line symbol in ArcGIS Online

I am using ArcGIS Online for my web application. I have a line symbol/graphic. I can set the width of the line symbol. But I need to set the depth of the line symbol (need 2.5D symbol/graphic). How ...
0
votes
1answer
46 views

QGIS: Loading a CSV of points as a line

I have a CSV file downloaded from a GPS tracking system. Every row contains lat, lon, timestamp, and row no. How can I load it into QGIS as a line layer?
2
votes
0answers
43 views

Extend line to specific point

I have a line layer which is cut at the level of the point layer, I want it to be connected at the nearest point while saving the forme ( just adding the missing part the that line without moving it)...
0
votes
0answers
65 views

Extract polyline line direction to field

I am trying to add a simple field to the attributes of a polyline shapefile using QGIS that stores simple direction. I am not looking for complex direction such as bearing etc - I just want a to be ...
1
vote
2answers
62 views

Generalizing round segments

I have a polyline feature class and I need some segments to be generalized. I tried exactly Generalize tool in Advanced Editor toolbar as well as Simplify Line tool, but it isn't what I need. My ...
1
vote
1answer
44 views

Combining two shapefiles which contain overlapping and duplicate geometry

Well this could be an interesting one. I've got two shapefiles of polylines (contours). I need them to be one nice and clean shapefile covering the same area. Only issue is, the shapefiles overlap ...
0
votes
0answers
35 views

Line Model with Z-dimension [duplicate]

I made a contour model of a specific area and named it by its height. I need this Data to import into AutoCAD, so I saved it as .dfx with Information about its Z-dimension, by choosing "include z-...
0
votes
2answers
43 views

Calculating width of polygon relative to polyline using ArcGIS Desktop?

I need to estimate the different widths of the polygons that surround some polylines. The polygons correspond to wetlands (buffer zones) and the lines represent the rivers. The catchment that I´m ...
1
vote
1answer
28 views

Return A Path from multiple point in Geomesa

I am trying to visualise the historic of a vehicle in a specific area , I am writing now a query to get all points off a this vehicle in this area with this : FeatureStore feature = (...
0
votes
0answers
50 views

Draw parallel polylines inside polygons in R

I would like to add multiple parallel polylines inside an irregular polygon based on user input in R. The outside polylines should be a certain distance from the edges of the polygon and the average ...
0
votes
0answers
118 views

Adding polylines to leaflet map in R

I am trying to add great circle routes between various regions in R. Here's the sample data: structure(list(CommencingRegion = c("RedSea", "EastAfrica", "GulfofMexico", "FarEast", "RedSea", "...
2
votes
1answer
82 views

Connect points in two layers using lines in QGIS 3.x

I'm using QGIS 3.2.1 and I have two Layers containing point objects, Is there any plugin for this version of qgis that I can use to select two points and then connect them using a line and save the ...
1
vote
1answer
15 views

Calculating partial distances from whole segment in grid using QGIS?

I am using QGIS and trying to find a way to calculate partial distances of lines in a grid. In the left part of the picture you can see the sum of the line lengths within the grid cell (108.96...), ...
2
votes
1answer
295 views

Access vertices of a line in Python

Given a shapely.geometry.linestring: How do you access single vertices using Python?
1
vote
1answer
60 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)...
0
votes
1answer
55 views

Python: Open a (line) Shapefile and calculate distance to point given as a longitude-latitude tuple

I have a pandas dataframe in python with longitude and latitude values of certain locations (see sample below): Index Long Lat 0 -98.58 ...
0
votes
1answer
44 views

Removing lines on coast side using ArcGIS Desktop?

I have a shapefile of European countries (with regional subdivisions) as well as a shapefile of lines. How do I delete all the lines on the coast-side, using ArcGIS Desktop?
3
votes
1answer
54 views

Fixing bad topology on polylines with QGIS

I've been sent a shapefile containing 12 layers of some city's road system. Each layer depicts a portion of the road system, and all of them partially overlap on the map. I'd like to work on the sum ...
1
vote
1answer
49 views

Change attribute of a line according to overlapping polygon features

I'm pretty new to QGIS and python in general. For my work I'm faced with a bit of a problem. I got 100-m-segments of several streams and polygon-features of the surrounding substrate. The polygon ...
0
votes
1answer
45 views

geom_line() does not plot points from a shapefile in its correct order

I have been trying to load and plot a few shapefile in R using ggplot() and am facing an issue with a line vector shapefile. It seems that the readOGR() command is importing the line vectors ordering ...
1
vote
1answer
81 views

Display overlapping polyline segments as multiple lines with offsets?

Selecting which polyline is displayed on top in case of segment overlaps seems to be quite a FAQ, however, I would like to find a way to display overlapping polyline segments side-by-side, i.e. as ...
1
vote
0answers
48 views

Finding layout of points on road?

The problem I'm trying to solve is finding layout of street lights on a street. The street lights can be arranged in the following layout: one-side, two-side opposite, staggered, or median, etc. as ...
1
vote
1answer
31 views

JTS: generate a polygon geometry from line geomtry

I have a line and I wish to convert it to a polygon. The point is this line is NOT a ring it's an straight Line. And I want to use an specific width to extend line horizontally and create a polygon. ...
1
vote
2answers
279 views

Is it possible to convert Polygon to centerline linestring?

I have a Polygon which I want to convert to centerline linestring. IMAGE 1 I used the Vector to convert to Polyline but they are not center line as under: VECTOR TOOL IMAGE 2 Polyline created by ...
0
votes
1answer
50 views

Transforming a polygon to a linestring

Is it possible to (trivially, via a tool in python) to convert a polygon to a linestring? if so, how? If not, why?