Questions tagged [feature-class]

In ArcGIS, a collection of geographic features with the same geometry type (such as point, line, or polygon), the same attributes, and the same spatial reference.

Filter by
Sorted by
Tagged with
1
vote
2answers
23 views

What are considered invalid fieldnames with arcpy Cursor classes?

Using this code, I get the following error. infeature = r"C:\pathto\file.gdb\file" #location of feature class fields = ["Name:", "Location", "Email Address", &...
0
votes
0answers
16 views

Randomly creating a subset from a feature class having a large amount of data in it's attribute table

I have a feature class which has 135270 entries in its attribute table and I want to randomly select about 25% of this data for better visualization of the feature class on a web application. However, ...
0
votes
1answer
22 views

Unable to delete feature class from file geodatabase

I am trying delete feature class which is corrupted from file geodatabase but its throwing error Failed to delete selected object(s). The item does not have a definition. The XML being loaded could ...
0
votes
1answer
19 views

Getting geometry network data from File Geodatabase

I have a GDB file with the power distribution utility data set. I was able to get data (File Geodatabase Feature Class) from the GDB file by using QGIS's OpenFileGDB. The remaining information which I ...
1
vote
0answers
19 views

ArcGIS Pro 2.5.0 - Is there any way to snap a polygon / feature class to pixels within a Raster?

I need to clip a raster to a specific area of interest, and a specific number of pixels. Whilst I can manually draw my AOI feature class and get the right number of pixels, it generally contains a ...
1
vote
1answer
58 views

Listing all Feature Classes being used in ArcGIS Pro project using ArcPy [closed]

I am trying to work out how to list all feature classes in ArcGIS Pro and ArcGIS Pro files. I have used this script in the past which works for .mxd but recently I have started using ArcGIS Pro which ...
0
votes
0answers
48 views

Read file geodatabase feature classes using Python GDAL

I have a file geodatabase that contains polygons as feature classes. Here is the description of my dataset. It contains vegetation data for each polygon. I have found this Python script online that ...
0
votes
1answer
16 views

Why ArcGIS JavaScript text label does not show on feature?

