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
2 answers
36 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 ...
user avatar
1 vote
1 answer
42 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 ...
user avatar
1 vote
0 answers
26 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 ...
user avatar
0 votes
0 answers
40 views

Undefined in AGOL . What is the cause for this?

As I prepared my layer and set it up what I wanted. So, when I share this layer with the AGOL. I use my ArcGIS Pro and when I filled it out the "Share As Web Layer". My Map in ArcGIS Pro ...
user avatar
  • 4,127
0 votes
0 answers
11 views

Unable to add field to feature class using arcpy.AddField_management

I'm having trouble adding multiple fields at once in my code. The script runs fine but when I check my attribute table no new fields are added? I tried refreshing, reopening the program, removing the ...
user avatar
0 votes
1 answer
23 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
  • 101
0 votes
1 answer
78 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 = ...
user avatar
2 votes
1 answer
78 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 ...
user avatar
0 votes
2 answers
64 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 ...
user avatar
0 votes
0 answers
19 views

How to extract feature values to an existing raster?

What tool would I use to extract the value of a field in a polygon, store it in a raster, and perform a calculation, ideally without creating a new raster for each polygon I needed to look at? I have ...
user avatar
1 vote
1 answer
34 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 ...
user avatar
  • 27
2 votes
0 answers
91 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 ...
user avatar
  • 97
0 votes
1 answer
52 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: ...
user avatar
  • 814
0 votes
1 answer
111 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'\\...
user avatar
  • 798
1 vote
1 answer
46 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 ...
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&...
user avatar
0 votes
0 answers
34 views

Create new feature class from tuple by changing Object Id

I have feature class with 49 records. OID = [0,...,48]. I created 2 random non-repetitive feature classes containing 9 OIDs. in_FC = "E:/gis payannameh/TABU search/data/90spring_new.shp" ...
user avatar
1 vote
1 answer
142 views

Set FME Writer to always output to the same location as the Reader

Is it possible to set the Writer in FME to always write to the same location as the Reader (ideally a FeatureReader) so that the output is always saved in the same folder location as the input? ...
user avatar
  • 306
0 votes
2 answers
51 views

Create feature classes with regular numbering using ArcPy

I want to create 12 feature classes from a tuple, and I would like to have specific names that start form well_0 and end with well_11. in_FC = "E:/gis payannameh/TABU search/data/90spring_new.shp&...
user avatar
3 votes
2 answers
48 views

Copy feature class by ignoring the geometry using ArcPy

