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)

learn more… | top users | synonyms

13
votes
4answers
3k views

Elevation profile 10 km each side of a line

How can I get an elevation profile for a band of terrain? The highest elevation within 10 km (on each side of the defined line) should be taken into account. I hope my question is clear. Thank you ...
3
votes
1answer
4k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
10
votes
4answers
4k views

Finding centrelines from polygons in QGIS?

I was wondering if there is a way to create centre lines from polygons in QGIS? I have a polygon layer, but ideally need the centrelines as a separate file.
11
votes
4answers
13k views

How to Partition Line into Segments using ArcGIS for Desktop?

I have a shapefile of U.S. states. I extracted the boundary between two states, resulting in a line segment. For example, the boundary between Georgia and North Carolina. Is there a way to further ...
9
votes
4answers
45k views

How to create polygons from lines?

I am trying to create polygons from a line layer of lots and concessions (large blocks of land in rural areas). The lines are mainly grid style as they intersect mostly at right angles. I need to ...
4
votes
2answers
3k views

Workflow for creating line features between two coordinate pairs in QGIS

I have a table of stream reaches with xy coordinates for their respective tops and bottoms. I'd like to convert the table to a feature, using the xy coordinates as the endpoints of the line. Any ...
4
votes
1answer
2k views

How to assign node IDs to links in a network?

I have two shapefile layers in ArcGIS for Desktop 10. I have one line layer and node layer. My node layer(shp) has a "code_1" field and line layer has a "code_node" field. The intersection point ...
6
votes
1answer
7k views

Cut polygon shapefile by line shapefile

I have two shapefiles, a polygon shapefile (lake) and a line shapefile (boudary) I want to create a new shapefile "polygon to the north of the boundary" What tool can I use in QGIS or other free ...
16
votes
2answers
3k views

How can I merge/collapse nearby and parallel road lines (eg. a dual-carriageway) into one single line?

I have a shapefile from OSM which contains all the roads within a city. Larger roads (like dual-carriageways) seem to have 2 parallel lines. I'd like to collapse / combine those into 1 line so I can ...
6
votes
1answer
3k views

How can I add an arrow to a line?

I want to have arrow heads at the end of a number of lines. I add these through Line properties --> Line decorations. It looks nice and all when displayed in the legend: But in my map, due to ...
4
votes
1answer
1k views

Splitting lines at a specified distance

Does exist some plugin with it is possible to Splitting lines at a specified distance in Qgis?
2
votes
1answer
337 views

Showing directional line symbol in ArcGIS for Desktop?

Is this possible in ArcGIS to have variable number of arrows on the line to show direction? This is an ArcGIS example, where I can have fixed (1,2,3,4,5...) number of arrows and it stays the same ...
6
votes
1answer
676 views

Filling a polygon with lines using Postgis

i need to calculate a specific distance in an area. The distance is calculated from parallel lines in a polygon, And i need to find out how many parallel lines (with x meters distance to each other) ...
10
votes
2answers
1k views

Creating a line (closest vertex to line)

I am working in reorganising our utility data. Two years ago, we have started collecting Private Service water line. We still have a lot of them to extract from old Record Drawings. I was ...
7
votes
3answers
3k views

A tool or way to Extend line by specified distance?

I have a purely aesthetic layer which has arrow symbols. Some aren't showing up right because the line is too small. I have selected maybe 50 records where I need to extend this line by a given number ...
6
votes
2answers
3k views

Checking "connectedness'' of line shapefile in ArcMap?

I inherited a line shapefile in ArcMap that is used to represent a road network. The problem is that the road network is pretty large and it is impossible for me to: Tell if the end of each line ...
6
votes
1answer
9k views

Calculating line segment lengths within polygon using ArcGIS Desktop?

I have a layer with line segments and a layer of polygons (in this case, buffers around points). I need to create a new field for each polygon that contains the total length of all line segments ...
4
votes
1answer
573 views

Clipping Line shapefiles within extent of Polygon shape?

