Questions tagged [polyline-creation]

Used for questions about making polyline features

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

How to divide a single polyline feature into multiple features based on points located on it?

I have a shapefile that contains the bus route information for a city. I want to do two things... Merge all the existing rows so that just one feature represents all the routes... I have a Points ...
24
votes
9answers
37k views

Merging lines with slightly different endpoints 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 ...
8
votes
2answers
400 views

How to derive vehicle paths from timestamped location data?

I've got a bunch of location data for snow plows. There's a unique id for every plow, a timestamp, and x & y coordinates. Instead of knowing where hundreds street plows were at one minute ...
14
votes
2answers
5k 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 ...
7
votes
3answers
10k views

Finding line length while editing in QGIS?

I am using QGIS. 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 being created?
4
votes
1answer
899 views

Why is my polyline on the wrong bearing?

I am trying to overlay duplicate segments of polylines on a map via javascript. I am using latlon.js and geo.js from here The idea is that a user can input the distance they have travelled and when ...
1
vote
1answer
1k views

Creating perpendicular polylines of specified length that retain attributes of original polylines using ArcObjects and VBA?

I am using ArcGIS 9.2 and am desperately trying to create perpendicular polylines to existing polylines that I have. I would want the perpendicular lines to cross the original lines at their midpoint ...
0
votes
1answer
1k views

Mapinfo incorrect polyline (boundary) map to region conversion

How to solve issue regarding incorrect boundary to region conversion? I have boundary map plotted on cosmetic layer when I convert it to region it results in line with overlap to other region. The two ...
11
votes
4answers
6k views

Creating arcs between two points in ArcPy?

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 (...
7
votes
4answers
1k views

Deriving separate polylines from coded points using ArcObjects (Figure inside)

I have a single point featureclass that represents the left and right sides of a landform (the points are coded as either 'right' or 'left'). Visually I can pick out and digitize two lines along these ...
2
votes
3answers
3k views

ArcGIS 10's Editor and Snapping toolbars question (snapping polyline to another polyline)

Have attempted this about 20 different ways using Editor / Snapping Toolbars and ET GeoWizards but still cannot find solution. Screen shot is attached. Need to snap the green polyline to the red ...
2
votes
0answers
274 views

Creating parallel lines in MULTILINESTRING table using Postgis? [duplicate]

Possible Duplicate: How to create one-sided buffers or parallel lines in PostGIS? I need to make parallel lines on a MULTILINESTRING table, similar to st_buffer, but that the result come be lines,...
3
votes
1answer
2k views

Openlayers Add features performance for 3000 lines

We would like to implement the function of Addfeature in openlayers to draw lines and push them onto a vector layer, and overlay this layer onto open street map or google map. Those lines are draw ...
4
votes
4answers
3k views

How to determine a point lays within a polyline in arc engine?

I recently asked a similiar question on this, however I needed to know if there is a way to solve this if I only have a IPolyline Feature, and not the whole layer. I want to know if I can determine ...
5
votes
3answers
2k views

Get part of polyline based on 2 points in Arc Engine

Currently I have a layer with polylines; in another layer, I allowed the user to create 2 points on the polyline. I want to know if there is a function for the polyline feature that I can use to get ...
11
votes
4answers
20k views

Making one part polyline from multipart polyline?

I have a polyline which is divided into multiparts and these parts are not well ordered so that the vertex's ID are not following the polyline's plotting. This polyline is a representing a bus line ...
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
15k 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 ...
51
votes
6answers
16k 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 ...
3
votes
5answers
46k 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
1k 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
9k 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
578 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
10k 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
851 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
934 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
9k 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
20k 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
713 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 ...
22
votes
6answers
15k 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 -- ...

1 2 3
4