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.
469
questions
0
votes
1
answer
33
views
Geodatabse 'ghost' feature dataset and feature layer duplicates
Long story short, I reprojected my data into WGS 84 without realizing they would be exported into the same master source gdb, deleted the duplicates, but now see ghost duplicates of feature datasets ...
0
votes
1
answer
89
views
Symbology Class Editing Options Greyed Out
I am trying to add a symbology class to a layer but the options are greyed out. I believe it has something to do with the warning that says "primary symbology relies on one or more fields that ...
1
vote
1
answer
38
views
Applying a specific symbology to multiple feature classes within a geodatabase
I have a file-geodatabase with 100 point feature classes within it, each use the default single dot symbology. I was curious if it would be possible to change every feature class to a different ...
0
votes
1
answer
22
views
Feature class with spatial subcategories ArcGIS
I have two polygon feature classes in ArcGIS Pro, one is coarser than the other. For example: let's say feature class 1 shows the extent of a house, whereas feature class 2 shows the extent of the ...
1
vote
1
answer
48
views
ArcGIS Pro Feature Class Iterator wildcard with or without enterprise GDB fully qualified feature class names?
I'm using the Feature Class iterator in an ArcGIS Pro ModelBuilder model to iterate over all feature classes with a name that start with (eg) "blah".
I can make this work for our enterprise ...
0
votes
1
answer
27
views
Creating line feature with multiple record
I am trying to create line feature with multiple record in ArcGIS 10.8. Actually I am working on FTTH project there I need to draw 12 f fiber which single cable contains 12 separate threads in it and ...
0
votes
1
answer
53
views
Updating the source geodatabase for select layers in ArcGIS Pro (multiple geodatabases used in one map)
I have a map that uses shapefiles from several geodatabases. I need to re-source several layers from one specific geodatabase to another. They are the exact same geodatabase; Geodatabase X was copied ...
0
votes
0
answers
127
views
Feature to Polygon in ArcGIS Pro: attribute missing although Preserve attributes is checked and feature labels are provided
I try to follow the suggestion given in an equal case in ArcGIS Desktop, however, I do not end up with the desired result. I start with the Shapefile Feature Class lgm_3_contour_edit.shp of Geometry ...
0
votes
1
answer
79
views
Create user-specified output path parameters when publishing ArcGIS model as a web tool
I have a model saved in ArcGIS Pro that I'm trying to publish as a web tool, but I'm struggling to create a parameter that allows users to specify the workspace location where the output feature ...
0
votes
0
answers
25
views
Some of my LULCs do not show up in classification
I am trying to do LULC classification with seven classes using Landsat 8. when I finalize the classification, some classes do not show up in the report.
Here is the gee link https://code.earthengine....
2
votes
3
answers
243
views
Getting SQL that defines Query Feature Class using ArcPy with ArcGIS Pro
A map in my ArcGIS Pro 3.0.3 project has a layer with a Query Feature Class as its source. I can see the SQL that defines the Query Feature Class by looking at its Layer Properties. That SQL is ...
0
votes
1
answer
35
views
'Add XY Coordinate' operation failure upon Feature Class file-type; using ArcMap 10.8.2 & ArcCatalog 10.8.2
I am working with feature class (FC) files, which are of counties from North Carolina (US State), stored in an ESRI gdb. Using the tool 'Add XY Coordinates' I have attempted to append and populate ...
0
votes
1
answer
27
views
Finding specific feature class in multiple geodatabase using ModelBuilder
I have multiple geodatabase and shapefiles in multiple sub folders. I would like to search the feature class with keyword “building”, and then export all of them into a single geodatabase with ...
1
vote
1
answer
173
views
Checking topological errors in Esri geodatabase feature class using ArcPy
I am using PyScripter and ArcMap
import arcpy
# set up workspace and input feature class
arcpy.env.workspace = r"H:\Data_Processing\Work\PL07\Mygdb.gdb"
fc = "County"
# create a ...
0
votes
0
answers
214
views
ArcGIS Pro Troubleshooting Feature Dataset- some layers not drawing
I have an enterprise geodatabase with multiple feature datasets. I have one feature dataset that will not load any of the feature classes. One work around is to copy/paste the needed layer multiple ...
0
votes
1
answer
89
views
ArcMap - Project feature with attachments
I am trying to project a feature class in ArcMap using a project tool and I have hundreds of attachments files included in this feature class, When I project the data the new feature class does not ...
2
votes
1
answer
68
views
Shapefile not Z-enabled although the environment is Z-enabled in ArcPy
My attempt is to view raster values in the command window. The follwing code is thought to do this by converting the raster to a point feature file and by successively scanning the values at the ...
1
vote
0
answers
101
views
Combining feature collections into one geometry and prep for export in Google Earth Engine
I am trying to create a new feature class (polygon) by combining different feature classes into one and also removing any overlap. I am a beginner in GIS & GEE .
I will share my code below:
// ...
1
vote
1
answer
52
views
Iteratively name output files in a loop while using arcpy.conversion.FeatureClassToFeatureClass
I have four input feature classes and one feature dataset which I am trying to send them to. I would like the new feature classes to have the same names as the originals. My process is as follows:
for ...
1
vote
1
answer
219
views
Make XY Event Layer in arcpy using a pandas dataframe
I have a Pandas df with Latitude and Longitude columns I am trying to export to a featureclass using ArcPy. I cannot resolve the fiona and GeoPandas issue so I tried to use MakeXYEventLayer_management ...
0
votes
1
answer
385
views
Error: Property 'class' of feature '0_0' is missing
Using GEE, I am trying to do a crop-type classification using Random Forest. My training data are two shapefiles I uploaded to GEE and made a FeatureCollection from their geometries. However, it gives ...
0
votes
4
answers
484
views
Verifying if field name in a feature class exists
I need to create a module to call to determine (true/false) if a field name in a feature class exists. My code works fine but returns a true or false for each field name, where I just need one true/...
0
votes
1
answer
197
views
Arcpy.CopyFeatures_management creates empty feature class
I am trying to iteratively copy selection layers to new feature classes. My script successfully creates the new feature classes, but they are empty. Can anyone point out what I'm doing wrong?
arcpy....
1
vote
3
answers
620
views
Listing feature classes from multiple feature datasets in GDB
I am trying to list all feature classes from multiple datasets with single GDB. I have tried with below code
import arcpy
from arcpy import env
env.workspace = r"C:\GDB\Base.gdb"
fdlist = ...
0
votes
1
answer
788
views
How to create 'select by attributes' feature layer when greyed out? File is a feature class (not a feature layer) and I cannot convert it
I have a subset of attributes selected from a query in 'Select by Attributes' in the Attribute Table. I want to export these selected attributes into a new layer, and am unable to do so in ArcGIS Pro (...
1
vote
0
answers
197
views
Use -unsetDefault to remove NOT NULL constraints with ogr/gdal
I have a feature class in a gdb that I wanted to export to a gpkg using ogr2ogr. This feature class has some null values that I want to retain and by default, there is a Not Nullable constraint when ...
2
votes
1
answer
668
views
Export a GDB feature class to a GPKG with OGR
Suppose I have a feature class in a GDB here: C:\MyDir\MyGDB.gdb\my_dataset\my_feature. I want to export this feature class to a geopackage here: C:\MyDir\MyGPKP.gpkg using the gdal vector tool ...
1
vote
2
answers
368
views
Verify feature class path in file geodatabase using GDAL with Python
Suppose I have a geodatabase in C:/MyDir/MyGDB.gdb. I am working outside of the Esri/ArcPy environment, primarily using gdal and os libraries. I want to retrieve and verify the file path of a feature ...
1
vote
0
answers
84
views
List Feature Classes print blank
I will write a script that must iterate through the subfolders in the PPA folder, and to iterate through the subfolders, I need to reset and list workspaces (there are two folders under PPA named ...
0
votes
0
answers
219
views
Seeking fastest way to export Google Earth Engine feature class
I have a list of 3800 coordinates which corresponds to the air pollution monitoring stations. I am using python API to extract "MODIS/006/MCD19A2_GRANULES" for those points and export the ...
1
vote
0
answers
654
views
How to change "string" to "integer" in each feature properties of feature collection in google earth engine?
Is there any way other than using map function to convert string data type of a property of a feature in feature collection?
Could we change type of data in a property of all features in a feature ...
1
vote
2
answers
607
views
ArcGISProject object not working with path reference
I am currently working on a Python script for ArcGIS Pro and can't seem to get it to add data from path when I reference the project with the full path.
import arcpy
test = r'H:\main\python_code\test....
1
vote
1
answer
280
views
WKB to feature class in ArcGIS Pro
I have a table in azure databricks called prod.locations that I am connecting to in ArcGIS Pro through an OLE DB Connection\Microsoft OLE DB Provider for ODBC Drivers. This table has a column called ...
0
votes
0
answers
24
views
Joined CSV table to feature class had NULL values that should not have been there
This is bothering me. I had a feature class who's join field was "double" and the field in the CSV table was also "double". Essentially the same data type. I had about 2/3rd of ...
0
votes
0
answers
66
views
Add word/string to multiple feature classes using ArcGIS Pro
I am using ArcGIS Pro 3.
I have 31 feature classes in a gdb and I would like to add a word/string at the end of each feature class's name. For example, for feature class A I would like to add _TREES ...
1
vote
1
answer
826
views
Adding metadata to multiple files in batch/simultaneous process using ArcGIS Pro
I have a feature class that has metadata that I would like to add to 31 other feature classes in ArcGIS Pro 3.
Is there a way/tool to add metadata in batch or simultaneously, so I don't have to add it ...
0
votes
0
answers
49
views
GeoPandas DataFrame to Esri feature class [duplicate]
Is there a way to input a GeoPandas DataFrame as FeatureClass into a GDB without using the arcgis module?
I managed to do it in Python (3.7.11) with:
import arcgis # need to eliminate!!!
import arcpy
...
0
votes
1
answer
315
views
Python script returns NoneType
When I run the below script, it returns: "TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'" for line 14 (starting with fcListPoint).
What is NoneType?
I have ...
0
votes
0
answers
169
views
Group By functionality after AddJoin using ArcPy with ArcGIS Pro
I'm making a Python script using ArcPy for ArcGIS Pro and I have joined a Feature Class and a Table View to create a new feature class. All of the fields and rows I need are present, however there are ...
0
votes
0
answers
374
views
Create a new feature layer from an existing feature class selection with python/arcpy
I am attempting to create a new layer from the selection of streams and rivers in an NHD feature class. I have tried every iteration that I can think of without success. I am very new to Python, so ...
0
votes
2
answers
191
views
Remove partial string (folder) from File path with Python
The documentation for ArcGIS Pro for updateConnectionProperties https://pro.arcgis.com/en/pro-app/2.8/arcpy/mapping/updatingandfixingdatasources.htm#ESRI_SECTION1_18159CA0096044608B406CA068794E30 has ...
1
vote
2
answers
583
views
Copy feature class with the same name from different gdbs/datasets into one gdb
I have 200 gdbs, with the same structure: one dataset with five features (see below)
I need to copy the feature named "GSUP_USO_Vegetacao" from all 200 gdbs to another gdb, also, name the ...
1
vote
1
answer
132
views
Script in ArcGIS Pro does not work in ArcMap
I wrote a script to rename and sort feature classes in a database into datasets based on a portion of the feature class name. It works without a hitch with ArcGIS Pro 2.9.1 when using Spyder 5.1.5 ...
0
votes
0
answers
970
views
Convert from CAD file DWG to geodatabase features
How can I convert CAD file with different layers to specific feature classes for ex. Layers 2000 , 2001 ,2002 I want to convert them together to a polygon feature class with name buildings , and ...
0
votes
1
answer
89
views
Classifying areas after feature to polygon
I am trying to classify areas based on the polygons created from using two separate lines as input in ArcGIS Pro's Feature to Polygon tool. The input looks like this first column in the image from the ...
0
votes
0
answers
99
views
Creating Multiple Feature Classes as Views on Standalone Table in ArcGIS Pro .NET SDK
I'm developing an ArcGIS Pro 2.9 plugin using the .NET SDK. I have a set of data that contains fields describing points and ellipses to display on the map. I would like to create two FeatureClass ...
0
votes
1
answer
608
views
ArcPy SearchCursor Error: "An expected Field was not found or could not be retrieved properly"
Using ArcPy, I'm trying to use a search cursor on a point feature class to populate a list.
import os, arcpy
# make feature layer in memory
lyr_acq = "lyr_acq"
arcpy.env.workspace = ...
3
votes
1
answer
769
views
How do you compare all fields in multiple feature classes?
I have two features classes that should have the exact same fields. There are over 500 fields, I am looking for a code that will compare the fields and identify if there are fields in either feature ...
0
votes
2
answers
174
views
Equivalent or workaround for .within() method for arcpy.Point class that tests if point is within feature class
I am using ArcGIS Pro 2.6.
I am looking for a quick and dirty test that returns a Boolean to see if any ArcPy Point that I create is within a feature class.
Unfortunately, it seems that feature ...
1
vote
1
answer
114
views
Joining attributes from two features classes (ArcGIS Pro)
I have two feature classes containing building footprint polygons. Both are of the same area and can be superimposed (not 100% but very close). However, they do not have the same attributes. Therefore ...