Used for questions about making polyline features

learn more… | top users | synonyms

11
votes
5answers
3k 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 ...
1
vote
0answers
329 views

Length in meters arcobjects [duplicate]

i have a an array of polylines in epsg:3857 projection, and i want to calculate length of each polyline. i am new to arcgis and arcobjects, i couldn't find the functions that i need. Should i use ...
3
votes
1answer
836 views

How to create an offset polyline in arcpy?

I am trying to create an offset polyline using arcpy, identical to the function in ArcObjects (constructoffset). After trying to access ArcObjects in arcpy, which I found difficult for those not ...
1
vote
1answer
683 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
3answers
861 views

How to create svg line style in QGIS?

I need to draw an telephone or energy lines as is done on the polish-core map. Thelephone line was drown by the polyline. I tried the SVG symbols, when I have a lot of single-lines, for each I 'put' ...
3
votes
2answers
818 views

Generate non-overlapping shapes from a buffer

I have a collection of points, and I need to generate shapes around these points. Let's assume that these points are locations of offices and that the shapes are the 'area of responsibility' around ...
1
vote
2answers
556 views

How to import matlab data into ArcMAP?

I'm creating regression lines using matlab from points having UTM geographic coordinates. I would like to import those regression lines into a map of the same area in ArcMAP. My question is what ...
2
votes
1answer
735 views

Conversion of raster features to polylines: skeletonization?

I would like to identify linear features, such as roads and rivers, on raster maps and convert them to a linear vector features (i.e. polylines). I typically use R as my primary GIS, and have posed ...
1
vote
1answer
1k views

How to create multipart line and polygon with interior ring in ArcGIS Python?

My objective is to swap X,Y coordinates of feature classes using Python and arcgisscripting. Based on help examples, I managed to write script which reads and writes all geometry types. The problem ...
4
votes
6answers
7k views

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

I have a shape file 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 ...
9
votes
6answers
8k 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 ...
7
votes
2answers
295 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 ...
10
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 ...
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 ...
4
votes
1answer
483 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
895 views

ArcGIS - VBA - How can I create perpendicular polylines of a specified length that retain the attributes of the original polylines

i, 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 ...
0
votes
1answer
673 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 ...
8
votes
4answers
2k 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 ...
6
votes
4answers
904 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
2k 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
229 views

How can I create a parallel lines in a 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 ...
3
votes
1answer
1k 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
2k 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 ...
4
votes
3answers
930 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 ...
10
votes
4answers
9k views

How to make a one part polyline from a 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 ...
9
votes
4answers
2k 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
2k 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 ...
7
votes
3answers
4k views

Convert Shape Polyline-M to Polyline

I have some pretty old software that I am forced to use (no option). It's old enough that it doesn't recognize shape files of type Polyline-M, it only recognizes shape files of Polyline. I have a ...
19
votes
3answers
3k 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
5answers
21k 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
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(); ...
3
votes
2answers
484 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
259 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 ...
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 ...
8
votes
4answers
425 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 ...
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: ...
4
votes
1answer
426 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
4answers
1k 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 ...
4
votes
4answers
4k 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 ...
3
votes
1answer
470 views

How to sensibly digitise this raster, scriptably, in ArcGIS

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
775 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 ...
3
votes
3answers
6k 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
660 views

Scriptable alternative to ArcScan (particularly vectorising lines within tolerances)

Sadly the answer to this question suggests that it is not possible to script ArcScan from within a python script. Therefore, does anyone know of any alternatives to ArcScan (either within ArcGIS, or ...
14
votes
7answers
3k 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 ...
5
votes
9answers
9k 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 ...
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 ...
17
votes
3answers
3k views

Find 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 ...
4
votes
6answers
2k views

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

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 ...
7
votes
1answer
602 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 ...
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? ...