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

3
votes
1answer
197 views

What's the unit of measurements produced by “sum line lengths”?

My goal is to find the total length of roads per county for a particular state. You would think there would be a simple government spreadsheet with this information in it.... I cannot figure out how ...
4
votes
1answer
174 views

extend line to feature. programatically

Thanks in advance for any help. I'm trying to programmatically extend hundreds of lines (blue in image) to a single polyline feature (red in image). Sometimes the lines intersect each other, but I'd ...
3
votes
1answer
94 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, ...
0
votes
1answer
314 views

Qgis - need to draw exact lines (mtrs) with fixed angle

I use GIS 1.8. I have the need to be able to draw exact lines and shapes on a bing map. (This is to project a yet to be build greenhous project on a map to show what i would look like). I have ...
0
votes
1answer
162 views

Update Point ID as Start Node and End Node to Line through FME

I need your help to perform the below process in FME. I have two layers: Pole Data (Point) and Cable (Line). Cable has no ID. I want to keep the Cable which is going through the Pole. Then make the ...
0
votes
1answer
113 views

interpolate point values to line

This might be a stupid question and I apologize if so. I have count data for different trails. They are points and I would like to make an average of those counts for each trail so that each trail has ...
1
vote
1answer
167 views

QGIS offset dash line style - dash spacing does not vary with rotation

I'd like to make a USGS-style dirt road marker but with smaller dashes and bigger spacings (i.e. less duty cycle) to indicate lower quality road. First attempt = two simple lines, custom dashes of ...
0
votes
1answer
169 views

Updating a column with line direction in MapInfo

