Used for questions about making polyline features

learn more… | top users | synonyms

2
votes
1answer
23 views

Incorrect vectorization from a raster in ArcGis (ArcScan)

I am trying to make a vectorization to get lines from a raster image using arcscan. I saw some users making it but using easier images with more visible lines but is not working with my image. could ...
4
votes
3answers
2k views

How to extract POINT from a [LINE|MULTILINE]STRING

I'd like to create a vectorLayer in QGIS to display all the points that form a LINESTRING or a MULTILINESTRING stored in a PostGIS DB. I think that I need to transform all points of LINESTRING (or ...
4
votes
2answers
1k views

Tracklogs to single line OR several lines to one line?

Setting: I have several trucks driving out of my factory delivering goods and coming back for more deliveries. These trucks are equipped with GPS so that they may return tracklogs to me. These ...
2
votes
1answer
336 views

How to display Hidden Linetypes properly when printing from AutoCAD?

I want show the pline type in hidden line type but when I change it I cant show it in printed paper, if I explode it the line are so small that cant show at print, so I want to change the pline to ...
1
vote
1answer
42 views

Removing disconnected cells in a stream network raster using ArcGIS

I've got a predicted stream network raster with cells values 0 (not a stream) and 1 (is a stream). My end goal is to create a network of connected polylines, but unfortunately there are some areas ...
4
votes
4answers
5k views

Merge overlapping lines in ArcGIS

I have a polyline shapefile containing a number of lines, some of which overlap. By overlap, I mean that they follow exactly the same path for some of their route, but also have bits that are not ...
17
votes
7answers
4k views

Creating trade flow maps in ArcGIS for Desktop (or any free software)?

I am trying to represent trade flows on a world map where the size and direction of arrows indicate the exports/imports of a given country. This type of map is commonly found in magazines and ...
2
votes
2answers
6k views

ArcGIS: How to create a line with a specific length?

How can I create a line in ArcGIS 9.3 to a specific length? I click once to start the line where I want it, and then I want it to be, say 10 Meters in length...Similar to AutoCAD. How do I do this? ...
2
votes
1answer
128 views

Is there simple way to calculate radius of curvature along polyline?

I am digitizing a sinuous linear alignment (in this case a water pipe) and would like to get the radius of curvature of the various bends along the alignment. The main reason is that the minimum ...
1
vote
1answer
747 views

Google Maps: Decoded polylines showing up incorrectly

I'm trying to draw an encoded polyline via the Google Maps API (v3), and it seems to draw 'sort of' correctly (as in, roughly in the right area of the world ;) ) but otherwise is very, very wrong. ...
0
votes
0answers
14 views

Failing to get wkt to reference for a multiline

I apologize, I'm quite new to WKT (and most everything else). I have a shape that I've exported to csv. & geoJson to be loaded into CartoDB. Unfortunately, the geoJson doesn't work so I am trying ...
1
vote
1answer
138 views

Creating polyline which is average of multiple other polylines?

I am trying to use ArcGIS for Desktop to create an "average" polyline from several lines. For example if you have multiple hurricane paths and would like to plot the average position of all of the ...
1
vote
3answers
2k views

ArcEngine 10 Polyline with arrow

I was wondering if there is a way to draw a polyline but with an arrow head at the end point? Thanks all IPolyline line = new PolylineClass(); ...
5
votes
3answers
1k views

How to find line length in QGIS while editing?

I am using QGIS (before, I used ArcView). I would like to know if there is any way during the editing phase of a vector (line or polygon) to know the length of the line (total and partial) that is ...
13
votes
4answers
3k views

How to create one-sided buffers or parallel lines in PostGIS?

I'm looking for a way to create so-called one-sided buffers or parallel lines in PostGIS. Example: 1. buffer, 2. one-side, 3. both-sides I've found some discussion on the mailing list from 2009 and ...
0
votes
1answer
49 views

Georeferencing system of rivers using XY To Line tool? [duplicate]

