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

learn more… | top users | synonyms

1
vote
1answer
57 views

Virtual fields are lost when duplicate layers

I've just upgraded to QGIS 2.12.3 - and hoped that the issue which was really time-consuming in 2.12. <3 could have been solved ... On duplicating layer - with tons of joined tables and virtual ...
1
vote
2answers
607 views

How to Invert Deleting multiple fields with delete tool in ArcGIS 10.1 SP1

I have a feature (polygon) with nearly 60 fields in it. Now I want to delete all fields except 20(or a list of) and they are not one after one, no they are somewhere in the droplist. But to select for ...
4
votes
2answers
108 views

How can I delete multiple field attribute values from an attribute table?

I have a Centerlines feature class to which I transferred attributes from an AddressPoints feature class, and now each centerline has the correct street name but also a street number which I don't ...
2
votes
4answers
75 views

Calculate Length Totals in ArcGIS based on field values

I am having trouble finding the right words to describe this problem but here goes: I have 3 values (120,270,380) in my field called operatingvolt for every segment of conductor. Each segment of ...
0
votes
0answers
12 views

Drag'n'drop form fieldset to Openlayers map or viceversa

I tried to google if somebody would have tried this but all I could find was drag'n'drop functionality for available markers. I would like to use dynamic form for creating eg. title and description ...
-1
votes
0answers
66 views

How to read .shp field values by GDAL/OGR

I was wondering if somebody could show me how to read the field values from .shp file in C# by using GDAL/ORG. Essentially this is what I need: ogrinfo C# file example by Tamas Szekeres The only ...
1
vote
1answer
91 views

Trying to increment a field value for only the repeated records in a feature class using Python

NOTE: If you look at the excel tables just above the comment section it will give a clearer picture of what I want to achieve in my code. So the code below works in doing what I want it to do thus ...
4
votes
1answer
59 views

Troubles Updating Values of Selected Features with PyQGIS

I'm trying to modify the values of some selected features. I have written this small script, but nothing happens when I run it. Is there something that I've missed? Here is my code. lyr = ...
0
votes
0answers
9 views

Loss of Polygon area field when creating a hosted service from a layer in ArcMap?

My work team is planning to work with data from the ArcGIS Collector app in excel (exported from ArcGIS Online as a .CSV) and require the area of each polygon feature for later analysis. When our ...
3
votes
1answer
150 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 ...
4
votes
1answer
65 views

Rename field QgsField is not valid

In pyQGIS i tried this code (contains also debug prints): def joinLayers(inputlayer, layer, index_field, name = "JOINED", dataProvider = "ESRI Shapefile"): a = [] b = [] outpath = ...
1
vote
1answer
50 views

Duplicate a layer applying a filter in QGIS

Is there a way, using Python, to duplicate a layer in QGIS as many times as the single occurrences of a variable contained in a field and with a filter applied on the duplicated layer based on the ...
1
vote
0answers
18 views

Is there any standard or source of information to check for valid ranges and accuracy of each information conveyed in NMEA format ?

Currently I am reading IEC 61162 Nmea 0183 standards document. In there there is not information about valid ranges of some values or precision of data fields in nmea sentences. Is there anywhere that ...
2
votes
1answer
39 views

QGIS - Loading Features prompt

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 ...
9
votes
4answers
19k views

How to Change Field Name in ArcGIS 10.2

Can someone please let me know how I can change the field names (not the alias) in ArcGIS 10.2. I already found this page on ArcGIS support: "Renaming shapefile fields (Defense Mapping)" but there is ...
2
votes
2answers
60 views

Problems with SQL expression formatting and calculate field management

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
37 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
56 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 ...
3
votes
1answer
57 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 ...
0
votes
0answers
10 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 ...
2
votes
1answer
46 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
vote
0answers
157 views

Why does inline variable output overwrite occurs with Reorder fields tool?

I am trying to use this Reorder fields modelbuilder tool but for some reason the inline variable (%name%) for the output gets overwritten with each file pass until the last one. Otherwise it works ...
-1
votes
1answer
42 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
44 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
33 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' ...
7
votes
1answer
116 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 ...
1
vote
1answer
52 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
0answers
185 views

Reduced real-type numbers in QGIS?

I have a SHP point file created from CSV with QGIS 2.4.0 Chugiak. It contains some data on noise in a certain point. When I import from CSV, it seems to be fine, but when I export to SHP and open the ...
3
votes
1answer
62 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
36 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, ...
1
vote
1answer
22 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
43 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 ...
8
votes
1answer
387 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
47 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 ...
1
vote
0answers
91 views

Using the QGIS Graphical Modeller how can I choose specific fields to make a join based on?

I wish to join one field from a shapefile to another shapefile within the QGIS graphical modeler. I am aware that there is a 'Join attributes table' algorithm but this joins all of the fields from the ...
3
votes
2answers
82 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
1answer
73 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
56 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): ...
1
vote
2answers
46 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
33 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 ...
2
votes
1answer
35 views

Feature Rotation Exception

I am getting an error when I try to change the value of a feature's Rotation Value. I have a schematic feature that I would like to rotate by changing the field's ROTATION value, but everytime I try ...
1
vote
1answer
46 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
37 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
68 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
60 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 ...
3
votes
1answer
123 views

Field cannot be deleted because it is being used as relationship key?

I want to delete some fields of featureclasses, but when I run the code FeatureClass.DeleteField(Field) it works well for some featureclasses but after some time it gives an error such as: The ...
1
vote
3answers
198 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
42 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
56 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 ...