Questions tagged [midpoint]
The midpoint tag has no usage guidance.
9 questions
16
votes
1
answer
1k
views
Splitting polygons at midpoint using ArcPy
I'm attempting to split around 4000 polygons at their midpoint, perpendicular to their longest axis (ie across the width at the midpoint), as in the diagram below.
Ideally, I'd like to do this ...
12
votes
7
answers
19k
views
Finding middle point (midpoint) of line in QGIS
How can I locate the coordinates of the middle point (midpoint) of a line feature in QGIS?
8
votes
4
answers
5k
views
Creating mid point from line layer in QGIS
In QGIS I am trying to create a new point layer based on the mid point of a line layer (and keep all the feature attributes in the table).
For example, one line feature becomes one point, located on ...
5
votes
1
answer
227
views
Getting x-coordinate of midpoint from line layer
I Need to get a midpoint from a line layer.
Property layer -> Style -> Simple symbol -> Generator geometry (line)
I have code #1:
x(line_interpolate_point($geometry, $length / 2)
this code ...
4
votes
1
answer
272
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 ...
3
votes
1
answer
153
views
Is there an equivalent to the "Midpoint" tool in ArcGIS in QGIS?
I have a geopackage layer in QGIS which contains block outlines for parcels of land. They have been digitised with a gap between each block but the edges of adjacent polygons should actually share an ...
2
votes
0
answers
89
views
Finding halfway point along route using ArcGIS Pro
I'm looking for a way to find the midpoint of a route. Instead of the geometric midpoint, I want to use travel time. The ultimate goal here is to find the travel time midpoint for a series of ...
1
vote
1
answer
1k
views
Does a common algorithm exist to find the midpoint of a linestring by distance within a coordinate system?
Recentl I needed to find the mid-point of a linestring. I work with java/Scala so I naturally reached for the JTS library but couldn't find anything in there for doing this. I implemented an algorithm ...
0
votes
0
answers
66
views
Generate Midpoints for multiple Polygons along specified edges
I often have a series of polygons(rectangles) that I need to add midpoints to. The midpoints will be on a separate point layer placed at either end - see below. I have been doing this manually either ...