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
0answers
29 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
28 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 ...
0
votes
0answers
23 views

How to make one feature class of multiple revit layers? [closed]

So I want to show some revit models on a 2D map. This is pretty easy to do. You can just load the revit model into the 2D viewer in ArcGIS Pro. Now comes the issue. I want to make a feature class of ...
0
votes
0answers
20 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
104 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 ...
0
votes
0answers
19 views

Convert to separate feature classes

I have an input CAD file with different layers, need to convert each layer into separate feature classes. By the code below, I am able to convert single CAD layer to feature class at a time. Now ...
1
vote
2answers
2k views

Using ArcPy to Rename Feature Class by Field?

I made a little model and at the end I want to rename the feature class file to something based on the fields in that feature class. I want to rename that feature class by the date the data was ...
27
votes
2answers
17k views

Reading feature class in file geodatabase using R?

I have a feature contained in a geodatabase that is larger than 2GB as an exported shapefile. I need to run an extract function in R to attribute the polygons with data from a raster file. Exporting ...
1
vote
1answer
26 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
26 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
17 views

ArcMap displays 0 0 Decimal Degrees for rasters with correct information

I have multiple rasters when opened in arcmap they show 0 0 Deciaml degrees at the right bottom of arcmap the information this is the same raster. what is problem?
1
vote
1answer
26 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. ...
0
votes
1answer
1k views

TypeError: unsupported operand type(s) for *: 'numpy.ndarray' and 'numpy.ndarray'

I am trying to insert a value for different group of percentile eg (0- 10 percentitle) value = 1. I saw an example over here and went to try it out How do I Calculate Grouped Percentiles or Batch ...
0
votes
0answers
22 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 ...
1
vote
1answer
1k views

Which is the faster way to copy data to another feature class: Feature Class to Feature Class or Insert Cursor

I have a feature class with 1 million records. Which is the faster way to copy data to another feature class: Feature Class to Feature Class or Insert Cursor?
0
votes
1answer
396 views

Appending fields from external tables to feature class using ArcPy? [closed]

I have some data in a relational database structure within a geodatabase i.e a feature class with several lookup tables. I need to flatten this data so that certain fields from the lookup tables are ...
1
vote
1answer
32 views

Iterating through 2 different Geodatabases at same time using ArcPy?

I have 2 gdb's; one that contains a polygon feature class of census blocks(cb), and one that contains centroids that may lie within those census blocks. They are organized by state. Ex: FL_cb = ...
2
votes
3answers
353 views

Extracting a small subset of an .sdc file

There are some line features in the form of an .sdc file. I do not need all the data in the file, just a very small subset of it. I understand that .sdc files are highly compressed, and my file is ...
1
vote
0answers
23 views

Storing Get Count Tool Results in Data table using ArcGIS ModelBuilder?

I'm trying to take counts of feature class. In ModelBuilder there is option Get Count tool it is useful, but the result will appear in result window it shows counts. How do I store counts in a data ...
0
votes
2answers
954 views

Create Python Dictionary from feature classes, fields, and domains

I want to create a Python dictionary with a Feature class as the key and the fields of the feature class and domains of the feature class as separate values. I'm starting off by simply attempting to ...
0
votes
1answer
74 views

Arcpy way to access underlying feature classes contained in a web map

I am building a stand alone arcpy script, and need to connect to the specific feature classes within a published web map, query/copy from those feature classes, then after some processing update those ...
0
votes
1answer
74 views

How to get the “modified” date for a FeatureClass in a file geodatabase via ArcPy?

There is a closed question which is similar to or identical to this question: Getting date modified for a feature class within a file geodatabase via arcpy Looking at a file geodatabase featureclass ...
1
vote
0answers
46 views

Importing/downloading symbology from ArcGIS Online using ArcPy?

I am currently attempting to create a script to download shapefiles from ArcGIS Online to my local drive before adding it to an aprx project and thereafter uploading it to a ArcGIS portal/enterprise. ...
0
votes
1answer
35 views

Adding multiple feature classes (gdb) to map file (aprx) by using addDatafromPath in ArcPy?

I have some problems adding multiple feature classes (not only a single one) from a geodatabase to a map file in an ArcGIS Pro project and I'm wondering if someone knows of a solution to this. To be ...
0
votes
2answers
21 views

How to remove only a single point after using the Integrate tool

I have a layer of 7000 point features that were obtained through asset extraction utilizing LiDAR. A small portion of these features are what we consider duplicates and need to be removed, however ...
2
votes
0answers
1k views

Getting date modified for feature class within file geodatabase via ArcPy? [closed]

For ordinary shapefiles located on a disk, I know I can check the date modified using os.stat (see Creating table containing all filenames (and possibly metadata) in File Geodatabase?), but how would ...
0
votes
1answer
40 views

Multiplying points to another feature table using ArcPy?

I have a point feature class like this: And another table looks like this: How can I add point's xy coordinate to that table based on their No. and automatic multiply as their No. multiplies using ...
0
votes
0answers
27 views

Using REST API to update feature class that is not a published layer

Let me give a bit of a background on what I have: I have 3 published layers using a SQL view as a DataSource. The reason for this is because I have a layer for points, lines, and polygons that all ...
3
votes
2answers
6k views

How to create a feature class in memory?

