Questions tagged [split-by-attribute]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 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
24 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
0answers
13 views

Arcpy exporting feature by attribute in ArcMap 10.3 [duplicate]

I'd like to automate exporting each polygon feature by attribute(year) in a shapefile to seperate shapefiles named by year Now I know this exists in arcpy with 10.5 or higher using the ...
0
votes
1answer
33 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
47 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
40 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
38 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
28 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
90 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
70 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
68 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
1answer
105 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
82 views

Turning off specific attribute values in shapefile using QGIS?

I realize from Splitting shapefile into separate files for each feature using QGIS/GDAL/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
38 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
93 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
52 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
80 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
34 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
30 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 ...
0
votes
0answers
28 views

Splitting one vector file with multiple polygons into individual files using QGIS? [duplicate]

I download the administrative divisions of a country from gadm.org as a kmz vector file. I imported it into QGIS Desktop. How do I split the polygons from this file and then export them as ...
5
votes
1answer
374 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
41 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
137 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
48 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 ...
2
votes
2answers
597 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
106 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
32 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
72 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
33 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
151 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 ...
3
votes
1answer
1k 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 ...
0
votes
1answer
772 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 ...
33
votes
12answers
61k 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?