In GIS, Fields, also known as attributes, contain information about features.

learn more… | top users | synonyms

2
votes
1answer
48 views

Loading Features prompt in QGIS?

I'm currently working on a dataset with 3.8m records. I have a very simple expression to update a field that I want to execute using the Field Calculator, while having the Attribute Table open. Do I ...
2
votes
2answers
132 views

Formatting SQL expression for calculate field (management) tool?

I am trying to take the population census tract and calculate the percentage of population by each census tract in the field (Populati_2). To do this I'm creating a new field with the total sum of the ...
0
votes
0answers
81 views

Turning off Show Field Aliases option on attribute table permanently in ArcMap?

I'm wondering how you turn off the "Show Field Aliases" option permanently under the "options" drop down on the attribute tables that pop up for different features. I know you can just click on it to ...
1
vote
1answer
146 views

Change length of string fields in featureclass using arcpy v10.1

I am trying to edit the length of all the text fields in a feature class. The feature class has a lot of fields so I want to do this in python. I only have access to v10.1 so cannot use the ...
0
votes
0answers
11 views

Rename field in SHP file (DBF) with ArcCatalog [duplicate]

I want to rename some fileds on a SHP file, (the fields on the DBF file), using ArcCatalog (ArcGIS Desktop v10.2.2). From ArcCatalog, right click on a SHP file -> Properties... -> Fields. Then the ...
3
votes
1answer
84 views

Trying to use Symbols to represent numerous fields

I am using QGIS 2.12 in an Archaeological setting. I have populated a layer with features that represent burials and I have the intent for symbols to appear in the burial polygons to represent the ...
2
votes
1answer
97 views

Determine the number of fields of a certain field type there are in an input feature class

So I am wondering how to get the number of field types "String" by creating a custom function? Can anybody point me in the right direction? I have a shapefile named streets and there are 73 field ...
-1
votes
1answer
74 views

Adding Rasters with multiple Field Values using Map Algebra in ArcGIS for Desktop? [duplicate]

Embarrassed that I haven't looked at this for some time (can't quite get the syntax down). (ArcGIS 10.2, Win7x64). Within Map Algebra (Raster Calculator) Trying to add the cell values of 3 rasters, ...
1
vote
1answer
58 views

Problem adding feature name to field in attribute table

I have a small script that should take the name of the file and add it to a newly created field in several shapefiles. import arcpy arcpy.env.workspace = r"c:\users\athom\desktop\timber\New4" ...
1
vote
1answer
49 views

QGIS and 'Layer to labelled layer' plug-in

I'm giving a try to this plug-in and I noticed this: When you use this plug-in on a layer, it adds a lot of field in the layer table. The field LblColor has a 7 character field, but it needs a 'r,g,b' ...
1
vote
1answer
54 views

Combining text fields in a specific way

I'm sorry for my English. I look for tool or script for combining text fields in this way: e.g. field_1 (contains 3 to 6 signs) field_2 (contains 6 to 10 signs) [field_1] & x & [field_2] ...
1
vote
1answer
49 views

Change field names in SQL Server Management Studio

I am building a spatial view using SQL Server Management Studio 2014. One of the tables I am using to build this view has field names that are not compatible with esri; the field names have slashes, ...
3
votes
1answer
185 views

Calculate new field from existing fields using expression in gdal/ogr and append to shapefile

I'm trying to calculate a new field from existing fields based on a simple expression for a set of polygons in GDAL/OGR. The expression is basically: new field = (field 1 / field 2) * field 3 ...
1
vote
1answer
27 views

Does size of data fields included in attribute table of feature class affect performance if feature class is published?

Does the size of data fields included in the attribute table of a feature class affect the performance if the feature class is published? I am wondering if the number of the fields included in the ...
1
vote
1answer
140 views

Moving and converting virtual fields in QGIS

I have two questions about virtual fields: Is it possible to move a virtual field? I'm using Table manager to move "normal" fields but virtual fields doesn't show. Is there any simple way to ...
7
votes
1answer
159 views

Filling fields with conditional clauses

I have four fields in my shapefile. I would like to fill only one of them (cell of attribute table) and automatically after to write one cell the others one will be filled by conditional clause. I ...
8
votes
1answer
423 views

