Questions tagged [split-by-attribute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

In QGIS, how do I split lines in MultilineString shapefile into segments based on an attribute value that is linked to each line within the shapefile?

Question: In QGIS 3.26.3-Buenos Aires, how do I split the lines in a MultilineString ESRI shapefile into a number of segments based on an attribute value that is linked to each line within the ...
Sean's user avatar
  • 1
0 votes
1 answer
48 views

QGIS Split Vector Layer By Multiple Attributes

I am working on a fiber network file and would like to be able to split a point shapefile by multiple attributes, three to be exact. I can "Select Features by Value" and export each one but ...
OregonBladez's user avatar
1 vote
1 answer
27 views

Batch exporting groups of 100 polygons from shapefile into new layers using ArcMap

I have a shapefile of about 14,000 overlapping polygons that I need to separate into layers of 100 for processing purposes. Is there a way to create these layers without manually selecting each group ...
Hailey's user avatar
  • 11
3 votes
1 answer
169 views

Save vector layer features into separate layers, based on combination of two attribute values: correct QGIS expression

I am doing a lab worksheet and I am having a hard time figuring out what to put in in the expression box. GENERAL STEP: You need to identify Aspen and Birch (Select by Expression) and export these ...
Jamie's user avatar
  • 61
1 vote
1 answer
341 views

Explode a layer into multiple layers based on an attribute field, using QGIS [duplicate]

I have a layer where every feature contains a type attribute with a value from a restricted set. Is there a way in QGIS to explode the layer into multiple layers, one for each value for the type ...
Steve Bennett's user avatar
1 vote
0 answers
93 views

Make each individual feature layer based on list of OBJECTID with ArcPy

I want to make each separate individual feature layer based on list of OBJECTID of one feature layer. And I want the name of each feature layer to be sequential (e.g.: 1, 2, 3, 4..) So far I already ...
auliama's user avatar
  • 29
1 vote
0 answers
38 views

Invisible layers when splitting vectors after simplifying in QGIS

I am working with elevation curves and I want to group curves by elevation. I can do it with the Split Vector Layer tool (Vector, Data management Tools) and choose ELEV as a unique ID field. However, ...
Giacca Zm's user avatar
1 vote
0 answers
64 views

Automate adding a new attribute field based on name

I frequently take in datasets of land parcels and need to split them into separate layers (Private, County, State, Federal). I have been manually creating a new attribute field and then selecting by ...
nregis's user avatar
  • 11
1 vote
2 answers
386 views

How to use the dissolve function to create multiple dissolved polygons at once

I had a village level shapefile. I selected villages using the "select by attribute" function to group them into electoral units (labelled as GP in attribute table) I wanted to use the ...
MapnCheese's user avatar
3 votes
1 answer
656 views

I want to create multiple shapefiles using values from the attribute table

I have a village level shapefile. I selected villages using the "select by attribute" function to group them into electoral units (labelled as GP in attribute table. I now wish to make ...
MapnCheese's user avatar
0 votes
1 answer
118 views

Split by attributes function only splits some, but not all values?

I have a shapefile that has GPS coordinates and categories such as ID. I wanted to split my shapefiles into separate shapefiles for each ID. When I use split by attributes, it only extracts/splits ...
Varvara Vladimirova's user avatar
3 votes
1 answer
567 views

Creating separate layers from single CSV file in QGIS

I would like to add a single CSV file, which can then be separated within QGIS into separate layers. With the aim of being able to turn off all layers except for 1 area that I am working on. I ...
PDA's user avatar
  • 39
1 vote
1 answer
289 views

Use FME to expose each feature from feature class

I have a feature class in a geodatabase which usually has between 1-300 features. I would like to use FME to expose each feature and create an individual shapefile for each, based on an attribute. For ...
gisndev's user avatar
  • 348
4 votes
1 answer
3k 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 ...
Nikos's user avatar
  • 968
1 vote
0 answers
34 views

Splitting line by raster or vector attribute - Transect classification

I have a point, from this point I made 3 lines to the closest polygon with certain attibute. Now I want to determine over what classification values ​​my line passes and the distances considering the ...
Victor Tricoma Pino Jofre's user avatar
2 votes
2 answers
941 views

Splitting shapefile into multiple by value from field in QGIS

I am working in QGIS. I have a shapefile and its table and I need to export each row as a new file called "Fecha" field: Finally, I will get 6 shapefiles such as 20130612.shp, 20130714.shp, ...
Juanjo Valero's user avatar
0 votes
1 answer
1k views

Split polygon into smaller polygons based on areas that are covered by lines in ArcGIS Pro

I am trying to split a map of an island into attribute (primary substation) areas in ArcGIS Pro. I have network locations (lines) which I have split into primary substations (as shown by the image ...
EllisR8's user avatar
2 votes
0 answers
458 views

ArcGIS - separate/split shapefiles by attribute range and save

Problem: I often have a shapefile that I classify into 3-5 classes based on the values of a specific field. Usually I am interested how many features are in each class and which area has each of the ...
GIS_USAr's user avatar
0 votes
1 answer
137 views

I want to Split by Attribute to run a function multiple times, but 'Id' is all 0?

I want to run my function over each feature in a point shapefile layer, but splitting by attribute returns the same number of points, because the Id field is all 0. Is there a way, using ArcPy syntax, ...
Jack Selzer's user avatar
3 votes
1 answer
411 views

Using Split vector Layer in QGIS

I am trying to split a vector file using an attribute value and wants to name the each created output as the name in the attribute field. I am being able to split the vector layer but it is giving ...
rohit sharma's user avatar
2 votes
2 answers
2k views

Dividing shapefile into multiple shapefiles using an attribute value in QGIS Graphical Modeler

I have a shapefile with a column that have project references, I want to create a different shapefile for every project reference there is. Note that the project references are not unique in the sense ...
Ayogo's user avatar
  • 221
3 votes
1 answer
107 views

Split lines by attributes of overlapping polygon

I have a long line, representing shoreline, with a 3km buffer overtop. The buffer has an attribute field representing the coastal characterisation for a certain length of shoreline, see image. I am ...
mastorey's user avatar
  • 449
1 vote
1 answer
655 views

R equivalent of ArcMap split by Attributes?

I have a shapefile of 50 polygons. I've read it into R. Now I want to use R to export 50 shapefiles, one for each polygon. This seems like an intuitive application of apply. But I'm having a devil of ...
Mox's user avatar
  • 1,036
2 votes
2 answers
262 views

Split By Attribute for point feature gives error, 'unicode' object has no attribute 'polygon' in ArcMap 10.7

I have a point feature where many points share the same value as other points on an attribute called "site". I'd like to group them by that attribute, and then make the groups into a seperate feature ...
Frank's user avatar
  • 201
3 votes
1 answer
523 views

Splitting features of multi-part polygons according to condition(s) in QGIS

I have a multi-part polygon with a large number of irregularly-shaped features (>600 features). I would like to split them into smaller sub-features/segments and assign a unique id to these smaller ...
Jacqueline's user avatar
0 votes
0 answers
430 views

Opposite of dissolve in QGIS? [duplicate]

Is there a tool that does the opposite of a dissolve? I would like to break a shapefile into multiple files based on an attribute.
MatthewJSlezak's user avatar
0 votes
0 answers
100 views

How can I create a layer for each unique field item in a shapefile using Arcpy

#Introduction and imports import arcpy, string from arcpy import env #User Inputs: layer, field name, output workspace (optional) strTargetLayer = arcpy.GetParameterAsText(0) strFieldName = arcpy....
Chris's user avatar
  • 74
0 votes
1 answer
277 views

Split by Attributes tool exporting to DBF files only? [duplicate]

I am using the "Split by Attributes" tool in ArcGIS 10.6 to go through a shapefile, and split it up into new files by an attribute value. The tool runs perfectly, however I notice it only exports to ...
Wincow's user avatar
  • 135
0 votes
1 answer
754 views

Creating new layer/shapefile from each element using ArcPy

How can I create a new layer (shapefile) from every element in another layer? I have point shapefile 'przystanki.shp' (in Polish mean bus stops) with 19 point and some attributes in table. What I ...
Mateusz Jałowiczor's user avatar
1 vote
0 answers
163 views

Create mask layer from paletted raster

I have QGIS 2.18. I have the ground truth of land type for France. That is a paletted raster (i think.. i'm new and maybe it is not the correct word) I loaded a style.qml file for this raster and I ...
Antoine Mathu's user avatar
0 votes
0 answers
17 views

Creating new layers of individual polygons from existing layer of many using ArcGIS Desktop? [duplicate]

I have a shapefile with 30 polygons. I want to create 30 shapefiles/layers from the original. I was doing this by selecting individual features and exporting them to a new layer. Is there an ...
Andrew's user avatar
  • 1
1 vote
0 answers
54 views

Using ArcPy to select polygons one by one and export them? [closed]

I want to select polygons in a (double field type) and export them, and I keep getting this error: ExecuteError: ERROR 000358: Invalid expression "dobule" = '1' Failed to execute (Select). This ...
Luis Medina's user avatar
0 votes
0 answers
31 views

Splitting point shapefile in ArcGIS Desktop? [duplicate]

I have a shapefile with few points, I would like to export in separately shapefiles for each point. I am using ArcGIS 10.1 and the split tool in ArcToolBox only works for polygons, but not for points....
Pin_Eipol's user avatar
3 votes
2 answers
476 views

Split By Attributes tool not recognizing Feature Dataset as Target Workspace?

Using ArcGIS Desktop 10.5.1, I have a FGDB that contains a feature dataset. I would like the output from the "Split By Attributes" tool to go inside this feature dataset. However, the tool does not ...
Stu Smith's user avatar
  • 8,192
2 votes
2 answers
442 views

Performing Split By Attributes on OBJECTID?

Using ArcGIS Desktop, 10.5.1, I need to "explode" a singlepart polygon FGDB Feature Class into separate FCs. For example, if the input FC contains 3 polygons, the output will be 3 separate FCs, each ...
Stu Smith's user avatar
  • 8,192
1 vote
1 answer
333 views

Feature Split by Attribute in different folders

I want to split a vector by an attribute but instead of getting all of them in a single folder, I need them by separate folders (say the same attribute I´m splitting, or another). I tried splitting ...
Alfonso de Lara's user avatar
0 votes
2 answers
887 views

Using Split By Attributes in ArcGIS ModelBuilder?

I wish to use "split by attribute" tool in ArcGIS ModelBuilder to split a shapefile (points with metadata) into different groups based on a parameter. The tool works and creates for example 4 .dpf ...
MSS's user avatar
  • 177
1 vote
2 answers
2k views

Turning off specific attribute values in shapefile using QGIS

I realize from Splitting shapefile into separate files for each feature using QGIS or SAGA that I can split a shapefile by attribute, but I'd prefer to be able to just exclude certain data when I'm ...
BogBody's user avatar
  • 373
1 vote
2 answers
87 views

Debugging code to export .shp that gives invalid SQL statement was used? [duplicate]

I have a shapefile composed of a number of polygons. The shapefile has table column entitled as name (field: NAME). How can I export with ArcPy each polygon so I get a shapefile for each one and it's ...
complexsets's user avatar
3 votes
1 answer
521 views

Clipping polygon layer to another polygon layer based on matching attributes using QGIS?

Working in QGIS, I have two polygon layers: Building Footprint Polygon Layer Parcel Polygon Layer These two layers have a matching field in the attributes known as "Parcel Number". I would like to ...
James Cooper's user avatar
0 votes
1 answer
81 views

Split layers by field QGIS version 3.2.3 [duplicate]

I want to split a vector layer based on values in a specific field. In older versions I could use the plugins 'LayersbyField' or 'Split Vector Layer', but both seem not to be available anymore in ...
Rob's user avatar
  • 563
0 votes
1 answer
367 views

Running ArcGIS Split By Attributes tool gives error?

While I was doing an exercise for one of my subjects, it was asked to use the "split by attribute" feature on the ModelBuilder in order to get separate shapefiles. The issue is that as soon as I open ...
user8893327's user avatar
0 votes
1 answer
72 views

Looping select by Attribute height interval and exporting to individual shapefiles using ArcGIS Desktop?

I have had a look at the existing Q&As but none of them seem to be addressing this in detail. I have a building footprint shapefile which contains a height field. I would like to group buildings ...
Emanuele Greco's user avatar
6 votes
1 answer
1k views

Turning vector grid into individual shapefiles using QGIS?

I am using QGIS and I created a vector grid on a crop field in order to cut it into plots. I want to save each grid cell into individual polygon shapefiles automatically. Here is an example of a ...
anamée's user avatar
  • 63
0 votes
1 answer
516 views

Aggregate and split layer by location into multiple layer in ArcMap? [duplicate]

I'm pretty new to GIS, but hope I'm moving in the right direction. I have a layer of the county map of LA, which is divided into communities and a layer of the building coverage of the county. The ...
Frank's user avatar
  • 201
0 votes
1 answer
1k views

Use python code to extract all attributes shapefile [duplicate]

I am using ArcGIS 10.2. How to use ArcPy code to extract every row in the attribute table and save each row to separate shapefiles?
Rachel's user avatar
  • 79
1 vote
1 answer
159 views

Iterating through a user-specified field, extracting unique values to separate feature classes

I'm trying to iterate through a user-specified field, extracting the unique values of that field into a list. I then want to loop through that unique list, doing a select by attributes and then ...
smh's user avatar
  • 121
3 votes
2 answers
3k views

Split By Attributes creates no Shapefiles?

I want to create for each polygon of a shapefile a separate shapefile with the Split By Attributes tool. Input is a polygon shapefile and as split field I choose the ID. This tool works fine but in ...
David's user avatar
  • 393
0 votes
1 answer
1k views

Splitting one muliple point layer to many layers of one point in ArcMap?

I need to do a cost distance calculation on multiple points in a layer. If I am not mistaken, in order for the calculation to be done on every point separately, I need to run the calculation ...
Neta Friedman's user avatar
0 votes
1 answer
88 views

Splitting line and determining unique output using ArcGIS Pro?

I am using ArcGIS Pro on a water main system. I have water mains and water main valves and I am trying to split the main at the valves. The problem I am having is which attribute becomes the ...
J.S.'s user avatar
  • 13