Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fields-attributes]

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

1
vote
1answer
37 views

Replace empty values with the next available one using FME

how can be replaced empty attributes with the next available values ? I tried NullAttributeMapper but somehow I dont get desired results! What I have: attribute1, , ,attribute4 ,attribute2,...
3
votes
1answer
102 views

Is it possible to view all the attribute data in QGIS

I use QGIS to map and store local history data. Because of this my point attribute data contains a lot of text. Since the textbox are so small it's hard to use and present the information. Is it ...
0
votes
0answers
21 views

Lost/disappeared shape_length an shape_area fields

I have a vast database which includes a shape length and shape area field. One day, after doing some fc to fc layers from said feature class, I opened the attribute table and the shape length and ...
1
vote
1answer
20 views

Assigning attribute based on selection points on a graph?

I have a bunch of points on a map on a river that branches. I want an easy way to select one branch from the other and was hoping I could just somehow "grab" those points on the map and add a column ...
0
votes
0answers
24 views

Retain field name alias in feature class when exporting to shapefile

I have a feature class in a geodatabase which I've joined a table to. The table which was joined has field names >10 chars. I will then need to export the feature class to SHP and once completed, ...
2
votes
1answer
164 views

Splitting polygons and dividing attribute value proportionally using ArcGIS Pro?

I am using ArcGIS Pro 2.3.0. I have two feature classes (pictured below), RED polygons and BLUE polygons. The RED polygons have a numeric attribute, Value1. How can I split the RED polygons with ...
2
votes
2answers
135 views

What is the unit of the area when geometry attributes are calculated in QGIS?

My CRS is WGS 84. I intersected two files containing polygons. Each file has an attribute table stating the area of each of the polygons (in m2). After intersecting them I navigate to: Vector >> ...
1
vote
0answers
60 views

Collecting features from multiple layers, with different attribute fields, in one layer using PyQGIS?

I am developing a plugin for Qgis. I have three layers that contain polygon geometries, and that need to be combined in one layer. During this process, I also collect all the attributes from the input ...
6
votes
2answers
80 views

How to change form content dynamically in QGIS 3.6

By using "Identify Features" QGIS shows a form for viewing and editing attributes in the canvas. Now I want to change the visible form elements dynamically by attribute value. An example in ...
1
vote
1answer
39 views

Select by attribute not working [closed]

I created a point shapefile by converting a raster into points. The default fields generated were FID, Shape, POINT_ID, and GRID_CODE. I added two new fields "X_location" and "Y_location". I ...
2
votes
2answers
386 views

SQL Query not selecting all points that it should?

I am working on a map of 60+ monitoring wells and I plotted them through an excel data sheet and a few tools. In that data sheet, I have Benzene concentrations associated with almost each point. I ...
0
votes
1answer
32 views

Expression returning wrong value in QGIS Field Calculator?

My QGIS Field Calculator expression: case when "field_value" = '' or "field_value" <> NULL then (if( "field_value" = '', 'N', 'Y')) end returns null value even if "field_value" has something ...
1
vote
0answers
19 views

Controlling field names with arcpy.Combine?

