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 ...
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 ...
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 ...
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 ...
-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 ...
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 = ...
1
vote
1answer
89 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
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 ...
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 ...
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 ...
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 = ...
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 ...
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 ...
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
56 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
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
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' ...
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
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, ...
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
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 ...
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 ...
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
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
55 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
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
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 ...
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 ...
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 ...
1
vote
0answers
58 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
31 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
80 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
242 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
132 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
238 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
31 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
46 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 ...