This question regarding ArcToolbox. I am trying to copy an empty feature class to create multiple empty feature classes with various geometries. All I want to know is how to copy the feature class (...
user avatar
  • 69
0 votes
1 answer
76 views

Creating new feature classes from tuple using ArcPy

I have point Feature Class that includes 49 OID. After that I have a Tuple that includes random set of OID from point feature class for example new_OID = ('10,24,38,41', '17,26,34,47', '5,7,18,25', '7,...
user avatar
6 votes
2 answers
230 views

Finding common Intersection area of each pair of rectangles with circle buffers inside each one using ArcPy with ArcGIS Pro

I'm in ArcGIS Pro environment and for this case a simple Intersect tool is not enough, so I'm trying some Python scripting. Below is the rectangles and the circle buffers that I need their pair ...
user avatar
3 votes
1 answer
93 views

Copying Object ID from an online layer to offline one using Feature class to Feature class conversion (ArcGIS Pro)

I have an online feature class "A" with a field "OBJECT ID". I am using Feature Class to Feature Class conversion to create a copy in my local Geodatabase. While doing so I ...
user avatar
1 vote
1 answer
58 views

Specifying the number of points per class (not per feature) when doing stratified sampling

I am quite new to QGIS (3.16 / Win 10) and have a raster of one band with integer values from 1 to 14. I polygonized this raster in order to generate random points afterwards. The derived polgonized ...
user avatar
  • 427
0 votes
1 answer
70 views

Invalid syntax on arcpy.conversion.FeatureClasstoFeatureClass()

I am using ArcGIS Pro 2.8.1. In a Python script tool, I am trying to get a list of feature classes as an user supplied input parameter, and export all of them with an additional text string that is ...
user avatar
  • 452
1 vote
1 answer
45 views

Invalid SQL statement for Text columns lookup

I'm working in ArcGIS Pro and writing rows from a source file with Text data type field to another text field in a target file but it generates an error as such: An invalid SQL statement was used. [...
user avatar
0 votes
0 answers
66 views

ArcGIS Python Overwrite AGOL Feature Class with Spatially Enabled Dataframe

To sum it up, I've accessed an AGOL Feature Class, converted the point layer to a Spatially Enabled DataFrame (SEDF), and made the edits to the attributes that I needed. I have the Dataframe I want, ...
user avatar
  • 131
0 votes
1 answer
61 views

Search Cursor in ArcPy for a range [closed]

I'm getting an error while using the where_clause for a length which has a "float" datatype. While other variables in a function are working fine, even on ArcMap "length" part is ...
user avatar
0 votes
0 answers
37 views

Batch conversion of point feature class to raster

I have a point feature class that contains over 100 columns (variables) of data. I would like to convert each column to a raster. The reason for doing this is to create a multiband raster that can be ...
user avatar
0 votes
0 answers
57 views

Not able to add feature class layer into new Map Viewer, ArcGIS Online

Using ArcGIS Online When in New Map Viewer, feature class layers that I have saved in My Content do not appear when I search the Browse layers through the Add tab. Only KML files are showing in the ...
user avatar
  • 101
-2 votes
1 answer
85 views

SQL statement (where_clause) does not work for UpdateCursor syntax but same works for SearchCursor syntax

feature class fc1 (daily data) and feature class fc2 (geodatabase) both have unique_id field which will be used to map Col1 rows in fc1 to update corresponding Col2 rows (not all rows) in fc2. Below ...
user avatar
0 votes
0 answers
13 views

I need to print RMSE but don't know why error is coming

I need to print root mean squared error (RMSE) but don't know why error is coming. Can any one share code how I can calculate RMSE?
user avatar
1 vote
0 answers
321 views

Polygon disappearing after editing using ArcGIS Pro

I've created a polygon feature. When I go into "Edit" and then "Create Feature" however, I am unable to draw a polygon that gets saved to that feature. The polygon disappears as ...
user avatar
1 vote
1 answer
87 views

Reproducing drag-n-drop for Feature Classes using ArcPy in ArcGIS Pro

There is a Geodatabase with several Feature Datasets (FD), because a requirement in Location referencing tools in ArcGIS Pro 2.6 and above, Feature Classes (FC) from one FD should be moved to another ...
user avatar
  • 734
4 votes
1 answer
74 views

Creating file geodatabase feature class without system fields

Is there a way to create a feature class without the SHAPE_LENGTH and SHAPE_AREA? Only way I seem to be able to do this is to create a new feature class by right clicking fgdb> New > Feature ...
user avatar
0 votes
1 answer
91 views

Get FeatureClass name from Layer properties in ArcObjects C#

I am newbie in ArcObjects. I am trying to fetch the featureclass name from layer properties under Data Source. I am able to get the red-marked text via ILayer, IFeatureLayer, IFeatureClass. Is there ...
user avatar
0 votes
1 answer
237 views

Export Selected Features to a new Feature Class NOT VISIBLE ArcGIS Pro 2.7.2

I am exporting selected features from a feature class and creating a new feature class within the project geodatabase. The export runs and the feature class is created but the features are not visible....
user avatar
1 vote
0 answers
27 views

Process 100 of feature classes through script and fc name to end of each output

I have about 100 tiled 'area of interest' polygons in a geodatabase that need to be processed through my script. My script has been tested on individual tiles & works great. I need advice how to ...
user avatar
0 votes
1 answer
101 views

Coverage Turn Table to Turn Feature Class in ArcGIS Pro

I have data about streets in coverage format (arc, node and turntable). I would like to transform that data to ArcGIS Pro and use Network Analyst for calculating navigation. Steps, that I used: I ...
user avatar
  • 49
0 votes
0 answers
16 views

Editing featureclass in Oracle SDO_GEOMETRY

I'm building an empty featureclass in Oracle and want to enable editing in arcmap/py with having the featureclass user SDO_GEOMETRY for the shape column. However, I'm running into difficulties on how ...
user avatar
  • 13
1 vote
0 answers
23 views

Import > Feature Class (multiple) of ArcMap not loading all features

The Import > Feature Class (multiple) option of ArcMap is not loading all my features. When I do this it fails and only loads partial features (only 200k features instead of the full 800k). When I ...
user avatar
  • 11
2 votes
1 answer
49 views

Merging features with the same values within feature class

I have a feature class of land parcels that contain "ownername" and "land_use_code" fields. Some of these features have the same values despite being two different parcels in ...
user avatar
2 votes
1 answer
2k views

Converting geopackage to feature class (shapefile or geodatabase) using ArcGIS Pro

I work with ArcGIS Pro and got a geopackage (.gpkg) from a client. It seems that one cannot directly work with the geopackage data in ArcGIS, so I would like to convert it to a shapefile or feature ...
user avatar
0 votes
1 answer
43 views

Creating python list of feature classes or layers using ArcPy [closed]

Step 1: I will generate a series of point feature classes. Each will have half the distance between points as its predecessor. Step 2: I then want to cycle over those point feature classes, but in ...
user avatar
  • 139
1 vote
2 answers
31 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", &...
user avatar
  • 798
0 votes
1 answer
275 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 ...
user avatar
0 votes
1 answer
55 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 ...
user avatar
  • 1
1 vote
0 answers
53 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 ...
user avatar
  • 11
1 vote
1 answer
296 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 ...
user avatar

1
2 3 4 5
9