My working example here does not show the labeling information on features. var featureLayer; map = new Map("map", { basemap: "satellite", center: [-46.807, 32....
0
votes
1answer
73 views

Two PopupTemplates

I'm using this sample code from ESRI ArcGIS API for Javascript 4.16: https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-sidepanel/index.html I would like to display these ...
0
votes
0answers
176 views

Append new data to existing feature class using Load Data in ArcGIS Pro

I am trying to append new rows of data for a feature class that shares the exact same fields (column headers and types) but wasn't able to using Load Data in ArcGIS Pro. In ArcMap, you could easily ...
0
votes
1answer
34 views

FeatureClassToFeatureClass_conversion where_clause ignored in PyCharm console

When I call arcpy.FeatureClassToFeatureClass_conversion from the PyCharm python console, the where_clause argument is ignored. When a value is supplied, it does not return an error message, nor does ...
0
votes
0answers
16 views

Lidar Dataset for Toe and Crest Detection

I have read a paper on Terrain Toe and Crest Feature Detection and Labelling forAutonomous Mining and started working on building the code for this. But I am unable to find the dataset used in the ...
3
votes
1answer
57 views

In ArcGIS how to create a polyline Feature programmatically locally?

Using most recent .net core SDK of ESRI ArcGis on a local application (not web). I try to create a wrapper class based on ArcGis:IFeatureSet which will take a collection of objects which implement ...
0
votes
0answers
47 views

Updating/overwriting multiple layers within a feature layer in ArcGIS Online from a fgdb containing all the new feature classes

I am looking for a method to upload and replace multiple layers in ArcGIS Online that are stored within a (hosted) feature layer. I have the feature classes to be used to update (and identical in ...
0
votes
1answer
54 views

Adding a feature class to the current ArcGIS Pro map with ArcPy

I wrote some simple code that created multiple polygons using the Buffer tool. I will use it in a toolbox and therefore want the outFeatureClass to be automatically added to the current map. The ...
2
votes
1answer
35 views

ArcPy: How best to handle output that could be a shapefile or feature class?

In many Esri examples, including this one, they code in the output ".shp". What is the best way if you want to be able to handle a shapefile OR a feature class output. Let say if a GDB is ...
0
votes
2answers
47 views

UpdateCursor is updating empty list correctly but NOT updating data in feature class

I have looked at other posts and am not able to solve my issue. I'm working with Python 2.7 (must use this ver for work). I am trying to reformat labels in an attribute column ("ID") and ...
1
vote
0answers
30 views

SQL for Select By Attribute to only select Feature Class Polygons based on values from a Table

I have a polygon feature class with one of the attributes being Parcel ID Numbers (Parcels_in_City). I have a table with only Parcel ID Numbers (Parcels_with_Trees). Is there a SQL query that can be ...
1
vote
1answer
30 views

ArcPy FeatureClassToFeatureClass_conversion invalid SQL statement

I am trying to iterate through a list of where clauses as such: for vc in vcList: print (vc) """"D_Zone" = 1""" """"D_Zone" = 2&...
0
votes
0answers
31 views

Intersecting multiple feature classes with just one feature class?

I have multiple feature classes (fc) and would like to intersect them with one other fc, is this possible without merging/joining the multiple fc's? Using ArcGIS Pro I've attempted to intersect ...
0
votes
0answers
19 views

Can you define a topology rule between two feature classes from different feature datasets?

I work in a project that I want to define topology rules between feature classes from different feature datasets, is that possible ? if no is there a solution that can do that ?
1
vote
1answer
117 views

Export Features to Geodatabase Created in same Python Script

I am new to learning Python for GIS. I am currently trying to create a script which creates a new geodatabase, then using a list, iterates through the features of an existing geodatabase and exports ...
0
votes
1answer
25 views

Insert large list of fields and values into feature class

I want to create a toolbox I have a list of point coordinates, that define a polygon and a list of attributes, that each polygon has. points_list = [(323917.71, 479699.45), (323923.36, 479699.74), (...
1
vote
1answer
22 views

Apply feature class to feature class simulteaniously on multiple layers in Modelbuilder

I am trying to create a model in modelbuilder that takes in multiple layers (the amount determined by the person using the tool in the end) and as a first step these layers should by copied with the ...
0
votes
2answers
35 views

Exporting feature class in one shapefile to new shapefile using ArcMap

In ArcMap, how can you export the feature class of one shapefile to a new shapefile? I want everything in the old shapefile to go into the new shapefile.
1
vote
0answers
11 views

Feature Templates disappear in Arcmap after i remove Feature Class from Table of Contents

I am working on some Polygon Data in Arcmap and I am trying to generate about 20 or more feature templates for each Feature Class in the Geodatabase. All my feature classes are in one Feature Dataset ...
1
vote
0answers
35 views

arcpy FeatureClassToFeatureClass fails with “Could not write value to output field”

I have a Python script using arcpy for ArcGIS 10.7.1 that is failing on the FeatureClassToFeatureClass line, below. These three lines are quite straightforward: Add a TEXT field, give the literal ...
0
votes
0answers
79 views

Determine if a raster layer exists in a file geodatabase

I'm trying to determine if a layer file already exists in a given file geodatabase using arcpy.Exists. I wrote a code that works without problems for Feature layers, however it doesn't work for ...
-1
votes
1answer
46 views

ReAsked - Why is manipulating field map schemas inconsistent (ArcGIS)? [duplicate]

I've got a knotty problem which I am trying to solve in a very methodical and deliberate step by step process, to ensure that non-technical colleagues are able to verify the content every step of the ...
0
votes
1answer
23 views

Labeling feature class using ArcMap

I work with ArcGIS Desktop (latest version). I have a feature class called "space" that should be labeled. The label should look like this [room number] + "/ n" + [person] (python). But my problem is ...
0
votes
0answers
23 views

Specifying a variable in ArcMap output if this is not present in the input

I have been using ArcMap 10.6 (working from within a .gdb, with vector files) to buffer selected variables from a number of files (classes of water, buildings, roads and a constructed other for the ...
0
votes
1answer
55 views

CreateFeatureclass management tool doesn't create Annotation Feature Classes?

I want to unify my gdb's, and later the layers in the mxd. I ran the following script successfully, but some of my layers are not the same as the template ones. Annotation Feature classes are not ...
1
vote
1answer
40 views

Dynamically creating expression in ArcMap model

I am trying to build a model that iterates through feature classes in a .gdb and uses the name of feature class (they are named by state abbreviations) to make a new layer from a second feature class ...
1
vote
1answer
31 views

No output is being generated by ArcPy's MakeFeatureLayer method

I have a feature class that I would like to filter by an attribute and write the result to a new feature layer. I can achieve this with a simple one-liner in the R programming language, but I need to ...
0
votes
1answer
49 views

ArcPy extract and split FC name to create table [closed]

I have geodatabase with many feature classes. Filenames of these fc have all info I need. My goal is to have a CSV or Excel table, that I can work with. So all filenames match schema ...
0
votes
0answers
29 views

Recalculate extent for versioned featureclass

I try to recalculate extent for FC (versioned). I deleted some objects with null geometry, or with wrong location and reconcile every versions. But I still cannot recalculete extent to new proper ...
0
votes
1answer
40 views

Splitting feature classes into different geodatabases using ModelBuilder

Like another post on here - I'm using ArcGIS Desktop 10.6.1 (ModelBuilder) to split feature classes in a geodatabase by an attribute field ("Country"). This process is fine but the issue is exporting ...
0
votes
0answers
46 views

Error in executing query while selecting features on map

I'm working on an ArcMap add-in that attempts to streamline doing feature class queries. It mostly works, but there is one bizarre behavior that I'm attempting to track down. There is one Feature ...
1
vote
0answers
50 views

Feature Class Update Trigger with Archiving

We are deploying Collector in our institution and for offline work on unversioned data we need to enable archiving. The feature class needs some updates when the user enters new records using the ...
0
votes
1answer
86 views

Adding GPS coordinate points to point feature class using ArcGIS Pro

I have a raster, and in ArcGIS Pro 2.4, I created a point shapefile with 830 points. I forgot to specify that I wanted to show the GPS points in the attributes table of each point. However, I need to ...
0
votes
1answer
160 views

Converting feature set inputs into feature class or feature layer for Python Script tool

I want to accept feature set as input and convert it into feature layer or feature class so that I can use the input in select by location in the python script, as the select by location don't accept ...
2
votes
1answer
49 views

Get the list of map services where table “xyz” is used

I have an SDE feature class: And I'm looking to find, to how many map services it is pointing. There are like duplicate map services pointing to same table, so I was trying to figure out how many ...
1
vote
0answers
243 views

Cannot create geodataframe from feature class due to IndexError: list index out of range

I have a function that helps me read in large feature classes and them create a geodataframe: line_feat = "S_Studies_Ln" cnms_cols = ['REACH_ID', 'STUDY_ID', 'CO_FIPS', 'CID', 'FLD_ZONE', '...
0
votes
1answer
153 views

Excluding feature classes from list using ArcPy [closed]

I'm new to Python and trying to buffer some feature classes within a list in a Geodatabase. I used the Clip* wildcard to select the files, but I want to exclude three of those files, so I don't use ...
1
vote
0answers
197 views

Using related records added on Collector (for ArcGIS) to update original feature class values and symbology

I currently use Collector for ArcGIS to carry out tree inspections. The design consists of two parts - a feature class layer which contains a point for each tree including data such as its species, ...
3
votes
1answer
326 views

Identify layers in an .mxd that are network elements feature types

I need to create new feature classes from all layers in an .mxd, and also create a new .lyr file for each of the newly created feature classes that retains the symbology of the original map layer. The ...
1
vote
1answer
233 views

Undefined Coordinate system

So I made a rookie mistake. I created a point feature class in ArcMap 10.6 without assigning a coordinate system. I put in a bunch of points and then went to export it and realized my mistake. I tried ...
1
vote
0answers
40 views

arcpy.Integrate_management failing?

I cannot get arcpy.Integrate_management to work. I can run as a standalone process in ArcMap just fine, and if I copy the result as a python snippet I get: arcpy.Integrate_management(in_features="...
0
votes
0answers
23 views

Calculating distance between polylines from same feature class using ArcGIS Desktop?

I have a feature class with multiple lines outlining the extent of a glacier through time. I would like to calculate the distance between consecutive years (i.e two polylines from the same feature ...
0
votes
1answer
101 views

Adding multiple feature classes (everything within gdb) to a group layer in ArcGIS Pro - Python

I am currently trying to add all the feature classes contained within a gdb to a group layer in ArcGIS Pro via a script. I have however not managed to add more than one single feature class at a time. ...

1
2 3 4 5
8