Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [polyline-creation]

Used for questions about making polyline features

2
votes
0answers
44 views

Finding the optimal boundary polyline in QGIS

I am looking to find an optimal boundary line between two geographically separated sets of points (a vector layer with S and N points representing two genetic lineages within a species). I would like ...
2
votes
0answers
257 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,...
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); ((...
1
vote
1answer
3k 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 features ...
1
vote
2answers
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 ...
1
vote
1answer
861 views

Drawing perpendicular line between point and line layer using ArcMap?

I have downspout points that are currently emptying at the foundation. We need to redirect those into the roadway to be collected by the storm sewer. However we need to check that there is enough ...
1
vote
1answer
2k 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
1answer
420 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 ...
1
vote
1answer
21 views

Create Polyline from Coordinates Array in OL OpenLayers 5.3.2

I'm using OpenLayers 5.3.2, and would like to create my own marker animation using almost exactly the example at https://openlayers.org/en/latest/examples/feature-move-animation.html?q=marker All I'd ...
1
vote
1answer
20 views

Polylines setLatLngs

I am trying to give a polyline a new set of co ordinates from a server. When trying to use the .setLatLngs method to redraw the new line with updated co ordinates i get the error "Uncaught TypeError: ...
1
vote
1answer
138 views

How to get the Z values of existing lineStringZ with pyqgis?

I can get the values of 3D QgsPoints with mypoint.get().z() When I iterate through a layer to get a specific polyline and then iterate through the polyline to get the start and end points- start_point ...
1
vote
1answer
90 views

Euclidean distance and connecting lines between polygons using ArcMap?

I have a large set of polygons. I want to (1) calculate pairwise distances between polygons (so one polygon should be connected to several others). I can do this using the generate table in ArcMap. ...
1
vote
1answer
129 views

How to Make Lines Automatically Adjust same with Another Line (Route or Road)

I have 1000 lines and 1 route or road line. I want to automatically my lines adjust to route or road without erasing all data in the attribute table. My expected results, 900 lines will same with the ...
1
vote
1answer
108 views

Unsplitting lines with ArcGIS tool 'Unsplit Lines'

I have tried to use the ArcGIS tool 'Unsplit lines' to get one polyline from multiple touching lines. Somehow, it does not work with some features. Have a look at the pic nr 1. In the pic you see one ...
1
vote
1answer
32 views

cutting waterlines at the edge of polygons

Using ArcGIS 10.3, I would like to cut the river lines at the edge of water body polygons bordering the region. Using the intersect tool and split line to points tool resulted with the disappearance ...
1
vote
1answer
42 views

Extending polylines via basemap reference in ArcGIS Desktop?

I have a polyline feature of a pre-existing bus route (let's call it "Route A"). I want to extend the polyline of Route A, using a basemap as reference. I don't want to totally freehand it, my first ...
1
vote
1answer
45 views

arcpy.polyline doesn't work properly

I'm sort of newbie to arcpy and trying to create a polyline based on the some predefined points which are put within "network_ND_Junctions1.shp". The code I've written seems like this: import arcpy ...
1
vote
2answers
497 views

How to convert multipoint attribute to polyline in QGIS?

I have a multipoint layer in QGIS with 860 points. Each points has some attributes value from a join, and I need to use one of those attributes (a column) to draw polylines. I need one polylines for ...
1
vote
2answers
167 views

Replace Polyline Geometry on Zero-Length Polyline

I have an app that occasionally generates zero length polylines with identical start and end vertices. I need to modify the geometry for these features so that the end vertex is slightly different ...
1
vote
1answer
117 views

Raster to polyline with only one feature for each unique value

When I convert my raster layer to a polyline layer, the cells that are located very close to each other (even with different values) are connected to each other which is unwanted and very hard to get ...
1
vote
1answer
636 views

Creating lines that connect the centroids of adjacent polygons to one another

I have about 10 polygons, and I have added their centroids to the map. I want to create lines connecting the centroids of each adjacent polygon. If polygon 1 borders polygon 2 and 3, I would like a ...
1
vote
1answer
1k views

How do I draw North-South, East-West, Northeast-Southwest, and Northwest-Southeast lines?

Is there a way to draw four line segments through a point that extend in 8 directions based on my coordinate system?
1
vote
1answer
436 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 ...
1
vote
1answer
167 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
2k views

ArcGIS 10.2 Extract Polyline from Start/End Coordinates

I have two files. A polyline shapefile of highways and a spreadsheet that contains beginning and ending coordinates with descriptions of segments of the highways. For example: BegX, BegY, EndX, EndY, ...
1
vote
1answer
793 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 ...
1
vote
1answer
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 ...
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 ...
1
vote
0answers
100 views

Drawing longest polyline within polygon? [closed]

I am looking for a GIS tool/script (preference on QGIS but I can also use ArcGIS/Matlab) that allows creating a polyline layer from a polygon layer where a polyline is drawn for each polygon. The ...
1
vote
0answers
24 views

Checking snapping connection of polylines? [closed]

I would like to find a method using ArcMap that could check if all polyline are snapping and connected. I tried to create road network, but I can see this information. I have multiple polyline, and ...
1
vote
0answers
28 views

Forcing “snap-to-road” when reshaping a line via basemap reference in ArcGIS desktop?

Sometimes, when I use "reshape a feature" in concert with a basemap, I'll find that the resultant line doesn't automatically snap to roads if a pair of verticies are far apart: But at the same time, ...
1
vote
0answers
37 views

2D Curve to poly-lines transformation through triangulation?

I'd like to understand whether it is possible to change the curve in the picture to a sets of poly-lines through triangulation? and is it possible in QGIS? Otherwise, are there other methods to ...
1
vote
0answers
148 views

QGIS Start and endpoint marker line and polyline

I have a DWG file with lines and polylines. I would like to know how to make a point at each side of the line. Like a startpoint and a endpoint. I do not want any points in the middle just start and ...
1
vote
0answers
360 views

QGIS - Polygon to Lines Tool Incredibly Slow

I am trying to convert a few polygons to polylines so I can save them as a .GPX file. I'm using QGIS 2.8.1 (Wein) on the Mac. It seems to be hanging. I only have a few small polygons (see screenshot)...
1
vote
1answer
448 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 ...
1
vote
0answers
414 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 ...
0
votes
2answers
858 views

Define pen width of a Line layer in PyQGIS

I have created a line shapefile layer (memory layer) created in Python Console of QGIS. Now I want to define the thickness of the line features that are being created. I am aware of the method by ...
0
votes
3answers
570 views

Add nodes to polyline at set intervals

I have a shapefile polyline which I would like to add nodes to at set intervals along its length. Is this possible in ArcGIS 10.2 and how would I go about it?
0
votes
1answer
364 views

Create polyline using MapBasic (unknown number of nodes)

I'm trying to create pline using MapBasic. My idea was to create simple tool with dialog box containing couple of EditBox, PopupMenu's to retrieve pline attributes from user. So far I have only making ...
0
votes
2answers
1k views

Drawing BTS sectors in GSM?

I'm very new to Mapbasic. I tried to make a short code to draw some BTS in GSM but I can't do thant (over 1 month). I have a table with these column: Sitename, Lon, Lat, Azi, Beam, Dist. Can ...
0
votes
2answers
2k views

Creating 3D lines from 3D points

Can you tell me the procedure in ArcGIS 9.3 to create 3D lines which connect the 3D points using the elevation of the points. For example, if pointA has 20 elevation and pointB has 30, then the line ...
0
votes
1answer
145 views

How to smooth XY Co-ordinates of linear feature?

I need to smooth xy co-ordinates. see the image: In this case, i need to remove 5,6,7,8 and 9th co-ordinates or need to make those co-ordinates as a straight line between 4th and 5th. is there any ...
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 ...
0
votes
1answer
15 views

Empty ShapeLength when running Insert Cursor for Polyline

I'm looking to create a new feature class using only selected data from a source feature class. I can get this to work but the ShapeLength field is 0 when I run this script and therefore the feature ...
0
votes
1answer
66 views

Counting points within 100km Buffer of country borders using ArcGIS Desktop?

I have a dataset composed of points and projected on a shapefile describing European countries. My goal is to create a new shapefile, with zones specified 100 kilometers around the borders in-between ...
0
votes
1answer
57 views

Determining the Longest Segment of a Non-Continuous Polyline

I have a polyline that is non-continuous (please see picture, polyline is in red). I am looking to separate the polyline based on this geographic discontinuity so that I can calculate the length of ...
0
votes
1answer
26 views

Creating PolylineZM from Points using ArcGIS Desktop?

I have a point feature class that is essentially hundreds of vertices along a single line. The Attribute Table contains MD (Measured Depth) values, XY fields of each point feature, and a ID field for ...
0
votes
1answer
123 views

Routing - How to deal with polyline with fork?

I currently work on a routing system for kayak tours. In ArcGIS I have a polyline shapefile with each polyline representing a route with a description. The problem I experience is with routes that ...
0
votes
1answer
223 views

Create single KML from multiple encoded polylines

I have a number of encoded polylines stored in separate database records. I can successfully retrieve each one, decode it and create a single KML file. However, I need to create a KML file that ...
0
votes
1answer
371 views

ESRI ArcGIS error: Zero length polylines not allowed [closed]

While writing a simple ICommand in ArcMap 10.2.1 using C# that lets you select two different point features on the map and it creates a feature in a polyline feature class with those two points as its ...