My question is an extension of Vertical lines in a polygon shapefile. Kindly refer to that question first. What you shall see there is a method of generating vertical lines with respect to the ...
2
votes
0answers
103 views

Connect two contour lines with calculated line length

Is it possible to make a plugin for QGIS like PEGGER for arcview 3.2? Problem is, how to make path over contour lines with a gradient in percent? Formula is: K= e*100/G*M ; K=10*100/0.08*10000=1.25m ...
0
votes
1answer
107 views

How to compute and fill One-way field in a street shapefile according spacial position

I think it is something complicate, but I hope someone could bring up any idea about. I'm using ArcGIS10, and I have a "One-way roads" shapefile with a One-way field with Y/N. But I need to create a ...
0
votes
1answer
515 views

Problems using v.split in SEXTANTE toolbox to split lines

I got this error: Or don't click "open output file after running algorithm", but there is no new shapefile created on my desktop. How to solve this problem and split lines at a specified distance? ...
11
votes
2answers
2k views

Moving points onto lines (~neighborhood)

I do have two vector layer, of which one is a point layer based on "events" by remote sensing and the second one is a line layer from local research. In my case these are earthquakes and tectonic ...
7
votes
1answer
212 views

How to connect centroids of lines sharing the same intersection in QGIS?

I'm looking for a big help to accomplish the following task: I have this street network of the center of Turin (IT), composed by lines representing streets, and black points representing ...
4
votes
3answers
2k views

Efficient algorithms to split and join lines?

Referring to the Figure below: How to efficiently join segments into lines? How to efficiently break lines into segments? The above will be applied million times.
4
votes
2answers
4k views

Compute Angle of line in conventional bearing using ArcGIS API for JavaScript?

