Skip to main content

Questions tagged [multiline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
52 views

Calculating the end km with reference to the start km of road in QGIS

Note the labelling on the picture to be the lengths of the link segments and have been selected from Right to Left. Start KM = KM at the beginning of the link End KM = KM at the end of the link. (...
Kendel Mashuga's user avatar
0 votes
1 answer
108 views

Folium.geojson Multiline String doesn't wrap around the map, creates crossing lines across the map

I am having an issue using Python and folium regarding GeoJSON features. I made a simple map using folium and displayed tsunami information as well as specific colors for the different earthquake ...
Daltax's user avatar
  • 11
1 vote
1 answer
46 views

QGIS - Unite many lines in a single Multiline (with branches)

I have a shapefile that contains many lines that connect to each other, forming branches, as shown in the picture: How can I join all these lines into a single entity? I want the attribute table to ...
Daniel Möller's user avatar
1 vote
0 answers
44 views

Line lengths differ depending on method used QGIS3

I have a layer containing multiple non-overlapping lines (MultiLineString). I want to calculate the length of each line. However, I get three different answers depending on the method used to ...
user2175481's user avatar
0 votes
1 answer
136 views

how to store a road with multiple routes?

I assume everybody knows google maps. When you get any direction to you destination there is always mutliple options. Let's say I want to store such a geometry in PostGIS? What is the best approach to ...
Radan's user avatar
  • 1
4 votes
1 answer
242 views

Geting midpoint of MultiLine in QGIS

I have a line(multiline) layer in QGIS 3.22. I need to place a point in the middle. I've tried using the algorithms: "interpolate point on line" and "points along geometry", by ...
david's user avatar
  • 113
2 votes
2 answers
1k views

Merging LineString with MultiLineString with Python

Is it possible to use shapely or some other Python software to merge a LineString with a MultiLineString? Shapely's ops.linemerge fails here. I am attempting to merge segments of the same road, ...
zadrozny's user avatar
  • 318
3 votes
2 answers
3k views

Getting coordinates of Line or MultiLine using PyQGIS

We can get point layer coordinates through the following code, but I want to know the coordinates of Line or MultiLine. How to get these coordinates? layer = QgsProject.instance().mapLayersByName(&...
xor's user avatar
  • 141
12 votes
5 answers
23k views

Extracting POINT from LINE/MULTILINE-STRING

I'd like to create a vector layer 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 ...
Heisenbug's user avatar
  • 893