A set of ordered co-ordinates that represent the shape of geographic features too narrow to be displayed as an area at the given scale (contours, street centrelines, or streams), or linear features with no area (county boundary lines)

learn more… | top users | synonyms

3
votes
1answer
31 views

Checking if two WGS84 lines intersect in JavaScript

I am trying to work out given two GeoJSON lines (WGS84), if they intersect (i.e. cross one another). Let me give some pseudocode to illustrate: // Providing Line 1 = lon1, lat1 and Line 2 = lon2, ...
2
votes
0answers
30 views

QGIS 2.12.3 Crashes on buffering line vectors

I'm using QGIS 2.12.3 and I'm trying to create a buffer of 100 mt around a line vector using the Vector - Geoprocessing Buffer tool, but qgis crashes at every try. I've already checked that the RS of ...
0
votes
1answer
116 views

Calculate line density within a buffer in R [closed]

How can I calculate road density within a buffer (km/km²)? The roads are represented by pixels (1 pixel = 625 m²) in a raster map. So I began to convert the road pixels into polylines by using the ...
2
votes
4answers
1k views

Finding center point of MULTILINESTRING using PostGIS?

How to find the center point of MULTILINESTRING, which lies on the multiline? I am using SQL in PostGIS
1
vote
2answers
179 views

Split polygon based on line segment

I am trying to split a street polygon based on the segment ID of the street, giving them the same segment_ID in the attribute table of the street lines. I did not use the line feature class to derive ...
2
votes
1answer
9 views

Line offset issue with Geoserver

I'm using Geoserver 2.6.2 and QGIS 2.10 to check my WMTS display. According to the documentation, I have tried 2 different ways to draw a line offset for a line-type layer, but none is working ...
3
votes
1answer
25 views

Advanced Digitizing Panel bad value or bug?

This is my first post here. What would cause the "Advanced digitizing panel" D (length) to show up wrong? I'm in the US using WGS 84 as CRS. If I add a feature (line) Advanced Digitizing Panels ...
2
votes
2answers
67 views

Extending line by adding point at end of it using QGIS?

I'm using QGIS 2.8 to modify a line. I need to add a point on one end of this line, and then move this new point further away, leaving the original end point in the same place. I can manage to create ...
0
votes
1answer
452 views

Update Point ID as Start Node and End Node to Line through FME

I need your help to perform the below process in FME. I have two layers: Pole Data (Point) and Cable (Line). Cable has no ID. I want to keep the Cable which is going through the Pole. Then make the ...
3
votes
0answers
27 views

Movement in cartodb

I have a DB with the history of the movement of a migrancy family. I would like to display these movement. How can i do? this is a good example my target
0
votes
1answer
33 views

Connecting two points in ArcGIS for Desktop?

I have two types of point shapefiles. These two points are linked with another attribute table. Each Point from column A is linked to single/multiple values in column B. Each of these object_IDs have ...
6
votes
1answer
184 views

How to connect centroids of lines sharing the same intersection in QGIS?

I'm looking for a big help to accomplish the following task: I have this street network of the center of Turin (IT), composed by lines representing streets, and black points representing ...
1
vote
1answer
235 views

“construct points” troubleshooting

Apologies for the potential simplicity of this problem but I just cant find a solution! I need to create a series of points along a line at a specific interval. I am using ArcMap 10.2.1 and the ...
1
vote
1answer
33 views

Connect multiple 2 points with a line in ArcGIS?

I have a table in which each row has two columns representing the objectID of two different point features in the Map. There are thousands of such rows. How do I connect the each of these two points ...
9
votes
4answers
3k views

Finding centrelines from polygons in QGIS?

I was wondering if there is a way to create centre lines from polygons in QGIS? I have a polygon layer, but ideally need the centrelines as a separate file.
1
vote
1answer
54 views

In PostGIS: how to split linestrings into their individual segments?

I have one table with many linestrings and I want to make a new table containing the individual segments of all the linestrings, no matter if they are grouped line per line or not. This is my ...
0
votes
1answer
31 views

