# Questions tagged [polyline-creation]

Used for questions about making polyline features

179 questions
Filter by
Sorted by
Tagged with
2k views

### From trajectory of GPS points to 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, ...
1k 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 ...
3k views

### How to create perpendicular line from point on one line to an intersection with the nearest polygon layer?

I am trying to create laterals from a layer of sewer mainlines and have yet to Google a thoroughly helpful answer. Hoping to find some help here. I have a layer of mainlines that have a direction ...
385 views

### Curve from a Douglas-Peucker line

When generating a line using the Douglas-Peucker Algorithm the resulting object is a line with steep angles, I would like to "smooth" that line and making it look less "squarish" using curves, like ...
6k views

### How to create a multipart polygon?

I have two polygons that consist of two separate polygons/lines in QGIS). How can I make this into a multipart polygon, which consists of 1 line in QGIS?
1k 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 ...
1k views

### How to draw a line between two places with via-points?

I have prepared a GPS-tracking dataset, currently consisting of one table with stopping points and one table with the raw GPS-points. The first table contains a column for any stopping point showing ...
425 views

### Create lines from a Blob field in ArcMap/Catalog or FME (or any other way)

Is there some way to create lines from geometry stored in a Blob field? It's a SDE-database line feature class that has crashed in some way, but I can still get the raw data and the feature class ...
1k 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?
829 views

### Why ignores Google Earth the gx:altitudeOffset in KML files?

I am currently writing software that creates 3D polylines and outputs these in KML format. According to the official documentation it is possible to define an altitude offset via gx:altitudeOffset to ...
10k 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 ...
3k views

### How to create a shapefile consisting of 2 lines using Python OGR?

How would you create a shapefile consisting of 2 lines using Python OGR? First line is no problem, but how do you reuse MyLine and Feature objects to create the second line? Ultimately this will ...
1k views

### How to create polygon from xy data?

I have huge number of x and y data . these are left longitude,right longitude,buttom latitude and up latitude. each row is an extent of a polygon.i'd like to create a polygon using these data without ...
12k 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 ...
869 views

### How to create polyline feature from two input points by following/tracing another polyline?

I have a list of things each have two grid references, start and stop points. I can turn these into points and join them with polylines. But what I need to do is have the lines that join the points ...
4k views

### How to create transects from polygon centroid?

I have mapped potential study sites using polygons. What I want to do is create 9 125m transects spaced 75m apart. The center point of the middle transect needs to be the centroid of the polygon. Do ...
3k views

### Densifying polyline according to specific length using QGIS? [duplicate]

I am using QGIS 1.8.0 I would like to densify a polyline according to a particular length of segment (ex. 200 m). I know it is possible with other GIS software. Is it possible to do this in QGIS?
1k views

### How to display hidden line types properly when printing from AutoCAD?

I want to show the pline type in hidden line type but when I change it I can't show it in printed paper, if I explode it the line are so small that can't show at print, so I want to change the pline ...
2k views

### How to join lines in QGIS for later using “lines to poly”?

After successfully merging lines (using snapping) with merge_selected_features i got nice result - one merged line. Next thing was to make polygon from created merged line. Result is not nice - it ...
2k views

### Making line from set of GPS points using ArcGIS for Desktop?

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 ArcGIS. I want to write ...
2k views

### Creating random points along 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 ...
4k views

### Creating cross-sections in ArcGIS Desktop? [duplicate]

Is there the possibility if I have a polyline (named "Linedivide") which is divided into, let's say, 5 parts to make ArcGIS draw perpendicular lines of special length at the middle of all 5 parts of ...
3k 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 ...
2k views

### Basic User Questions: Tracing a Border in QGIS [closed]

The project: I'm plotting a dilapidated cemetery, I'm using GPS waypoint data to plot the headstones in QGIS. The map I'm making is to show the orientation of the graves, and who is in them. I ...
15k views

### Mapping 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 ...
422 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 ...
3k 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 well-...
1k 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 ...
2k 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' ...
2k 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 ...
2k 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 ...
2k 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 ...
2k views

### How to create multipart line and polygon with interior ring in arcgisscripting?

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 ...
11k 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 ...
34k views

### How to merge 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 ...
383 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 ...
4k 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 ...
7k 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?
866 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 ...
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 ...
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 ...
5k 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 (...
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 ...
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 ...
263 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,...
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 ...
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 ...
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 ...