I was wondering if there is a way to update a column in MapInfo with the digitised line direction. I have two TAB files, one is complete lines and the other is sections of the same lines (both have a ...
1
vote
1answer
112 views

Remove parts of line that fall within a polygon

I have a polygon and two lines. How can I remove the portion of each line that falls within the polygon? # polygon coords <- matrix(c(-1.798123, -1.793072, -1.805767, -1.804129, -1.798123, ...
4
votes
2answers
132 views

remove segments of lines in R

I have these 3 lines: line1 <- matrix(c(-1.81209, -1.80470, -1.80616, 55.68024, 55.67947, 55.67544), ncol=2) line2 <- matrix(c(-1.80468, -1.80330, -1.79690, 55.68322, ...
1
vote
1answer
162 views

3D and 2D lengths of lines in ArcGIS

I have a 2D road segment and convert it into 3D using a raster in ARCGIS 9.3. So, what i see is that the length of 3D road segment is still the same as the 2D road. How can this be? As due to ...
2
votes
1answer
166 views

How to split single lines to represent two-way streets?

I am working on a project using city road data. The data has every road in the city visualized as lines and with directional data stored in the attribute table (one-way to-from, one-way from-to, and ...
2
votes
3answers
719 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.
2
votes
3answers
125 views

Breaking a continuous contour shapefile into smaller parts?

I created this contour shapefile and I need to break it into smaller parts so its better to manage. I also have a line shapefile of where I want the breaks. Is there a way to intersect and break them? ...
3
votes
0answers
96 views

drawing line from points [duplicate]

I have a series of XY coordinates. I want to use these points to draw a line in ARCMAP using arcobject10.1 using c#. I have saved this in a table inside geodatabase.Am i supposed to create a feature ...
0
votes
0answers
35 views

How to change value of an Line edit dynamically

I create a form in QT4 and compile with pyuic4. it create an form.py I want to modify the value of the line edit dynamiclly with code. I put this code in the form.py but never happen: ...
0
votes
1answer
90 views

Make many lines in one layer (Python)

I what to create many lines with this code: v_layer = QgsVectorLayer("LineString", "cable", "memory") pr = v_layer.dataProvider() seg = QgsFeature() ...
1
vote
1answer
500 views

Draw lines and Move the marker at the same time with KML format

it is possible to draw a line and put the Marker in the top of the line with KML format? or have i to make two KML files, it's that to say, One KML file for the Lines and another one for The Markers? ...
1
vote
1answer
765 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 ...
1
vote
1answer
115 views

Why won't lines from GPX simplify/generalize/smooth?

I am working with GPX data. I imported them to ArcGIS by 'GPX to feature' and then I created lines from these points. I am trying to smooth (or simplify) the lines now, but the tools 'smooth line' and ...
0
votes
1answer
576 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
votes
1answer
283 views

QGIS and Python - create line with multiple points in postgis [closed]

How can I create a line, with Python functions, with many points that are records in Postgis? Thank you
1
vote
2answers
520 views

Creating a 3D line feature based on 3D point features

In ArcGIS for Desktop 10.0, is it possible to create a 3D line feature by drawing a line that connects 3D point features?
0
votes
1answer
110 views

In QGIS can I show just the lines in a Postgis query? How can I do that?

I have three tables in Postgresql, each table with one layer of lines. I want to show the path of an initial line to another final. Is it possible executing a SQL query? Thanks My three tables are ...
0
votes
1answer
388 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? ...
3
votes
1answer
749 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 ...
2
votes
1answer
257 views

How to Blink a line on a map similarly like a point blinking on map through lat lon points

how to blink a line on a map which is formed by lat lon points through linestring from database the points(lat,lon) comes which is stored in form of MultiLineString. similarly like how a point ...
0
votes
1answer
121 views

How to set the length of a line using openlayers

I'm trying edit a polygon by changing the length of some lines by code. Found this method to calculate based on the bearing. But I didn't find anything on how to calculate the bearing, before I start ...
3
votes
1answer
896 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 ...
2
votes
1answer
168 views

Shorten polylines a given distance

I have a polyline dataset with lines of different lengths. I want to shorten all polylines the same distance on both ends (e.g. 10m each side). Is there a tool or script available that could help me ...
3
votes
1answer
1k 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 ...
4
votes
3answers
3k views

Convert multiple lines into single line

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 ...
1
vote
0answers
180 views

D3, Polymaps and Lines

I'm quite new to d3 and Polymaps and I have a question to ask.. I am trying to connect two points using a line, using Polymaps and d3, my starting point is from this code that Mike provided ...
1
vote
1answer
289 views

ArcObjects Java Calculate Line Length

I'm relatively new to programming and ArcObjects. I'm trying to simply calculate the length of a line (test.shp) using ArcObjects and Java. I've tried the code below with no luck. This is simple in ...
1
vote
3answers
961 views

Remove/dissolve parts in ESRI line feature class

I am using ESRI ArcGIS 10.1. I have a line which has been dissolved, having initially been composed of 4 features. I want to remove these parts, properly dissolving it into one continuous feature. I ...
4
votes
3answers
561 views

How to join number of point features into attribute of nearest line segment

I have point shapefile with lot of attributes, that represent road accidents and line shapefile with highways. What i want is to join attribute into line shapefile with value, that represent number of ...
3
votes
1answer
2k views

Spatial Join problems in ArcGIS 10.1 - intersect polygon and lines

I have hurricane tracks (Lines) and Florida county boundary (polygon) and I want to extract only those hurricane tracks that intersect Florida. In ArcMap 10.0 I used Spatial Join (from ...
1
vote
0answers
296 views

Lines as Great circles on a map

How can I get line features to appear as great circles on a map, instead of straight lines? Thanks,
1
vote
0answers
151 views

Splitting a branched river network at point layer

I need to split a country-scale river network (polyine) at certain barriers (point) so the length of (branched) river sections that have a certain minimum length. I used the following procedure: 1) ...
4
votes
1answer
246 views

How change border line to no pen with python console?

From Python console I load a shapefile with qgis.utils.iface.addVectorLayer. How I can remove border lines (change to no pen) in the active layer?
3
votes
3answers
888 views

Breaking a dynamic text line in data driven pages

I am using data driven pages and some of my dynamic text attributes are too long for my layout. Is there a way to break the line into 2 or more lines with out editing the data? Example: FROM Billy ...
2
votes
2answers
315 views

Selecting lines occupying identical positions in MapInfo or QGIS

I have two shapefiles from a client, one is their entire network (complete with unique IDs) and another a selection I need. However the selection file does not have unique IDs but the entire one does. ...
4
votes
2answers
283 views

Draw two separate lines from A to B and B to A

I have an Origin-Destination table like this Origin Destination Value A B 10 B A 100 A C 120 ... For all the locations A, B, C... I have another table indicating their location (Lat and Lon) Is ...
2
votes
1answer
193 views

Sum line length with clip intersect? [closed]

SELECT sum(st_length(st_intersection(POLY.geom, LINE.geom))) AS sum_line_length... Is this function OK to calculate the sum of lines length? Wonder if it do the clip line where one line go from one ...
2
votes
1answer
3k 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 ...
14
votes
2answers
1k 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 ...
7
votes
3answers
1k 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 ...
0
votes
0answers
264 views

CAD Contour Lines to ArcGIS Attributed Polylines

I'm having a 'CAD to GIS' issue. I have a dwg file which contains large number of contour lines that have been split by labels. I need to import the contour lines from CAD to GIS so that they contain ...
6
votes
2answers
561 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
1answer
440 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 ...