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

16
votes
2answers
2k 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 ...
12
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 ...
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 ...
10
votes
4answers
10k 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
39k 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 ...
9
votes
4answers
3k 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.
9
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
2answers
266 views

How to connnect two lines with different width so it looks good?

Simple question, how do you create a symbol with or without representation to connect two lines with different line width so it looks good? I need to have a smooth transition between the lines, ...
7
votes
1answer
8k 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 ...
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 ...
7
votes
1answer
917 views

QGIS line style

I found the latest QGIS has a great tool to create complex styles, however looks like one small but very useful thing is missing, or I can't find it. I'm trying to create a line style something like ...
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 ...
7
votes
1answer
194 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 ...
6
votes
2answers
2k 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
2answers
3k views

How can several vector layers have different controls, using Openlayers?

Using openlayers I have two vector layers. One layer is called lineLayer consisting of vector lines, and the other is called pointLayer consisting of points. When I hover on the lines I want to be ...
6
votes
1answer
650 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) ...
6
votes
1answer
5k 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 ...
6
votes
2answers
961 views

How to create line with exact same length over and over again?

I need to draw 30 meter lines in specific places. Ctrl+l is too annoying to do everytime. Is there a easy way to define specific same length for a line that I need to draw many times?
6
votes
4answers
367 views

How to avoid holes in polygons from lines?

I am trying to convert a dataset of lines that contains the coast of New Zealand into a big polygon. However using the vector -> geometry tools -> lines to polygon command in Quantum GIS results in a ...
6
votes
2answers
680 views

Need to merge overlapping line segments

I'm working with fish distribution data, and have combined several 24k habitat maps into a single layer that I'll call "critical habitat" In merging multiple distributions into one dataset, there are ...
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 ...
6
votes
1answer
752 views

How to connect places (points) without crossing lines?

I have two sets of data. One with placemarks represented by blue dots in image below, and another set of geographic data with lines represented by grey lines. 1) For the first point in drawing, I'm ...
5
votes
3answers
15k views

Converting multiple lines into single line using ArcGIS Desktop?

I've no idea if this is basic or what but I have this data that contains multiple lines (forming a polygon shape). I want to convert those lines (multiple - each with a start and end point) to a ...
5
votes
1answer
8k views

Create point in intersections of two layers

I have two layers. One of them is 'Road_line' and another one is 'forest_shape'. I want to create a point layer that has points in intersection of that layers. I couldn't find any tools for it.
5
votes
1answer
244 views

Given 2 LINESTRINGs with common point, how to extract common point?

I have 2 LINESTRING geometries. I know both share a common point. Using PostGIS for Postgres, what is the cleanest way to extract the common point? Example with illustration: How do I extract the ...
5
votes
2answers
353 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 ...
5
votes
1answer
540 views

How to split a line into a specific number of parts?

I've seen a lot of questions involving splitting a line with the help of a point layer. I want to split a line in fractions of its length. For example, I have a line 400 meters long, I want to split ...
5
votes
2answers
301 views

Can someone clarify some details about freehand line tracing in QGIS?

I have read several tutorials and questions here on this site, but I have some lingering questions/doubts that I would like clarified. My project is tracing roadways from a 1926 map so that I can ...
5
votes
1answer
2k 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 ...
5
votes
1answer
492 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
1answer
579 views

Is there a way to split polygons by several lines in QGIS?

I have a polygon (.shp) and a line (.shp) layer. I want to split the polygon in several pieces along the lines that overlap the polygon. Afterwards I want to edit each polygon separately (attribute ...
5
votes
2answers
319 views

How to calculate the area between two line shapes?

I'm a newbie using QGIS (2.0). I'm trying to calculate the sidewalk area of a city. For that I have some shapes, extracted from Mricostation, with the topology (facades, fords, fences, etc.), but ...
5
votes
0answers
149 views

Search Radius for Line Density

I have been working with GIS for many years but I am fairly new to the spatial analyst side of things. I am working with many satellite tracks for many different individual animals and would like to ...
4
votes
1answer
196 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, ...
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 ...
4
votes
1answer
173 views

How best to map lines based on multiple attributes?

I need to plot lines onto a map to display road quality. I'm already using colours to distinguish between different road conditions, but I also need to display another factor - the survey origin. ...
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
39 views

cartographic line develop spikes when applied offset value

version: ArcGIS 10 I am using a number of lines in certain polygon. As I apply offset value to the outline, spikes/kinks are produced as shown in the picture. Any solutions to remove the spikes and ...
4
votes
1answer
262 views

Horizontal only line thickness in ArcGIS

Is there a way so line thickness only expands horizontally from the centreline? I am making a road condition map and found it may not be truly representable. The red on the left overlaps the yellow ...
4
votes
2answers
1k views

Extend Polyline in ArcGIS without intersecting line

I am trying to extend the ends of each line I have in a seismic survey 2 miles. I have tried using the extend line (Editor) tool but it needs an intersecting line to move to. Does anyone know how to ...
4
votes
2answers
127 views

How to extract nodes with PostGIS to a multipoint geometry

I have a line in a PostGIS table test_line. I want to extract it's nodes into a multipoint geometry. I tried the following: SELECT ST_Collect((ST_DumpPoints(the_geom)).geom) FROM test_line; But it ...
4
votes
1answer
350 views

What is an efficient Algorithm to draw a straight line from points?

I have some cross section survey data, which is like this: X Y Z pt_dt 2970969.635 359725.0088 83.4242 1-x 2970968.278 359722.2182 83.2591 1-x 2970941.771 359670.127 83.0655 1-x 2970961.369 ...
4
votes
1answer
237 views

SLD - Is it possible to create a Rule that stylise only the first and last point of a Line?

I've read the SLD doc, but I can't find any clue on how to create an SLD file to add a graphic symboliser on the first and last point of a line. Does someone know how to do that ? Thanks.
4
votes
1answer
1k views

ArcMap 10.1 SP Spatial Join Problem (lines within polygon)

I have a line layer (faults) and a polygon layer (fishnet grid). The fishnet has a risk of earthquake attributed to each polygon. I want to take that risk value and give it to the fault lines which ...
4
votes
1answer
8k views

How do i calculate line segment lengths within a polygon?

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
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?
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 ...
4
votes
1answer
2k views

How to split line at a specified distance and getting coordinates of start and end points of each line segment?

I tried v.split in GRASS: and my notebook ran a lot of time but showed this error:bad allocation, then I click "OK", and got nothing. Are there other ways to split lines?and I hope to get 2 new ...
4
votes
1answer
488 views

Dashed lines do not print correctly

I have a polygon with a dashed line type; when viewed in ArcMap the line type appears correct however when I print to pdf the line type does not look correct. This might be a pdf quality problem ...