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

learn more… | top users | synonyms

0
votes
1answer
24 views

QGIS Autofill Column help?

I'm working on a soil project and I am trying to add a new field that is called Drainage which is correlated to all of the different soil types (which is a different field). Is there an easy way to ...
-3
votes
0answers
11 views

Read fields from one feature class add to another [closed]

I would to read the fields from one feature class, compare to another feature class and if the field does not exist add to the second feature class.
1
vote
0answers
34 views

Populating label fields in print composer

Is it possible to fill text fields in a print composer template using data saved in a csv file? For example, every template I create has the same fields which I always have to manually enter: Client ...
7
votes
1answer
163 views

Setting a default value in a QGIS field

I would like to add in a layer's field a default value. I mean, every time a new feature is created, that field would be automatically filled with the default value. In my case the default value ...
0
votes
0answers
37 views

Python script iterator to interpolate accross multiple fields of attribute table

I interpolated precipitation data in ArcMap (ver. 10.2) using a surface-fitting tool [e.g. Global Polynomial Interpolation (GPI)]. I built a GPI model using model builder in ArcGIS 10.2, but the model ...
2
votes
1answer
52 views

Can I control what field comes up first in the Identify Results window in QGIS?

My shapefile has 20 fields in the attribute table. When I click "Identify results", the third text field (Welsh_Name) comes up first. Is it possible to change which field comes up first (at the top ...
5
votes
1answer
76 views

How to delete fields from a Geopackage attribute table?

Using QGIS 2.14.0 on a Microsoft Surface Book with Windows 10, I created a geopackage from a layer using Save As... I can successfully add a field to the geopackage's attribute table, calculate ...
3
votes
2answers
183 views

Remove duplicates from a field

I need to remove duplicates from a field named "Intersecti" Here is my code. I used list..set. It's not removing any duplicates. import arcpy duplicates = "G:\\xStreetNew\\Duplicates.shp" ...
0
votes
1answer
29 views

Automatic marking or tracking of edited features

I'm working with ArcMap 10.2. What is a good way to mark or find edited features in order to keep track of them without manual field updating? Is there a way to have ArcMap automatically update a ...
1
vote
1answer
52 views

Arcpy get values in the 2nd field of every table in a geodatabase

I have a geodatabase in Oracle with around 50 tables. I want to get the values in the 2nd field of every table in my geodatabase. I will be using the values in the 2nd field as an input for a ...
2
votes
1answer
36 views

How to select certain fields from a feature class to create a new feature class

I am stuck on how to create multiple features classes from one feature class using a select few fields. I have the following attribute table for a shapefile. I would like to select the 'USAF', ...
2
votes
2answers
34 views

How can I alter the value field in a raster?

I'm using ArcGIS. I have a raster with angles in the value field. But the value field is type long integer. I would like to change it to float. Is that possible? Some more details: I've started with a ...
0
votes
0answers
9 views

Altering old AXF before importing back into ArcSDE?

When we exported an AXF, the editable layer had all its fields turned on. When we bring it back in, months later, even if a field wasn't set up for editing outside the office, the values in the field ...
1
vote
1answer
21 views

Tool validation to filter out OID and geometry fields?

I have a python script tool (arcpy) in a standard toolbox that edits data in fields, but I want some code in tool validation that would make sure that when the user gets to the field parameter, the ...
1
vote
1answer
32 views

Truncate a Shapefile field with SQL and ogr2ogr

I want to create a new attribute which is the first 8 characters of another, using ogr2ogr. To my surprise, this didn't work: ogr2ogr -f "ESRI Shapefile" a.shp b.shp -sql "select FID,left(FLOORKEY,8) ...
0
votes
0answers
16 views

Add field, if not alredy exist. Else do nothing [duplicate]

I want to develop a python code that: Enters a shapefile. Determines all its fields and, if among these fields there are some missing from a certain list, it add them. An example may be easier to ...
1
vote
3answers
30 views

Dissolving while retaining field informations in the same entry instead of multiple entries

I have 1520 covenants. Many covenants have more than 1 VM symbols attached to it, currently showing as rows. EG. Covenant #97 has 4 VM Symbols, with the VM Symbols 1, 67, 117 and 171. How do I ...
1
vote
1answer
45 views

What is causing these strange results in the Layer Symbology?

I am using Arc 10.3.1 and I have a feature class with various INT fields that hold values for number of defect type found in this polygon. Here is an example of my table: Now when I go to the ...
3
votes
2answers
167 views

ArcGIS python “add field” and “calculate field” workflow

I am new in Python and I am creating a Script. I've crafted a functional code, but I'd like to know if there is an easier way to do it, just for curiosity (And learning new ways!). The purpose of ...
2
votes
1answer
50 views

Change shapefile field names using ogr AlterFieldDefn

I need to change field names of a shapefile to upper case using ogr. I want to do this automatically, versus calling out each field and replacing the name with upper case. When I try to implement ...
1
vote
1answer
54 views

Removing Trailing Zeros from Numeric Field in ArcMap

Working with a feature class in an enterprise GDB (SQL Server) which has a numeric field with type Double - precision 10, scale 3 - but is displaying trailing zeros on a lot of the values e.g. ...
4
votes
2answers
198 views

How to create in QGIS shapefile a field that automatically returns the current date

I'm digitizing a shapefile in QGIS and I need to create a field that returns automatically the current date.
1
vote
1answer
41 views

Is it possible to change the precision of a field in the attribute table in ArcMap? [duplicate]

Is it possible to change the precision of a field in the attribute table in ArcMap? I have a shapefile with X and y coordinates of pointlocations. I would like to change the precision. Is this ...
2
votes
1answer
82 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 ...
4
votes
2answers
124 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 ...
0
votes
0answers
19 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 ...
2
votes
4answers
96 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 ...
5
votes
1answer
69 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 = ...
1
vote
1answer
104 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 ...
0
votes
0answers
17 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 ...
1
vote
0answers
20 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 ...
1
vote
1answer
62 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 ...
4
votes
1answer
75 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 = ...
2
votes
1answer
45 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
104 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
60 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
114 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
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 ...
3
votes
1answer
74 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
83 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
70 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
52 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
44 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
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
43 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
125 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
104 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
146 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
410 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 ...