Extracting raster values to polyline feature

I have a line overlaying a raster containing slope values. I would like to use the line to extract the slope values, and return to its attribute table an attribute containing percentage of slopes ...
3
votes
1answer
78 views

Extracting values from raster under line using GDAL?

How can I find the cells which lie on a straight line between two points? I.e. how can I find the indices of the cells (in grey) which are intersected by the line defined by the two points (in blue): ...
6
votes
2answers
2k views

Checking "connectedness'' of line shapefile in ArcMap?

I inherited a line shapefile in ArcMap that is used to represent a road network. The problem is that the road network is pretty large and it is impossible for me to: Tell if the end of each line ...
3
votes
1answer
82 views

How do I create a SpatialLinesDataFrame from a dataframe?

I have created a data.frame in R . I want to get SpatialLinesDataFrame as a result so I understand that I have to convert the data.frame into lines, the lines into SpatialLines and the SpatialLines ...
1
vote
1answer
44 views

How to export polyline layer from Yandex Maps

I am interested in exporting a polyline layer(s) of Moscow bike routes from Yandex maps. The layer does not belong to me but it is open to public use. I would prefer a KML, but just getting the ...
4
votes
1answer
39 views

cartographic line develop spikes when applied offset value

version: ArcGIS 10 I am using a number of lines in certain polygon. As I apply offset value to the outline, spikes/kinks are produced as shown in the picture. Any solutions to remove the spikes and ...
1
vote
1answer
46 views

QGIS Polygon edge style based on adjoining feature?

Is there a way to change the style of only PART of a polygon's border in QGIS? I would like one or two edges of certain polygons to render a different color, or not at all, depending on the type of ...
2
votes
2answers
3k views

Fastest way to Join tables in python automation

My issue comes form the fact that doing Joins manually is actually relatively quick (5mins), but python automation of this process is 6hrs! Here is my code: import arcpy GDB_MARK_TO_MARK_VECTOR_VIEW ...
0
votes
0answers
99 views

ArcMap line shifted after export

I am working on a map with road layer. I have a dashed line as a symbol for planned highways. It is OK in the ArcMap but after the export to pdf, one of the lines is shifted. Strangely it is happening ...
4
votes
0answers
21 views

“Merging” 2 layers of LineString with splits at intersections

I would like to "merge" 2 networks of lines and these lines need to be split when they intersect. With pictures it should be clearer : What to do: if a black line intersects a red line, they ...
1
vote
0answers
21 views

parallel row detection from binary image [closed]

I have an image and want to be able to get those lines at the left side where they are clearly parallel and those little horizontal lines like at the right side don't exist between them. I used ...
2
votes
2answers
73 views

Creating coordinates from beg and end points on a line [duplicate]

Is it possible to create WGS-1984 coordinates from the start and end points along a line segment? The line features were created using linear referencing but now I need to create lat and long ...
2
votes
1answer
41 views

How to calculate proportion of a line segment around a point?