I have a State Water Hydro layer from our GIS county office that does not have georeferenced attributes (It is sitting on top of a State Plane county basemap). Looking at the XY to Line tool I need ...
7
votes
1answer
1k views

Making radial flow map showing curved lines over short distances (20km) using ArcGIS for Desktop?

Esri have provided instructions on how to make a radial flow map but I think the curved lines will only be produced over a long distance, like half the globe. For short distances (20km) a geodetic ...
6
votes
5answers
3k views

How to create points in a specified distance along the line in QGIS?

I want to use QGIS creating points along the line, but in specified distance. I found two GRASS tools in SEXTANTE Toolbox: v.to.points v.segment I tried v.to.points, setting the maximum distance ...
8
votes
2answers
1k views

How can I create random points along a polyline in QGIS?

I am trying to create random points along a polyline shapefile in QGIS. Basically, like the 'random points' tool in 'research tools' but for polylines instead of polygons. I have tried converting ...
1
vote
1answer
700 views

Polymaps + D3+ Polyline with different width and color

I am actually working on a project which involves polymaps and D3. I was wondering if you could help me on this. I have 4 locations and I would like to draw a polyline from one location to other 3 ...
3
votes
1answer
113 views

polygon from exterior points

How to convert points data to polygon, so as to form polygon from exterior point as shown above
1
vote
1answer
186 views

Creating new lines along specifically selected existing lines using QGIS?

