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
0 votes
1 answer
17 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 ...
Jay Kumar sharma's user avatar
0 votes
1 answer
30 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 ...
Sarah's user avatar
  • 1
0 votes
0 answers
38 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 ...
stonebe's user avatar
  • 445
0 votes
1 answer
33 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 ...
Mutor13's user avatar
0 votes
0 answers
22 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....
Laldu's user avatar
  • 1
2 votes
2 answers
138 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 ...
PolyGeo's user avatar
  • 64.9k
0 votes
1 answer
18 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 ...
Lufe's user avatar
  • 23
0 votes
1 answer
23 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 ...
Winnie's user avatar
  • 1
1 vote
1 answer
97 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 ...
GrizzlyBear's user avatar
0 votes
0 answers
81 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 ...
Megan's user avatar
  • 1
0 votes
1 answer
51 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 ...
MAMDOUH ZALAKY's user avatar
2 votes
1 answer
58 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 ...
stonebe's user avatar
  • 445
1 vote
0 answers
67 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: // ...
Abdirahman Ahmed's user avatar
1 vote
1 answer
45 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 ...
dre627's user avatar
  • 29
1 vote
1 answer
157 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 ...
MrKingsley's user avatar
  • 1,433
0 votes
1 answer
243 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 ...
Samar Tarek's user avatar
0 votes
4 answers
271 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/...
PieCharmer's user avatar
0 votes
1 answer
142 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....
GreggUnited's user avatar
1 vote
3 answers
407 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 = ...
Arb's user avatar
  • 165
0 votes
1 answer
469 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 (...
Rad_GIScience's user avatar
1 vote
0 answers
150 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 ...
gwydion93's user avatar
  • 1,873
2 votes
1 answer
450 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 ...
gwydion93's user avatar
  • 1,873
1 vote
2 answers
250 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 ...
gwydion93's user avatar
  • 1,873
1 vote
0 answers
65 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 ...
Chowdhury's user avatar
0 votes
0 answers
155 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 ...
Saeed Nadi's user avatar
1 vote
0 answers
456 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 ...
rez's user avatar
  • 248
1 vote
2 answers
419 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....
Daniel 's user avatar
1 vote
1 answer
189 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 ...
fries's user avatar
  • 11
0 votes
0 answers
21 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 ...
Wendy's user avatar
  • 1
0 votes
0 answers
57 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 ...
Arthur_Morgan's user avatar
1 vote
1 answer
516 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 ...
Arthur_Morgan's user avatar
0 votes
0 answers
48 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 ...
D.J's user avatar
  • 101
0 votes
1 answer
219 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 ...
matthiastrek's user avatar
0 votes
0 answers
119 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 ...
Dakota's user avatar
  • 1
0 votes
0 answers
282 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 ...
GeoJoe's user avatar
  • 1
0 votes
1 answer
144 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 ...
sparky's user avatar
  • 450
1 vote
2 answers
431 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 ...
Barbara Rentes's user avatar
1 vote
1 answer
120 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 ...
Robert K M's user avatar
0 votes
0 answers
775 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 ...
MAMDOUH ZALAKY's user avatar
0 votes
1 answer
69 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 ...
bashful_creature's user avatar
0 votes
0 answers
93 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 ...
Steve's user avatar
  • 101
0 votes
1 answer
515 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 = ...
champezius's user avatar
3 votes
1 answer
585 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 ...
Mapsy Daisy's user avatar
0 votes
2 answers
143 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 ...
itsrainingschmen's user avatar
1 vote
1 answer
93 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 ...
ali_is's user avatar
  • 27
2 votes
0 answers
345 views

Random forest for Landsat 8 in Google Earth Engine JavaScript API

I want to apply and examine random forest classification results on landsat 8 image collection in Google Earth Engine (as modified from the origin code in Earth Engine Tutorials) Accordingly I ...
Solmaz's user avatar
  • 129
-1 votes
1 answer
233 views

This data is not editable using ArcMap

Bit of a vague one this. I've got a table in an Azure SQL database, which has been enabled as a geodatabase. I'm trying to edit this, but cannot, as I keep getting the following error whenever I try: ...
user25730's user avatar
  • 852
0 votes
1 answer
981 views

Use arcpy.FeatureClassToFeatureClass_conversion() on a list

This works on a single feature class: import arcpy from arcpy import env ''' convert feature class to shapefile in Data folder ''' arcpy.env.workspace = r'\\uncpathto\J\Python\Data' in_feature = r'\\...
Pfalbaum's user avatar
  • 903
1 vote
1 answer
116 views

Writing cursor to delete objects greater or less than particular FID

I have a couple of shapefile attribute tables I want to delete items greater than 10 FID using a cursor. My user arguments are the file path, FID, and the number that is the minimum number not to ...
Ellie 's user avatar
  • 69
0 votes
0 answers
46 views

Combining point feature classes with identical locations in ArcPy

I have 3 point feature classes made from rasters that have identical locations and "pointid". I want a single feature class that 1 point for each location but contains the "gridcode&...
Matthew Bova's user avatar

1
2 3 4 5
10