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

learn more… | top users | synonyms

1
vote
1answer
53 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
47 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
168 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
26 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
123 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
156 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
419 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
50 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
168 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
105 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
72 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
61 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
51 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
85 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
67 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
394 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
44 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
68 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
83 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
113 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
307 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
219 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
424 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
33 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
62 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
91 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
90 views

Calculate field in modelbuilder

If vb code is also possible I could give that a try aswell.
2
votes
3answers
885 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
736 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
384 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
405 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
68 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
239 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
81 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 ...
0
votes
1answer
142 views

Convert field types in GDB with Python

I want to create a python script (ArcGIS 10.1) where I loop through a GDB with several feature classes and select all the fields which are of text type and convert them to float type. I always want ...
0
votes
0answers
87 views

Why is ArcGis change precision of double field after copy?

I create the attribute table of a shapefile and while I copy it by using the "copy features" tool it change the precision from 11 to 14. I create two fields with the name poly_x and poly_y and they ...
2
votes
1answer
270 views

How to display map tips only for one layer?

I'm relatively new to QGIS. I added the hover labels to my map using the Map Tips. My issue is that it makes hover labels for EVERY layer on my map. I only want it to make labels for one layer. Is ...
1
vote
1answer
250 views

Is it possible to add text and numbers into the same column/field of attributes of a shapefile in ArcGIS 10.3?

I have to add a field to the attributes of a shapefile and the data reads as: 2 BDL 22 18 11 BDL BDL 25 3 Could these data be added to the same field/column of the attributes of the shapefile in ...
1
vote
1answer
236 views

Create new attribute ranking polygons by size in QGIS

I'd like to create a new field in the attribute table which gives the rank of the polygon by size. For example, the polygon of the largest size would be rank 1 and the smallest rank N. I was hoping ...
2
votes
3answers
793 views

Best way to delete many fields from many feature classes using arcpy?

I'm currently formatting our GIS data for use in a mobile app. The purpose of altering the data is to reduce the output file size that's imported into the app. I need to delete many fields from many ...
3
votes
1answer
205 views

How to remove a specific unique value with arcpy

using arcpy, i would like to remove,from 50 mxd files, a specific unique value called "residence a" (exist in 3 layers) from the table of content. so i will get this result: The value of "...
3
votes
2answers
144 views

Looping field name change

I need to alter all of the field names through multiple feature classes. I have a pretty good idea of which tools to use but I'm not sure how to loop them through each feature class and each field. ...
0
votes
1answer
99 views

Permanently Re-arrange fields of attribute table (feature class and tables)? [duplicate]

I am trying to Find out simple Geoprocessing Tool that can physically re-arrange the fields of attribute table (for both feature class + tables), I have found some posts here, but nether of them have ...
0
votes
1answer
66 views

Creating multiple fields with ranks using ArcPy?

While figuring out what I have to do, practically creating a field for each arrondise, and in each, rank each FID (which are part of the respective arrondise) by the size of its shape area. ...