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
37
votes
6answers
35k views

Difference between map layer and spatial dataset (e.g. feature class, shapefile)?

What is the difference between a feature class and a feature layer? To me they seem very similar in concept.
27
votes
2answers
16k 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 ...
5
votes
2answers
20k views

Converting GML to Geodatabase Feature Classes?

I have a series of XML files containing GML tags such as : <gml:posList srsDimension="2">454780.3125 525867.9375 454762.0625 525994.5625 and I need to convert these into ESRI feature classes. ...
11
votes
2answers
9k views

Listing feature classes in multiple geodatabases in folder using ArcPy?

I have a folder with numerous geodatabases in it. Within the geodatabases are feature classes. I would like to get a list of the feature classes in these geodatabases using a Python script. I've only ...
4
votes
2answers
13k views

Constructing file path within Python for Feature Class within Feature Dataset?

Based on my understanding of the ArcGIS path structure, a feature class inside a feature dataset inside a geodatabase can be accessed by the following: C:\Menu\Lunch.gdb\Sandwich\Cheese Where ...
5
votes
1answer
425 views

How to make two feature layers congruent using ArcGIS for Desktop?

I have two feature layers (polyline/polygon) which should be congruent but there's an offset of about 220 meters. The Georeferencing tool only works with raster layers. How do I do the equivalent ...
9
votes
3answers
9k views

Why is it important to use feature layers in ModelBuilder?

I am trying to understand creation of a geoprocess with ModelBuilder, but I don't know why it's important to use feature layers instead of feature classes when creating a geoprocess with ModelBuilder. ...
7
votes
3answers
3k views

Creating geodatabase feature class using geodatabase table schema with ArcPy?

Is there a way in ArcPy to create an empty polygon geodatabase feature class that will acquire the schema of a geodatabase table? I know that it's possible in ArcCatalog (New -> Feature Class and ...
3
votes
2answers
5k views

Event layer to feature class - fastest method?

There are three methods to convert the output of a Make XY Event Layer to a Feature Class: Copy Features Feature to Point Feature Class to Feature Class Which one is the fastest method? I need to ...
2
votes
1answer
287 views

Points along one or more lines at a time, with rotation

I'm using ArcMap 10.3, and I have several lines, that I would like to add arrows along at a defined interval, with that lines rotation, so the arrows point correct way along the line. When I use the ...
7
votes
5answers
5k views

What is hierarchy (object model) of features in ArcGIS?

I'm new to GIS. My understanding of shapefiles is that they are (contain?) featureclasses, that contain features (points, polylines, polygons). Is there a clear hierarchy for these files. Would the ...
4
votes
1answer
6k views

Getting feature class from File Geodatabase in ArcObjects using VB.NET?

How do you open up a File GDB and read out a simple feature class? The snippet for retreiving a shapefile from a regular folder on disk works, and I suppose I can use the same code but with a ...
3
votes
1answer
2k views

Determining date or time Feature Class was created in File Geodatabase?

I had a script running at the office over the last 5 days and tried to remote on unsuccessfully since the 3rd day. I got here and it appears there was a power outage. Is there a way to find out the ...
3
votes
1answer
3k views

Using multiple wildcards within iterator of ArcGIS ModelBuilder?

I would like to know if it is possible to use multiple wildcards to select specific shapefiles when using the Iterate Feature Classes tool in ArcGIS ModelBuilder. I use this to select all shapes ...
2
votes
2answers
393 views

Erase features from feature classes based on record ID?

This is the challenge: I have two feature classes, which have the same number of polygon features, that when overlaid form concentric "rings." I need to erase the inner circle from the outer circle ...
2
votes
2answers
2k views

Renaming a variable input to replace spaces with underscores to be used in an output's name

This may be easier than i am making it. Using Model Builder, I have a variable input "Name", which is set as a model parameter, used for a 'Select by Attribute' early in the model. I would like to ...
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 ...
1
vote
3answers
3k views

Multiple python import from feature class into feature dataset in geodatabase

Is it possible to create a python script to import shapefiles/feature classes, from different sources into specific feature datasets in geodatabase, but in one script? I managed to write the script ...
0
votes
1answer
1k views

Feature Class Extents Changed After Import

I have been tasked with editing the attributes and fixing geometry of a feature class in a shared geodatabase. The feature class is not in a feature dataset. I decided to export the feature class ...
3
votes
2answers
3k views

Creating feature class in file geodatabase in ArcGIS Desktop with arcgisscripting?

I am using ArcGIS Desktop 9.3. What I am looking to do is create a file geodatabase and add a feature class directly into that file geodatabase, as opposed to creating a feature class outside the ...
3
votes
2answers
7k views

Export attribute table (feature class) to text file in batch?

What would be the most efficient way to export attribute tables from multiple feature class files stored in a file geodatabase? Export to .txt or .csv. Is there any sort of batch process? Or python ...
3
votes
2answers
5k 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", "", "...
2
votes
0answers
397 views

Extracting specific feature class from dataset in ModelBuilder?

I would like to be able to run a model that iterates through datasets and at one point extracts just a single point feature from within the dataset and save it in a different geodatabase. The problem ...
1
vote
1answer
438 views

Dynamic scale dependency from attribute query using ArcGIS for Desktop?

If I have a feature class called roads with an attribute for type e.g. highway etc. Is there a way to setup a dynamic scale dependency on the layer based on the type of road? Like do a SQL query ...
1
vote
1answer
75 views

Setting up where_clause to select counties one at a time from feature class using ArcPy?

I need to select a single county at the time from the "counties" feature class. I am using a make feature layer with a where clause. How do I set up the where_clause to select each of the counties in ...
1
vote
1answer
443 views

Using arcpy AsShape on GeoJSON file?

I'm new to working with GeoJSON and have been reviewing the ArcGIS page for AsShape, but the examples seem a little thin. I'm currently pulling a WFS from a GeoServer instance in GeoJSON format. I ...
1
vote
1answer
64 views

Querying two Separate Columns in ArcPy SQL {where clause}? [duplicate]

Using ArcPy I'm Trying to Set up a Where Clause in my "FeatureClassToFeatureClass_conversion" This {Where Clause} needs to Query Two Columns in the data: FEATURE = 'ENVIRONMENT' and TEMPERATURE &...
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 ...