I have tried to find a solution for this everywhere, with no result... My problem is that I want to be able to manually draw a line that automatically snaps to a line (creating an exact copy of the ...
8
votes
4answers
3k views

How to create arcs between two points in Python?

I've been working on an python script automating the visualization of live point data. I have a table with two coordinate pairs. I'd like to connect these two point with an arc of a circle or similar ...
11
votes
5answers
8k views

Convert XY points to a line?

Someone mistakenly saved a GPS track as waypoints and then sent them along to me in a .csv file. They want a line back (shapefile). What's the simplest method to convert this to a line? Available ...
0
votes
1answer
99 views

How to create coastline in Arcgis 10.2

I want to generate the shortest distance to coastlines from interested points worldwide. My question is given existing world map polygon file, what the standard way to create coastlines is. Thanks ...
10
votes
2answers
5k views

Using python in ArcGIS, create a line of varying distance from an origin point

What I'm trying to do is create a line feature from a single point, using a set distance and angle. Using ArcGIS and Python (I hope). Here's the scenario: Say I have a point at these coordinates: ...
1
vote
0answers
52 views

Need advice on creating polyline templates (polyline vs polyline ZM) for future network dataset

I am about to request large amounts of polylines from a variety of sources (municipalities). The idea is to collect bike path data and build a regional bike network (I work for the region ...
9
votes
6answers
9k views

How to join lines in QGIS?

In QGIS, I have two lines. The endpoints are near each other, but not quite aligned. I'd like to turn the two lines into one, with the two endpoints merged into midpoints. The closest I've been able ...
0
votes
0answers
94 views

Creating a line along an existing polyline from a point

I have a large data set of points, all of which lie on a river network and have x, y co-ordinates. I want to calculate the slope of the river channel at each point from the underlying DEM by taking ...
2
votes
4answers
466 views

How to take 2 points from One featureClass, create a line between those points, and add the line to a new featureClass (aka Shape File)?

I'm a total noob/beginner in ArcObjects. I'm coding in C#. I want to extract 2 points from a given featureClass, create a straight line between those 2 points, create a new feature class and add ...
1
vote
1answer
59 views

How to measure and mark a line or point as a template QGIS?

I'm digitizing some of our sewer assets and need to be able to measure distance and create points. So, for instance, I have a sewer main that is 65m long. I need to mark a point at the 32m mark, then ...
1
vote
1answer
525 views

ArcGIS 10.2 Extract Polyline from Start/End Coordinates

I have two files. A polyline shape file of highways and a spreadsheet that contains beginning and ending coordinates w/ descriptions of segments of the highways. For example: BegX, BegY, EndX, EndY, ...
0
votes
0answers
109 views

Help with building a batch model to extend radiating lines to nearest feature for multiple points

I'm new to using modelbuilder in ArcGIS 10 and was hoping I could get some help for creating a batch model to extend lines from points to the nearest feature. Here's what I need it to do: 1) ...
2
votes
2answers
275 views

How to create links between points and nearest vertex of polyline feature class?

I have a point feature class and for each point I want to find the nearest vertex on a polyline feature class. I then want to create a line between each point and it's nearest vertex on the other ...
7
votes
1answer
623 views

How to determine the longest line segment within a polygon that passes through its centroid?

A PhD student approached me recently asking how one would determine the longest straight line that passes through the centroid of a polygon, the output being a polyline rather than just a table of ...
0
votes
1answer
352 views

How to get polyline features from a raster file using ArcGIS 10.1?

I have a watershed accumulation file look like this: There are several white lines by visual, and I tried the raster to polyline tool and got this: Are there better ways to extract polyline ...
5
votes
2answers
181 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 ...
0
votes
1answer
55 views

Line style width property not being applied in QGIS 2.0.1

I change the line width of my style and click apply, but the property does not seem to be applying to my line data.
19
votes
3answers
4k views

How can I switch line direction in QGIS?

Something that is hopefully pretty easy. I would like to be able to swap the direction of a polyline/line in QGIS. I made a custom tool to do this in MapInfo a couple of years ago, however I can't ...
5
votes
3answers
1k views

How to create spider diagrams (hub lines) in PostGIS?

I'm rather new to PostGIS but I have done a lot of reading. One thing that I have been searching for is a function that allows users to create a "spider diagram" (also called "desire lines" or "hub ...
10
votes
3answers
2k views

Leaflet: how to draw curved lines?

So, I'm trying to draw curved lines in my application which is based on a Leaflet map. As far as I know Leaflet does not support drawing curved lines at the moment, so my question is really more ...
5
votes
2answers
6k views

How to write a script that will automatically draw lines from one point to multiple destination points? (ArcMap 9.3)

I need to create lines from an airport to numerous destination locations. The destinations change often, so drawing them manually becomes tedious. I want to create a script that will draw them ...
11
votes
2answers
1k views

How can I make a polyline wrap around the world?

I am using leaflet maps to create a representation of a round-the-world challenge. I would like to add a polyline which heads east from tokyo and then appears west of south america on the map - but ...
2
votes
2answers
363 views

minimum distance from the shore (how to retrieve the “shore vertices”)

I am student of Statistics, this is my first time using GIS., I am sorry for the stupidity of the question but I browsed online and could not find a satisfactory answer. I have some spatial data in ...
13
votes
6answers
4k views

What tools in Python are available for doing great circle distance + line creation?

I need to use Python to create a great circle distance -- both a number, and preferably some kind of 'curve' that I can use to draw in a client-side map. I don't care about the format of the curve -- ...
-3
votes
1answer
142 views

How to create a polyline feature from a point layer

I would like to create a route line based on a point layer. The existing tool does not meet the customer requirement. But using the code snippet below, the start point and end point are always the ...
2
votes
2answers
686 views

how to make a line from a set of gps points?

As a part of my research I need to create the trajectory of respondents according to the their collected GPS data (including X and Y). I am familiar with python programming, but I am a beginner in ...
1
vote
1answer
522 views

From a trajectory of GPS points to a multiline segment

Given a trajectory as a sequence of GPS points I would like to create a smooth linestring representing a path where a car drove. The data is stored in postgresql: the input trajectory in a table, ...
4
votes
2answers
341 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 ...
11
votes
5answers
4k views

How can I map a matrix of origins and destinations in QGIS?

I have a central point on a map, and I have other points in a separate layer (the location of a venue, and the origin cities of the venue visitors). Is there a plugin which would generate output ...