Is there a best practice for the length of fields?

At my work have inherited several shapefiles that originate from MapInfo that I am bringing into a new project in QGIS. I have the opportunity to change the column names, add and subtract columns and ...
1
vote
1answer
51 views

Add an area field using a shapefile

I have an attribute table of xy points that I have plotted on a map, and a shapefile that divides the map into 46 different areas. I want to add a field/variable to the table containing the xy points,...
1
vote
1answer
78 views

Change numeric field values into negative

I would like to change one field values into negative (i.e. original column, row 1 = 5, new column row 1 = -5 in a feature class list. I got until the addfield and calculate field functions, but it ...
0
votes
2answers
182 views

Debugging ERROR 000664 when changing field name with arcpy.AlterField_management()?

I am trying to change a field name in featureclasses (shapefiles) using AlterField_management, however I receive the following error message: Runtime error Traceback (most recent call last): ...
3
votes
2answers
117 views

How to get all (or selected) values from a single field in a table?

I'm looking for a way to get all of the values from a single field in an ArcGIS table. Reasons for doing this might include pasting the values into a text document or SQL where clause. Since ArcGIS ...
1
vote
2answers
77 views

How to save a selection in QGIS and keep the alias of field names?

I am trying to save selected features into a new shape file using QGIS 10.2. The new file does not contain the aliases for the field names. Is there a way to maintain the aliases in new files?
0
votes
0answers
28 views

Editing attribute columns to switch properties from text to integer? [duplicate]

Instead of adding an entire new column in my attributes table, is there a way I can edit the properties of an existing (unnecessary) column and change the type from integer to text?
1
vote
1answer
37 views

Using PostGIS Intersection to carry fields from input layers into output layer

I'm having trouble carrying over the attributes from the input layers in my PostGIS intersection below: CREATE TABLE intersection_output AS (SELECT ST_Intersection(a.the_geom, b.the_geom) FROM ...
1
vote
1answer
62 views

Updating a feature class based on evaluating different fields with arcpy.da.UpdateCursor

I have a feature class with a number of fields, two of wich are key fields, named key and front, and secondary fields named key_n and front_n. The thing is I need to search in the whole table for any ...
1
vote
1answer
53 views

How do I batch input alias names from a table for a large dataset in ArcMap or ArcCatalog?

I would like to populate the alias names for the fields in the ACS 2014 5 year estimates file geodatabase (all 11439 of them). The ACS fgdb comes with the short_name and long_name in the metadata ...
2
votes
2answers
87 views

Calculate Field using Fieldnames(variables?!)

the Question I have is kind of asked before. But I couldn't figure out the solution. ArcGIS 10.2.2 Python 2.7.5 I`m adding fields to a table using user input for the fieldnames. Then I populate ...
0
votes
1answer
68 views

How to avoid having the layer name in the field name?

I'm working with ArcMap 10. I might be doing something wrong but can't see what: I want to add a field in an attribute table. Problem is that as I name it "FieldName" the resulting name in the header ...
1
vote
3answers
438 views

How to copy entire fields into a python list

I'am trying to find a way to copy entire fields(columns) in a feature class attribute table as lists inside a master list (python). To illustrate it, consider the table below: So the list should ...
0
votes
1answer
45 views

How add a text field and then reproject all shapefiles which are in sub folders

I have a folder and inside of that folder, I have about 500 sub folders which contain on average about 5 shapefiles each. What I want to do is: to check if there is a field, lets say field_1, and ...
0
votes
2answers
71 views

How do I transfer one field name from text file to a new field name in feature class?

I am working on a script that involves incidents of fire. I'm taking my values from a text file that is comma delimited. The first line of the text file contains the field names (Latitude,Longitude,...
1
vote
0answers
88 views

Add Attribute Data to Polyline from Point [closed]

I have code that is taking a point dataset and converting into lines based on an ID similar to point to Line. It is also creating 32 new fields in the polyline that I want to populate from the the ...
1
vote
1answer
37 views

Changed subtype fields not populating for newly created polygon in ArcMap?

When I change the subtype properties of a layer and hit apply it is showing that they are changed. But, when I create a new polygon for that feature it doesn't populate the subtype fields. So after ...
0
votes
0answers
124 views

Joining two features (points) with same position but different attribute using ArcGIS for Desktop?

As shown in the figure below, these two points are in the same position but with different attributes. (TextString). I am wanting to join these two points together but with different attribute in ...
5
votes
3answers
313 views

How to find and replace attribute values based on a list

I have a Shapefile and a list in .csv which contains two columns with names: "Old_name" which contains the old names that already exist in the attribute table of the previously mentioned Shapefile; ...
3
votes
1answer
227 views

Changing Field Name/Apply Symbology from layer using ArcPy?

Using ArcMap 10.1, I want to use the Apply Symbology From Layer tool, however my field names are not the same. I'm having trouble understanding how to change the Field Names in a layer. I tried the ...
4
votes
1answer
459 views

Replacing multiples words using field calculator in attribute table python

I need to replace multiple words with one word in a field at one time in one script. Example in my LettersField I need to replace all the "Aa" and all the "Bb" and all the "Cc" with "Rr". I am ...
0
votes
1answer
35 views

GDAL Truncating/Normalizing Field names

While creating a ESRI-Shapefile using GDAL, it keeps truncating/normalizing my field names. Any reason why it does this? If the Field name is more than 10 characters it seems to do this. For example ...
1
vote
1answer
64 views

How to easily change/edit existing field datatype in shapefiles? [closed]

I am editing attribute tables of multiple shapefiles for a future project. I need the field data types to be very specific and uniform among all the shapefiles. I am running into the problem that the ...
1
vote
2answers
94 views

Limiting digits in ArcMap?

I am using ArcMap 10.2. I want to create a land information system, one of the features attribute data includes a citizen id field, it includes 11 digits, for preventing wrong value entering, i want ...
0
votes
2answers
92 views

Calculate field in modelbuilder

If vb code is also possible I could give that a try aswell.
2
votes
3answers
954 views

How to rename field via ModelBuilder?

I joined some fields to my tables and now I need a tool or something to change that field's name. How can I do this in ModelBuilder? I didn't find any tool to do that.
0
votes
0answers
66 views

Get IFields without opening ITable

We are using ArcObjects 10.0 to retrieve IFields through opening ITable, which is time-consuming. Is it possible to retrieve just IFields directly from database without opening ITable? EDIT I'm ...
1
vote
2answers
794 views

ignore Null Values when iterating through fields with python

So far I have a code which iterates through Fefature Classes and ignores all fields of type String, Geometry and OID. I now try to add some lines which tell python to ignore all NULL values when ...
2
votes
3answers
416 views

QGIS joins 2 FIELDS

I have an excel with 4 columns (Region; District; village; number of cases) Have a shapefile with dots for villages with many columns including (Region ; District ;Village) I want to plot the cases ...
2
votes
2answers
419 views

Ignoring field types in Python list returned by arcpy.ListFields()?

I am generally just wondering if there is a nice and easy way in python to ignore all fields of a specifiy type (eg string) in a feature class. At the moment I am doing it with field_names = [f....
2
votes
1answer
70 views

Searching for fields in geodatabase and adding them if they do not exist with ArcPy?

I have a list of files that need to be present in my featureclasses - myFields[]. I need to add these fields if they are not present in my FeatureClasses. import arcpy myField="Field01" myFields = [...
0
votes
0answers
20 views

Summarize Field IDs from multiple tables

I would like to summarize facilityIDs' from a number of attribute tables. Two of them are point features, the third is a line feature table. I have been using the same prefix for the IDs and would ...
2
votes
1answer
263 views

Leaving out specific values from labels

I am trying to label a field using two fields. Example: "[FieldOne] / [FieldTwo]". But I don't want to show FieldOne if the value is zero. Example: 0 / 1050 should read just 1050 whereas 1/1050 should ...
1
vote
1answer
82 views

Column length editing in QGIS or ARCGIS

Can anyone suggest how I can change the length of an existing column (For ex. column name -- ABCD, column_Type -- Text, Length -- 254). It would be great to have solution on platforms like ArcGIS or ...