Questions tagged [splitting]

Division or partition of geometric features

Filter by
Sorted by
Tagged with
-2
votes
1answer
38 views

Separating characters using Python Parser of Field Calculator in ArcMap [closed]

How can I separate the characters of a string, for example, three by three with slash letters or dashes and insert them in the Attribute table in ArcMap? abc-def-gh a100-b200-c300
1
vote
0answers
24 views

Renaming layer raster by overlay vector using PyQGIS [closed]

I split my raster .tiff into several rasters using a vector mask. Now I am wanting to rename those rasters by the id of the polygon used to split. How do I rename each raster by the id of the overlay ...
0
votes
2answers
74 views

How to split raster by individual polygons in QGIS?

I have two layers. The first one is a vector layer with a lot of polygons. The other one is a raster layer. I need to extract raster to many rasters by individual polygons of the vector layer. I tried ...
2
votes
1answer
67 views

Split polyline to equal parts using QGIS

How can a polyline be split to a number of equally long parts using QGIS?
1
vote
0answers
20 views

QGIS: Exporting as KML with split vector layer retains all attribute and filepath information visible in Google Earth

I am trying to export features to a KML file so field technicians can view the data via Google Earth since not everyone can operate QGIS and its a bit more user friendly when they just need to be able ...
0
votes
0answers
37 views

QGIS - Splitting a line into unequal segments based on height change

I am writing here to look for other methods/approaches to the task that I am currently undertaking. The task is fairly simple at this stage: Create a set of layers showing the earthworks alongside the ...
2
votes
1answer
84 views

Split polygon with West East direction with equal area in PostGIS

