Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
12
votes
3answers
5k views

Connecting line features and determining the length of the longest line

I have a line feature (see image) representing a river that I created using the Stream_to_Feature tool. The attribute table contains several records representing different lines - the problem is the ...
6
votes
3answers
4k views

Connecting markers by following the roads in Google Maps

I have many markers in a kml file. All the markers are on the roads. I wonder if there is a way to process the data and connect the markers by following the road? Of course, the markers should not be ...
9
votes
5answers
14k views

Converting shape Polyline-M to Polyline using ArcGIS Desktop?

I have some pretty old software that I am forced to use (no option). It's old enough that it doesn't recognize shapefiles of type Polyline-M, it only recognizes shapefiles of Polyline. I have a ...
50
votes
6answers
15k 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 ...
4
votes
6answers
45k views

How to connect points with a polyline in ArcMap 10?

I have a layer containing a few hundred points representing a survey track. The points are laid out in chronological order in the corresponding attribute table. How can I have ArcMap 10 automatically ...
1
vote
3answers
4k 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? IPolyline line = new PolylineClass(); ((IPointCollection)line).AddPoint((IPoint)sourceFeature.Shape); ((...
3
votes
2answers
1k views

Is there a way to make a straight line in ArcEngine 10 (Polyline but with ONLY start and end)

So I want to allow the user to create a connection between 2 polygons on my map. So it doesn't make sense to allow them to draw polyline with multi points. My question is, is there a way I can do ...
5
votes
1answer
304 views

Creating dynamic links between features

I currently want to create links between 2 features. Ie., I have 2 basins that flow out and I want to use a line/polyline to have a link out of them and both point to a common 3rd feature, indicating ...
5
votes
2answers
2k 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 ...
8
votes
4answers
926 views

Joining lines when direction is not known

I am struggling with this problem. I have a polyline made up of several segments. Each segment is made up of points, each point identified in 3D space by coordinates and elevation. Together, if ...
11
votes
2answers
8k views

Creating line of varying distance from origin point using Python in ArcGIS Desktop?

I'm trying to create a line feature from a single point, using a set distance and angle using ArcGIS and Python (ArcPy). I have a point at these coordinates: X = 400460.99, Y = 135836.76 From ...
4
votes
1answer
563 views

Convert Landmask file into WKT Polygon

I have a land mask file in netCDF (also in ascii, if needed) which basically consists of a lat/long pair and a boolean (1 or 0) determining if that value is over land or not. The thing is, I'm not ...
6
votes
6answers
5k views

How can I get my GPS track data into a graphics program?

I'm using a Garmin Edge 705 bike GPS/computer unit, which produces .gpx files. I can use the standard software it comes with to plot on Google Maps etc, but I'd like to be able to output just a vector ...
7
votes
5answers
9k 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 ...
4
votes
2answers
726 views

Digitizing raster in ArcGIS Desktop?

I have the raster below which I want to convert to a set of vector lines: As you can see, there are small breaks in the lines and some bits are double-width. I want to be able to reliably import ...
3
votes
2answers
924 views

esri google maps api - Create a single GPolyline from an array of features

I'm using the esri google maps extension api... I have a esri.arcgis.gmaps.FeatureSet() (of type esriPolyline) containing an array of features (esri.arcgis.gmaps.Feature()). Is there a simple way ...
4
votes
3answers
8k views

Draw lines from points

Please any body help me for creating lines from points in electric network for instance electric poles are there in point feature with "polename" field like "P01", "P02", "P03" etc. I need a tool that ...
9
votes
2answers
1k views

Scriptable alternative to ArcScan (particularly vectorising lines within tolerances)?

Sadly the answer to Can you access ArcScan from a python script? suggests that it is not possible to script ArcScan from within a python script. Therefore, does anyone know of any alternatives to ...
18
votes
0answers
8k views

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

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 ...
6
votes
9answers
13k views

ArcGIS: Create a line layer from a point layer and csv data file

UPDATED DECEMBER 20 I have a Regular point layer and a csv file that has the same ids as the point layer. The csv file is organized as ID From To Weight -- ---- -- ------ 01 ...
8
votes
3answers
3k 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 ...
19
votes
2answers
8k views

Finding tunnel center line?

I have some map files consisting of 'polylines' (each line is just a list of vertices) representing tunnels, and I want to try and find the tunnel 'center line' (shown, roughly, in red below). I've ...
3
votes
5answers
2k views

script for automated line drawing procedure for set of start and end points [closed]

A colleague conducted a field survey and recorded the start and end points of the transects with a GPS. These points have been imported to ArcMap 9.3 as 2 point layers. Both layers have a "transect ...
8
votes
1answer
2k views

Determining longest line segment within 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 ...
5
votes
3answers
19k views

Creating line with specific length using ArcGIS Desktop?

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.
4
votes
1answer
677 views

How can a single line be computed from multiple possibilities

I have datasets containing continuous GPS streams of data that represent routes or trails. For any given route, I probably have at least 5 (in some cases many more) different sets of data. Given that ...
5
votes
2answers
11k 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 ...
19
votes
4answers
6k views

Creating 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 ...
12
votes
5answers
12k 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 ...
20
votes
6answers
13k 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 -- ...