I am trying to create a feature class in memory but I am not sure how to use the syntax. My code looks like this: FC = arcpy.CreateFeatureclass_management("", "in_memory/FC", "POLYGON", "", "...
0
votes
1answer
78 views

Appending multiple FeatureClasses to one another gives ERROR 000735?

I have 5 fairly large Feature Classes with identical fields but different attribute data which I have been trying to merge/append together unsuccessfully. When using merge_management the process ...
0
votes
1answer
46 views

Converting from Boolean to point features using ArcPy?

I used geometry objects and da.searchCursor to check if randomly created points fall within polygon. Now I get True and False of each points that falls within or outside of the polygon. I made a list ...
2
votes
1answer
55 views

Finding highest value within a shapefile or feature class using ArcGIS Desktop?

I want to find the highest value within a specific area of a shapefile feature class but am unsure about how to do this. From the attatched image, I want to find the pixel within the outlined region ...
1
vote
2answers
32 views

Calculating areas in continuous raster of flood map?

I generated a flood hazard map (raster) of a certain area using ArcGIS 10.5 and classify the result into low 0.1 ÷ 0.5 medium 0.5 ÷ 1.5 high > 1.5 After that, I overlay a Land Use map (...
1
vote
1answer
33 views

Copying first record from series of feature classes into separate file using ArcPy? [closed]

I have 1000 files from which I need to copy the first record and insert into a new feature class. Additionally, is there a way to do this without copying the Field headers as well? The end result ...
0
votes
1answer
35 views

Deleting suffix from feature class name using ArcPy?

I have to edit the Name of the feature classes in my databank by deleting the Suffix part called "_AAA_VV". I am not pro in ArcPy but prepared something which does not work. Can you help to find my ...
1
vote
0answers
16 views

Feature Class Unique Fields For ESRI Collector Survey

I have a suite of empty feature classes I use for ESRI Collector surveying. They are in a FGD. I want the PhotoID field in my Photos feature class to contain unique records, so fieldworkers don't keep ...
0
votes
0answers
15 views

File GDB Feature Classes Converting Themselves to File GDB Tables [duplicate]

I have GDBs in folders in a certain location in a shared dropbox. When I move the folders to another location, some of the feature classes have been converted to GDB tables. I have never seen this ...
2
votes
1answer
38 views

Checking for the existence of a workspace (arcpy), issues with if else statement

I am trying to describe, list, and test for existence of featureclasses in a geodatabase using the following code. import arcpy #Set geoprocessing environments arcpy.env.workspace = "C:"" #Check if ...
-5
votes
2answers
58 views

Steps for creating first project? [closed]

I have a couple map files and I am trying to start a new project. What is the correct way of going about this? Should I first make a gdb, then add the maps to that gdb and then add feature classes ...
1
vote
2answers
71 views

Refreshing Versioned Feature Class using ArcObjects?

I have a FeatureClass A. This Feature Class is Versioned. User X has a tool open, that reads records from this Feature Class, by clicking a refresh button. The refresh button code is basically a ...
1
vote
0answers
36 views

Forcing ArcGIS Desktop to re-read file geodatabase dataset extent? [duplicate]

I have feature class sitting in FGDB. I can add it to map, right click on it in the table of content and pick "Zoom To Layer". This is what I see: I start editing session, remove most of the features ...
1
vote
1answer
122 views

Making relationship class between feature class and Excel table with ArcGIS Desktop?

I have a feature class of parcels and an Excel table of other information related to those parcels. Goal: would like edits from an Excel table to get passed onto feature class. Problem: for a true ...
0
votes
0answers
82 views

Create/Fill Feature Dataset in QGIS

With the FileGDB-Driver of an OSGeo4W installation it is possible to read/edit/create Feature Classes of FileGDB in QGIS. Is it possible to create ESRI's Feature Datasets in QGIS to group Feature ...
0
votes
0answers
17 views

Is it possible to align Text or other drawn graphics to a feature class?

I regularly have to input measurements such as 15' or drawn lines (not feature class lines, just a graphic) to building footprints that are polygon FC's. Are there any tools to line up/align graphics ...
0
votes
0answers
27 views

Embedding images into feature class using ArcMap?

I have a feature class with 9,000+ points and want to add a new raster field which will contain a single image (photo) for each point. However with 9,000+ images you can imagine this can be a tedious ...
1
vote
1answer
48 views

Query feature class on attribute value, and generate Python list of feature classes

I want to query a feature class on attribute 'state' == 'new', and if so, add that feature class record to a list (I will process this list later). I have: cursor = arcpy.da.SearchCursor(points, '...
1
vote
1answer
110 views

Make feature class Z and M aware with geoprocessing

ArcGIS 10.4. I am looking for a geoprocess to take an existing feature class and make it Z and M aware. The feature class is in a file geodb. I have been looking in the ESRI website but have not found ...
0
votes
0answers
41 views

Multi-polygon shapefile geometry incorrect when imported as FC in gdb

I am attempting to import a multi-polygon shapefile (the shapefile was generated from a postgis table, I did not generate this file) into a file geodatabase manually (right click, select import, run ...
0
votes
0answers
37 views

Write a script to create a new feature class and add the point objects of geometry to that feature class

The coordinates of the vertices representing the street Kochstraße in Erlangen are stored in a text file called Koord_Strasse.csv. Write a script to create a new feature class and add the point ...
3
votes
3answers
5k views

Export to CAD from Arcgis while preserving the symbology

Is there a way or tool that you can export layers (feature classes - points, lines and polygons) from Arcgis desktop 10.1 into a DWG/DXF, while still preserving the symbol (basic symbol - colours and ...