This code splits into NS direction but I need to split with WE direction (horizontally): WITH foo AS ( SELECT id,name,geom, blade FROM admin4 CROSS JOIN LATERAL ( SELECT ST_xMin(geom) + (ST_xMax(geom) ...
1
vote
1answer
49 views

How to separate the polygons from Multi polygons in QGIS?

I have a polygon (Multi polygon) which contain 5 species data. All are shown by its different ranges. I want to separate them because I want to analyze their ranges individually? Is there any way to ...
1
vote
1answer
82 views

Dividing polygon into given number of equal areas in OpenLayers

I'm using a Style with Stroke and Fill to have something like this for Polygon: const feature = new Feature( new Polygon([ xPos.map((x, index) => { return transform([...
1
vote
1answer
114 views

Splitting MultiLine or LineString into equal segments of particular length using GeoPandas and shapely

I don't have a license for any software. So, I want to do it in Python. How do I split the multiline or any linestring into equal segments by taking the length as input? This is the code that I am ...
1
vote
0answers
21 views

Adding point layer information (point id) after "Split Lines at Points" to the newly split line layer

I have a point layer for a group of roads and a line layer (have directions) for the roads. I need to calculate the distance between two adjacent points on the line layer hence I was thinking of ...
1
vote
0answers
31 views

How to snap to a line or extend a straight line in QGIS?

I have one object in my layer, which includes a line segment in itself as part of the overall polygon. I would like to create another line by extending this line outward, in order to cut another ...
1
vote
0answers
41 views

Split LineString with MultiPoint - Shapely

I want to split a LineString object at a MultiPoint object. I use the following code to do this. Among other things, I use the functions interpolate() and project() to snap the points onto the line ...
4
votes
2answers
144 views

Splitting column with delimiter into multiple columns in QGIS

In Excel we have option called 'Text to columns' to split the data in a column. Is there any option available in QGIS? There is an option which splits data from left or right in QGIS but I want entire ...
1
vote
0answers
27 views

Splitting polygon at 100m length intervals in ArcMap or ArcGIS Pro

I am using ArcMap Desktop 10.8.1 or ArcGIS Pro 2.7.1 I would like to know if there is a way to automate splitting a polygon like above at 100m length intervals horizontally as illustrated roughly? I ...
1
vote
0answers
39 views

Dividing layer with tracks by individual days in QGIS

I have a CSV file that includes about 150 dates containing tracks for a particular bird. I successfully added it as a layer in QGIS. My question is how can I divide all the dates into separate days?
3
votes
2answers
86 views

Splitting line with point layer in QGIS [duplicate]

With two layers, one multiline and one point, I need to split lines who intersect point layer. In example (image), the selected line is unique but I need 11 lines cut at point level. How can I do ...
0
votes
0answers
19 views

Splitting polygon based on area m2 into multiple areas using QGIS? [duplicate]

I have version 3.4.15 of QGIS. I tried to use the split polygons plugin to split an area of ​​1000m into several surfaces. Ex: 300,200,500 ... and I received an error. Traceback (most recent call ...
1
vote
1answer
35 views

Using line split (v.split) in QGIS

I’ve been trying to split lines with certain length to extract those vertices. Alt ought, when I try v.split and it creates a new shapefile, nothing is drawn and the attribute table is empty. I had ...
3
votes
1answer
594 views

"No features were split:" error when using Split Features tool in QGIS

I want to split a fairly large polygon with the Split Features tool from the Advanced Digitizing Toolbar in QGIS. However, I get an error: No features were split: If there are selected features, the ...
2
votes
0answers
35 views

Splitting shapefile with one layer to many layers for attribute table

Not quite sure how to ask this question, I created a shape file using the rasterToPolygon function in R. It works fine except when I open the shapefile I only have one layer and my I cannot do ...
1
vote
1answer
139 views

Splitting population between overlapping polygon features

I have a quadratic grid with a different population in each square as the first layer and I have polygons that I made with the ORS Plugin as the second layer. In my previous question, I got some good ...
3
votes
1answer
292 views

Splitting MultiPolygon shapefile into separate Polygons in R

I have a polygon shapefile with 2 features. I want to split the MultiPolygon shp into separate shapefiles based on a column of the attribute table. What I've tried so far is this code based on that ...
1
vote
0answers
590 views

Splitting polygon into equal area polygons using shapely

I would like to split complex geometries into n smallest geometries of the same area in Python. While I can divide simple geometry in the following way: from shapely.geometry import LineString, ...
1
vote
1answer
33 views

Split lines by minimum number of overlapping/shared vertices

I have a line layer converted from a polygon layer, and I do not know how to split the lines at vertices which overlap vertices of at least 2 other features. In the image below, I want to split the ...
5
votes
2answers
164 views

Cutting out part of the vertices of polygon to create line (between two points)

I have a polygon which represents a water catchment. I also have a polygon that represents a national boundary. I would like to cut out a line that represents only the part of the catchment boundary ...
3
votes
1answer
56 views

Unable to split polygon with holes in it with line

I have polygon that has "holes" in it (green polygon), and I want to split it using lines so I will get 2 new polygon. I am unable to do it in QGIS 3.18. But if I cut it using line that ...
2
votes
0answers
25 views

Splitting polygons with lines not working for polygons that intersect with multiple lines [QGIS]

The 'Split with Lines' tool in QGIS works well when polygons are intersected by a single straight line, but fails when it is intersected by multiple lines. For example: Ideally, I was expecting that ...
0
votes
1answer
50 views

Export Vector Layer into Multiple GPX Files in QGIS

I have a vector layer that contains multiple attributes that I want to export as individual GPX files. In this instance, the "Save Features As" option exports all of these attributes as 1 ...
4
votes
1answer
74 views

Partial success when Split With Lines on QGIS

I have two polygon feature and one multiline feature. I cut the polygon features using the line. Strangely, one of the polygons was successfully split (left one), but the other polygon failed. Whats ...
3
votes
1answer
46 views

Unable to split polygon using linestring in QGIS

I have a polygon that has to be split using a linestring, but I am unable to do that. I tried to split another polygon using this linestring, and it didn't work. Here are the files: Polygon I want to ...
1
vote
0answers
34 views

How to not include layer and field name when using Split Vector Layer in QGIS?

When using "Split vector layer" tool, the outputs include the layer in the field name in the resulting shapefiles. The result file name is 'LAYER_FIELDNAME_ABC'. I want to extract them so ...
0
votes
0answers
15 views

Splitting line at intersection with another line [duplicate]

I have two line feature class like on the image below How can I split green line at intersect at particularly blue line?
1
vote
1answer
29 views

Find crossing lines and count also

I have two line feature classes. One road line (long line) and second is hookline i.e entry point to house (short line). Reference screen shot In the above screen shot I have three shapefiles Road ...
4
votes
1answer
85 views

Can I split a shapefile into multiple shapefiles not using a particular attribute in QGIS?

I would like to split a shapefile made up of approximately 8200 elements into 5 having an equal number of elements. I don't want to base this division on an attribute. There is a simple way to do that ...
2
votes
1answer
70 views

Split layer with lines or with Polygonize (and keeping all features intact) - QGIS 3.18

I want to divide a polygon layer into different smaller polygons. I started by converting the main polygon into a line, then I used the Add line feature to draw the lines. Then I used the Split with ...
0
votes
1answer
45 views

Splitting linestring only when another linestrings endpoint intersects using QGIS

Using QGIS, is it possible to split all the linestrings in a file only if another linestring's endpoint intersected the linestring but not if they completely cross each other? For example, the image ...
0
votes
0answers
86 views

How to solve the error "ERROR 160196: Invalid Topology" when running the split tool

I am trying to split a multipart features using Split (Analysis) tool. When launching the process I come across the error message "ERROR 160196: Invalid Topology. Failed to execute split". ...
0
votes
0answers
38 views

Why has the total area of polygon been reduced after using the splitting tool in QGIS 3.16.6?

I am using the splitting tool to split an original polygon (survey boundary) into smaller polygons (vegetation types). When I sum the total area of the shapefile after splitting (all the veg types) it ...
4
votes
1answer
208 views

Splitting concave polygons into convex polygons in QGIS

I want to optimize and decompose several concave polygon into convex ones but not too small or to complicated ones.Ideally cutting in places that would minimize the creation of convex polygons and in ...
2
votes
1answer
143 views

Cannot split vector across the 180degree line in QGIS

I am trying to split the vector I imported from geojson across the 180degree line and it gives me an error: No features were split : If there are selected features, the split tool only applies to ...
3
votes
1answer
72 views

How to split several lines by one polygon and get the distance of each part using sf?

The question "How to split one line by several polygons" already has an answer here. My question is similar but different: How to split several lines by one polygon? The context: I have a ...
1
vote
1answer
41 views

Splitting Vectors with Raster Layer

Does anyone know of a method to split vector data based on a corresponding raster layer. For example, I have a classification with two classes and have an overlaid vector layer as seen in the image ...
2
votes
2answers
115 views

Calculating the length of two shapefiles in QGIS

I created the yellow area as a shapefile by hand. Then I calculated the perimeter. I also created another shapefile (blue) manually and calculated the length, see image 1. The next step was to ...
0
votes
0answers
105 views

Python GDAL split polyline by intersection

I want to process some vector flowline file. After I used the Union function to combine all the geometry into one single MultiLineString. newGeometry = None lID =0 for pFeature_in in pLayer_in: ...
1
vote
1answer
42 views

QGIS split all polygon features by dimensions

I have a shapefile of 16370 polygon features (see below). I want to split all features in features with a maximum size of 25x25 meters (still including all attributes). I am aware ArcGIS Pro is ...
2
votes
0answers
49 views

Split as delete/insert/insert in QGIS

Default behavior of split in GIS software is mostly to update feature (row) for first part of split geometry, and insert copies for all other parts. For many reasons this might not be desired behavior ...
1
vote
0answers
49 views

Split intersections of lines considering bridges and tunnels

I want to make a road network routable. I already have a road shapefile, but there are many intersections of lines that I want to split. Now I have two problems: (1) My first approach to split them ...
7
votes
5answers
223 views

Creating fixed length segment of line around point on line

I've a layer of rivers as lines, split in segments by their size. I've created random points on those lines and selected some of them - 90 in total. I'd like to take those selected points on lines, ...
1
vote
1answer
38 views

Dividing points and polyline into segments in ArcGIS

I have a question about measuring distances for points in separate segments. As you can see in the attached picture, the green line is my polyline which I want to divide into four segments A, B,C,D. I ...

1
2 3 4 5
10