Questions tagged [split-by-attribute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 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, ...
3
votes
1answer
60 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 ...
0
votes
0answers
23 views

Split vector layers based on attribute value into ONE geopackage in QGIS

The Split vector layer tool does what I want but generates a separate geopackage for each attribute value (which can be many...), each of them containing one layer of the same name: Does anyone know ...
2
votes
2answers
106 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 ...
2
votes
1answer
35 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 ...
1
vote
1answer
145 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 ...
0
votes
0answers
58 views

Splitting Large MapInfo Table into Individual Parts

Can a MapInfo .tab file made up of 400 territories (polygons) be split up or "exploded" into its individual polygon parts using MapInfo?
2
votes
2answers
100 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 ...
2
votes
1answer
68 views

Split 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 ...
0
votes
0answers
186 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.
0
votes
0answers
49 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....
0
votes
1answer
127 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 ...
0
votes
1answer
258 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 ...
1
vote
0answers
58 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 ...
0
votes
0answers
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 ...
1
vote
0answers
41 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 ...
0
votes
0answers
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....
3
votes
2answers
207 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 ...
2
votes
2answers
123 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 ...
1
vote
1answer
120 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 ...
0
votes
2answers
364 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 ...
1
vote
2answers
440 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 ...
1
vote
2answers
53 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 ...
3
votes
1answer
168 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 ...
0
votes
1answer
66 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 ...
0
votes
1answer
192 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 ...
1
vote
0answers
99 views

Splitting vector file by attributes in QGIS gives errors about invalid geometries? [duplicate]

I am trying to split my vector file by attributes but QGIS keeps throwing me errors about invalid geometries. I have cleaned the dataset and still no joy. This seems to be a common error with a lot ...
0
votes
1answer
34 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 ...
6
votes
1answer
773 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 ...
0
votes
1answer
161 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 ...
0
votes
1answer
498 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?
1
vote
1answer
65 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
442 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 ...
0
votes
1answer
40 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 ...
3
votes
1answer
104 views

Select By attribute - top 100 values for each district

I am trying to determine the highest 100 values for each district in a shapefile. I have 27 unique districts and 62834 records, but not sure how to proceed. I could "split by attribute" based on the ...
0
votes
0answers
34 views

How to separate shapefile by attributes into a bunch of new shapefiles? [duplicate]

I am trying to work with census block data at the moment, and I want each of the 4178 blocks making the entire state to be their own shapefiles. How can I do this without having to manually query or ...
0
votes
2answers
190 views

'Split by Attribute' Tool is returning an empty attribute table for new records

I have point data (about 1000 points) in a .mdb. One of the columns within the database is "State", and when I ran the "Split by Attribute" tool by state the new returned records were correctly split ...
0
votes
0answers
664 views

Splitting shapefile into separate shapefiles using ArcGIS Desktop [duplicate]

I have a multipart shapefile, which I would like to split into many individual shapefiles (by FID for example). Is there some way to do this in ArcGIS 10.x without using python?
3
votes
1answer
2k views

Export to SHP with ArcPy with query [duplicate]

I have a shapefile with table with area code (field areacode). How can I export with ArcPy each unique area code so I get a SHP file for each one? It takes too long to select the layer and query ...
-1
votes
1answer
821 views

Split by attribute automatically on several layers in QGIS?

I need to do a 2 stage split by attribute, using QGIS 2.0.1-Dufour. After the first split, I got 30 layers. Is there any way to do the second split automatically? I don't really like the idea to ...
6
votes
1answer
2k views

Create multiple shapefiles from one table

I've imported a table into ArcGIS which I'd like to split into multiple shapefiles. The splits would occur between groups of records separated by any of 3 columns. In other words, col1, col2, and col3 ...
9
votes
0answers
7k views

Splitting feature class by unique values for an attribute/field in ArcGIS for Desktop? [duplicate]

I would like to split a single shapefile into multiple shapefiles by using unique values for one attribute/field to select features for each value out into a new feature class. I found ET Geowizard ...
15
votes
2answers
9k views

Splitting shapefile per feature in Python using GDAL?

is it possible to split a shapefile per feature in python? (best would be a solution where i can temporarily save the resulting vector objects to the memory instead to disk). The reason: I want to ...
39
votes
5answers
66k views

Splitting shapefile into separate files for each feature using QGIS or SAGA [closed]

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I am aware of how to do it using ArcGIS Desktop - see ...
37
votes
12answers
65k views

Exporting feature class into multiple feature classes based on field values using ArcGIS Desktop?

I have a feature class with over 2,000 features, and I need to make them all individual feature classes based on a field. Is there a way to do this?