I am trying to compute angle between two lines (line segment) using ESRI (ArcGIS, JS) in conventional bearing (Eg: N29'E) I am using Add Toolbar to draw a line segment where point A is a fixed point ...
3
votes
3answers
679 views

Selecting polygons with a minimum internal straight line value - ArcGIS 10

I have a map of polygons representing forest stands. I am trying to sort through them to find those polygons that have a minimum internal distance of 200 m in a straight line (my field sampling will ...
2
votes
1answer
325 views

Split polygon into lines

I have a polygon layer which looks like this . I used the QGIS multiparts to singleparts tool and also polygon to lines. In both cases i got this type of result . I want to extract polygon into ...
2
votes
1answer
2k views

PostGIS, create line from points

I have a PostGIS table with position data of numerous vehicles and want to create lines from these points. Data can be selected by vehicle id and ordered by timestamp but how to create lines from the ...
2
votes
1answer
2k views

How can I create a line with three points with Python in QGIS?

I'm new to Python and I'm having some dificulties. I want to create a simple layer with a line in the console of QGIS with Python. How can I do that?
1
vote
2answers
5k views

Show pop-up where user clicked in OpenLayers

How to change this example ( http://openlayers.org/dev/examples/select-feature-openpopup.html ) so that when the user clicks on a line (feature) pop-up display where the user clicked? A few days ...
8
votes
1answer
10k views

Draw lines from points in QGIS

(I found here similar questions but they all reffer to ESRI's programs, and I use QGIS) I have a point layer and need to draw a line passing through or in the vicinity of the points (up to 0.5m ...
5
votes
1answer
107 views

How to get smallest line segments from intersection + difference of multiple overlapping lines?

Inspired by this question, and this excellent answer. I have multiple overlapping lines and want to extract the complete intersection of them. So from this sample data SELECT id, geom INTO stackex ...
3
votes
2answers
584 views

Creating polygons from line segments using PostgreSQL and PostGIS

Is there a PostGIS function that creates polygons from multiple line segments? I want to convert the pictured thirteen lines to four polygons. All lines belong to the table "boundary" (gid, geom). ...
3
votes
1answer
338 views

Show alternating contour lines

Is it possible to show only every other counture line? And how do you do that? (Im new to QGIS Lisboa 1.8.0, but even newer to QGIS Dufour 2.0.1, but have used ArcGIS a bit a while ago, and also ...
3
votes
1answer
286 views

How can I move along a line (or path)?

Given a line (street, railroad, river...) I want to simulate a moviment inside this line. Example: See this picture: Say I'm in "Nagqu" and want to move to "Kunlunqial". In a time (t=0) I'm in ...
3
votes
1answer
418 views

How to create a line with start and end points which are in another layer in QGIS?

In my map, there are lots of points in layer A. I want to make a line layer B and I want to make start & end points of lines snapping to points in layer A manually. Can I use points of layer A as ...
2
votes
1answer
39 views

For Loop Maximum Minimum Distance Between Two Lines

I have a table of line/lane ids in a table called matched_lanes, and I am trying to create a lateral query that on each id in the table to find the maximumum minimum distance between each point. ...
1
vote
2answers
455 views

Draw great circle rays from a single point along specific directions

How can I draw great circle rays starting from a single given point P (for example, from coordinate [34 N, 116 W] in this map) and along directions D1, D2, ... (for example, 30, 45 and 135 degrees) in ...
0
votes
1answer
56 views

How to iterate through each vertex in a line?

I am working with ArcObjects in building functionality for a toolbar inside of ArcMap. Once I start an edit session, I use the tools to manually draw a line. I am trying to loop through this line get ...
7
votes
1answer
1k views

Is there a way to automatically snap loose points of lines to close by vertices with Quantum GIS?

I have a vector layer of lines that were drawn with the snapping option off. I need to have them snapped but, there are hundreds of lines. Is there any solution to do this automatically or ...
6
votes
1answer
2k views

How does Flow Mapper Plugin work?

I downloaded the Flowmapper plugin for Qgis and I can't seem to find any information on how it is supposed to work... Also the text seems to cut-off and not fully showing for the input fields so I'm ...
5
votes
1answer
236 views

How do I make line symbols intersect cleanly without showing edges in QGIS?

I digitised a map showing electric grid lines. I merged a number of lines into a single feature. Now, I'd like these lines to be displayed so that the intersections appear continuous. At the moment, ...
5
votes
0answers
138 views

Why doesn't Polygonizer copy the line ids to my polygonized shapefile?

I am trying to convert a line shapefile into a polygon shapefile using Polygonizer plugin, and when my new polygons are created all the cells in my id field are "Null", although I have clicked "copy ...
5
votes
1answer
535 views

How to connect particular sets of points with (poly)lines?

I think my problem is quite easy to be solved by the most postgis-users, but i am a bloody beginner: i have a timestamped point-table representing GPS-tracked places of different cars. To distinguish ...
5
votes
2answers
388 views

Grouping lines together to form one line after a distance threshold is met: ArcGIS 10

I have lines on a map showing the most direct way from point data to the coastline (polygon). I would like to group the lines if they are close to each other by a distance that I can set. Where the ...
3
votes
2answers
1k views

How to join lines in QGIS for later using “lines to poly”?

After successfully merging lines (using snapping) with merge_selected_features i got nice result - one merged line. Next thing was to make polygon from created merged line. Result is not nice - it ...
2
votes
1answer
412 views

How connect points with lines in QGIS?

I need to connect points with lines in QGIS. I am in this fresh out so I'm not sure how to do it and I need a little bit help with this. I read several posts i and tried to do something about it but ...
2
votes
1answer
391 views

Find intersections between spatial lines and points using R

This question assumes that I'm using R with the sp and rgdal packages installed. Now that I have a set of spatial segments of class SpatialLinesDataFrame (called 'segmentData') and a set of spatial ...
2
votes
2answers
1k views

Line Layer from Point to Point CSV file using QGIS?

My question is probably a basic QGIS question but I could not find something that would work for me. I have a file of the following format: where each from/to is a point that is already inserted ...
2
votes
1answer
225 views

PostGIS - How do I create a line that directly connects two earth points without travelling over a geodesic?

In PostGIS 2.1.1, I've noticed that if I create two distant earth points with equal altitude and then create a line connecting them, as I gather interpolated Z coordinate data along the line my Z ...