I am looking at certain variables surrounding points that represent Sea otter raft sites. The coast line surrounding the points is broken into unit lines (Essentially a polyline with attributes for ...
2
votes
1answer
34 views

Why there is no “View Output” button for the command “v.to.points” in Grass plugin in QGIS?

How do i get or where do i get my output vector point layer after i run the command v.to.points to my vector line layer?
1
vote
0answers
25 views

Extracting distances along a line from postcode a centroid to the nearest point (bus stop)

I'm looking to measure the distance from postcode centroids (point file) in a city to the nearest bus stop (point file) along the road network (line file). In Qgis I can calculate the distance but ...
2
votes
2answers
54 views

Place point label perpendicular to line segment

I have a point shapefile with attributes and I want to make the label be perpendicular to a line shapefile, is this possible? Basically my points represent houses and I want the house label to show up ...
3
votes
1answer
192 views

How to add dashed line in QGIS print composer

I want to display two maps in the print composer: a main one, and another showing a zoomed in section of the main map. I've drawn a rectangle over the original region and want to add two dashed lines ...
0
votes
1answer
49 views

How to convert a line shapefile to a polygon shapefile? [duplicate]

I am using Arcgis 10.1 and have an existing line shapefile that i would like to convert to polygons.
0
votes
1answer
60 views

Copying point features along line features by predetermined distance

first post here. I searched the forum for this issue but other cases were slightly different. Anywho... I have points in a feature class. Each point has its centroid on a unique line feature in a ...
2
votes
1answer
71 views

How to get the center line between two linestrings

Where is the track of a ship when it is shipping always in the center of the English Channel between the coasts of Great Britain and France? I started with 2 linestrings and I created a lot of ...
0
votes
2answers
15 views

Control of Output Raster Extent w/ Line Density Tool

In ArcGis 10, I am using the line density tool. The output raster doesn't cover the whole of my study area. How do I control the extent of the output raster?
2
votes
1answer
28 views

Making a Leaflet line feature more 'grabbable'

Is there a way to increase the buffer that makes a line clickable in Leaflet? I know you can increase the width of the line, but the symbology of my feature should not be altered in this case; it ...
0
votes
2answers
126 views

How to get the coordinates of the starting and ending points of a line in ol.interaction.Draw in OL3

I'm using Openlayers3 for drawing and storing lines, and then doing some processes on the inputs. Now I want to get the coordinates of the starting and ending points of the line while the line is ...
2
votes
1answer
47 views

Styling line layer based on two attributes in QGIS ? (1 discrete and 1 continuous)

I have found a really helpful tutorial to style points based on two attributes. Is it possible to make style lines based on two attributes? I have a shapefile with streets that have two attributes: ...
3
votes
1answer
79 views

Merge connected lines IF they share adjacent polygon(s) (arcgis/arcpy)

I have lots of lines that I need to merge IF and only if they share the same polygon(s). All lines are made from the polygons (copy-paste into line) so they all snap. In this little example line ...
3
votes
2answers
400 views

Can't transform lines to polygons

I have a similar question to: How to join lines in QGIS for later using "lines to poly"? I have a line shapefile that I wish to transform into a polygon shapefile. After making some ...
1
vote
1answer
32 views

Hide an empty line through Python IF statement in FME Workbench

I am trying to set a rule that would move up filled lines and hide an empty line (it can be on any line) in a postal address through PythonCaller transformer. I have a database table consisted of ...
0
votes
1answer
126 views

MapServer: Symbol (v-line) style that automatically follows line direction

I created this image: with: MAP SIZE 1000 1000 IMAGETYPE png24 EXTENT -30 -10 60 30 UNITS DD SYMBOL NAME "v-line-shift" TYPE vector POINTS 0 0 5 10 10 0 END # ...
0
votes
0answers
27 views

Km driving covering ALL roads (with fewest back and forth)?

Kilometers driving covering ALL roads (with fewest but unavoidably some roads back and forth)? I want to be able to tell some KM for this but it is foreseeable that some roads will be needed to ...
2
votes
1answer
219 views

Showing directional line symbol in ArcGIS for Desktop?

Is this possible in ArcGIS to have variable number of arrows on the line to show direction? This is an ArcGIS example, where I can have fixed (1,2,3,4,5...) number of arrows and it stays the same ...
2
votes
2answers
278 views

How to discretise a line into grid lines

Having a line and a grid, the aim is to discretise the line into grid lines. In the following figure, the given line is in black, its intersections with grid lines are blue, the desired is set of ...
4
votes
1answer
481 views

Dashed lines do not print correctly

I have a polygon with a dashed line type; when viewed in ArcMap the line type appears correct however when I print to pdf the line type does not look correct. This might be a pdf quality problem ...
2
votes
2answers
82 views

Convert point to line

A little background: I recently completed a long bike trip and used a GPS to gather data during the ride, including average speed and elevation loss/gain. I imported the data into QGIS. These data ...
1
vote
0answers
21 views

Tilemill line offset problem

I use Tilemill to style osm bicycle and hiking routes. All above are supposed to be offset and this works fine. The problem is that sometimes there are empty spaces between the lines. The bigger ...