If I run the arcpy.Combine command as such: result = arcpy.Combine(["CDL/raster07", "NHD/raster07", "OtherRaster"]) The resulting raster has an attribute table with fields [f.name for f in arcpy....
1
vote
0answers
17 views

Determine the most frequent value for an attribute based on another attribute [closed]

I need to determine the most frequent value of one attribute based on another. For example: Field 1 Field 2 Cat Tabby Cat White Cat White Dog Brown Dog ...
3
votes
1answer
33 views

Isolating and exporting specific sections of a shapefile in QGIS?

If I have a shapefile layer in QGIS showing the spatial boundaries of subsections of a larger area (e.g. counties within a state, or countries within a continent), how would I selectively crop out one ...
3
votes
1answer
48 views

Dissolve (merge) polygons QGIS based on attribute values only when are adjacent

I am a fairly new user of QGIS having a question regarding dissolve functionality. I am working with the NUTS-2 shapefiles provided by EU, which I have imported in QGIS. I have created a new layer ...
2
votes
1answer
62 views

Dissolve (merge) polygons QGIS based on (non exact) attribute values

I am a fairly new user of QGIS having a question regarding dissolve functionality. I am working with the NUTS-2 shapefiles provided by EU, which I have imported in QGIS. To ease the discussion, I ...
1
vote
0answers
24 views

How to get the TEXT from a layers attributes to display on my map [duplicate]

I'm totally new with GIS software, so I apologize if this is a question that's already been answered! I'm working with the Texas Landgrid. It's composed of Leagues, Labors, Blocks, Townships, ...
0
votes
0answers
36 views

Attributes missing from geodatabase in QGIS

I have been trying to load a gdb file into QGIS, but one of the layers do not show the attributes mentioned in the metadata. The data can be downloaded here. https://pubs.er.usgs.gov/publication/...
0
votes
0answers
41 views

Writing only one of the input vector fields to output vector using Fiona/ Python?

I'm working on a function to perform operations on folders of vector files. These files might have differing attribute fields but there will be a common field between them. I'm using fiona in python ...
1
vote
0answers
43 views

QGIS 3, Expression to address ranges in the symbology [closed]

I noticed many new entries in the list of expressions in the QGIS3-Version. Is there an expression that I can use to address the symbology of a Layer? It would be of particular interest to get the ...
1
vote
1answer
48 views

Creating points with attributes from coordinates in ArcPy

I know how to create points by coordinates with arcpy using the following code: import arcpy ptList =[[20.000,43.000],[25.500, 45.085],[26.574, 46.025], [28.131, 48.124]] pt = arcpy.Point() ptGeoms =...
3
votes
1answer
17 views

Calculate a field using text from another field separated with comma

I have an address field containing the following text: "64,ramkoti,hyderabad,500070" I need to copy hyderabad to another field. What would be the code used in the field calculator tool to achieve ...
3
votes
0answers
85 views

Extract derived data fields from Shapefiles

I've uploaded shapefiles with professionally supplied survey data into QGIS and it all plots fine, then when I export the attributes table into Excel I see that the XYZ values are all zeros. I know ...
2
votes
1answer
53 views

Unable to select interpolation attributes from my shapefile?

My point shapefile has four fields, three of which are numerical: longitude, latitude, and homicides. However, the homicides field does not appear for me to select it as an interpolation attribute (...
3
votes
1answer
91 views

Getting field type in ArcPy?

I've got back into Python after a long break. I'm creating a simple data validation script at the moment. I am just trying to return the field type of a field input by the user. I'm using arcpy....
1
vote
0answers
19 views

QGIS 2.12 How can I assign the attributes of the polygons of the layer A containing the geometry of layer B?

In other words, I have two shapefiles: Layer A: not-intersected Areas (1 attribute: ID); Layer B: Buildings (Several attributes). I want to identified by the related ID attribute all the buildings ...
0
votes
0answers
12 views

Attribute table QGIS [duplicate]

I have a attribute table with different columns. I have to add one more column and then copy paste the values from a different column, but both columns are in the same table attribute. How can I do ...
2
votes
1answer
59 views

Populating new field in shapefile with values from list?

I'm looking to populate a newly created field in a shapefile that from a list using basic python and osgeo tools. The values are integers and in a python list that is the length of the number of ...
0
votes
1answer
36 views

arcpy.da.SearchCursor storing data in a list with a query

I am currently working with a database that hold street names, x and y coordinates and many more fields. I would like, through a search cursor, to store the x,y coordinates in a separate list for ...
2
votes
1answer
118 views

How to create a polygon from a data CSV file with coordinates using QGIS? [duplicate]

Having the following information in a CSV file: I want to build a polygon with all the points where the Group name is the same. For example I want to join all the points where the group is T101 and ...
2
votes
1answer
264 views

QGIS 3: How to rename attribute/field names for Geopackage Layer

Issue: I need to rename several attributes/fields in a geopackage layer. How to do this? Linked Issue: there are numerous pages on how to rename the attributes/fields of a shapefile. However there do ...
2
votes
2answers
44 views

Selecting features of a shapefile using attributes of another shapefile

A newbie here trying to learn QGIS for work. How can I select specific features of a polyline with the same values as the attributes of the buffer polygons I generated? I have a layer of polylines ...
2
votes
1answer
100 views

How to permanently change attribute values using PyQGIS?

I'm trying to iterate through all the features of a layer to change the value of some of its attributes. I'm using the following code: from qgis.core import * import os working_folder = r'C:\...
1
vote
0answers
56 views

How to set a default attribute value based on the feature being created

This question expands on, and updates for QGIS 3, the answers found here. I have a layer with attributes called "Name" and "Label". I would like to set to default value of "Label" to be the same as ...
0
votes
0answers
18 views

How to connect point layers through their attributes/relations?

I have a project to use QGIS to track fishing activities (product goes from boat to fisheries to processors to factories...). All layers have coordinates and I managed to map them but now I´m trying ...
0
votes
0answers
23 views

field information lost when importing geojson file into qgis

I have an attribute in the geojson file which contains a list of elements (usually 3). The attribute has 700-1000 characters. I learned that for shape files, qgis can only have fields with less than ...
1
vote
3answers
52 views

Deleting blank fields in multiple shapefiles in folder using ArcPy?

I have some shapefiles and each shapefile is having some blank or zero value fields. My task is to delete blank/zero value fields for all shapefiles in the folder. I have searched for solution in ...
0
votes
3answers
72 views

Using ArcPy to ListFields inside SearchCursor?

The current code I have simply lists ALL fields in the feature class and seems to ignore my logic of if row[0] is not None: Why does it do this? fields = arcpy.ListFields('\\\\Bvweb104draco\\e\\...
3
votes
2answers
64 views

Running arcpy.AlterField_management 2,000 times takes too long?

I am trying to replace field names of a table stored in a file geodatabase using a dictionary as a lookup table. My field names got cut off from the Tabulate Area tool (Tabulate Area Truncates Field ...
1
vote
0answers
42 views

Select Feature Based on Iterate Row Value in ModelBuilder

I have a table showing commuting trips from home to work. home_id represents home and work_id represents work. Now I want to step through the trips table using Iterate Row Selection in ModelBuilder, ...
0
votes
1answer
71 views

Field Value shapefile - Add values

I have a shapefile that contains three lines. I want to add a specific numeric id to the field "line_id" and a string id to the field "border_id". Basically, for the first line, I want to add the ...
0
votes
1answer
32 views

Fill the color of polygons with some attribute value using ArcGIS

I have a large set of polygon features where I need to add some attribute value in "Name" field. Because it is a large set of polygons I want to have all polygons where I have add the value to be ...
1
vote
1answer
55 views

LiDAR data in GPS time, only in second. Missing week?

I have LiDAR data LiDAR Data captured, unsure what units or format this time field is in? which I learned that my LiDAR data is in GPS second, however I do not have a column of data which shows the ...
1
vote
1answer
45 views

LiDAR Data captured, unsure what units or format this time field is in?

I haven't been able to figure out or find out from searching around what units or format this time field is in my LiDAR data that was collected?
0
votes
1answer
84 views

Limited field type options QGIS 3.4

I'd like to add a 'Decimal Number (double)' field to an attribute table, however, this option seems to be missing when I go to add a field. I have looked at some videos for adding fields in QGIS and ...
0
votes
3answers
79 views

Making one field/values equal to another field/values

Lets say I have created a new field called "SFX" in a shapefile called "myshape.shp": input = r"C:\files\myshape.shp" arcpy.AddField_management(input, "SFX", "TEXT", field_length=100) There is now ...
0
votes
0answers
38 views

Adding field to middle of attribute table using ArcPy? [duplicate]

When executing the add field command in arcpy it always appends the field at the end of an attribute table. Can someone help me write a code where a field can be inserted in the middle of an ...
3
votes
3answers
206 views

Changing field types so graduated symbols are available

I can't seem to make graduated symbols work. When I try to click on my column it doesn't show any options. I think these is due to those columns being formatted as text and not number. Any ideas how ...
0
votes
1answer
45 views

Reclassify with attribute

So, I don't really know how to word what I want to ask, but I took a DEM file and did used the raster calculator to select a certain elevation range. After that I reclassified it to separate it into ...