Questions tagged [fields-attributes]

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

148 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
438 views

Why does QGIS 3.4 and higher create .tmp file instead of refresh editing layer after saving?

I downloaded QGIS 3.4.0 and try to save edits in .geojson file. I can save new objects, but not edits in attributes. Insted of it, QGIS creates .tmp file with my chаnges into the same folder with ...
4
votes
0answers
71 views

Creating Raster that sums up input polygons using QGIS?

I am using QGIS and I have a shapefile with buildings. From these buildings, I have built Buffer with variegating radius. The Buffer also have data about the demand for Parking spots for each building....
4
votes
1answer
148 views

Sharing properties for SQL server table in QGIS?

I have a project where most of the layers come from a SQL server. Most of the layers contain pointers to, and/or drop down list for, attributes so that there is consistency in data entry. This project ...
4
votes
0answers
4k views

How to edit Attributes on WFS Layer through Popup?

I am working on a project for university. So far I have displayed WfsLayers which can be select from a panel, also I can click on my points whereupon a Popup will show up with some information which ...
3
votes
0answers
156 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 ...
3
votes
2answers
88 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 ...
3
votes
0answers
108 views

Grouping neighbor points based on field sum in QGIS

I have about 14,000 points. These points have a specific field "time", an integer value, mainly between 1, 2 or 3. I would like to split these 14,000 points into groups based on the "time" field ...
3
votes
0answers
52 views

Use vector layer attributes as edge properties of a QgsGraphArc with PyQGIS

With PyQGIS 2.18 I created a QgsGraph as describe in the PyQGIS developer cookbook, Release 2.18, ch. 21.2, pp. 95-97. In the cookbook it says "Vector layer attributes and length of an edge can be ...
3
votes
0answers
70 views

Using QGIS comboManager to access attributes from PostGIS

I have been tasked with creating a plugin in QGIS that would connect to a PostGiS database, then let the user (based on its user ID) read the attributes of a table for a particular field, then choose ...
3
votes
0answers
332 views

Getting working hyperlinks in the feature attributes of a WMS in Qgis

I have a Geoserver WMS of point locations with urls in one of its attribute fields. If I do a getFeatureInfo request on this in Qgis, using identify, it just returns a string without hyperlink ...
3
votes
0answers
322 views

Why is my attribute table only showing one row of values?

I have 68280 features in my QGIS layer which I have loaded from SQL, however when I open my attributes table it only shows 1 'filtered' row. Why? The rest of the values are not showing.
3
votes
0answers
57 views

Calculating a new attribute for a polygon based on its corners

i have a pointlayer with a real number as attribute named amount. I want to calculate and visualize the difference of amount between neighbourhood points. So first I made a delaunay triangulation ...
3
votes
0answers
157 views

Adding field to shp subset layer using PyQGIS?

This is an independent followup from my previous question: QGIS Python generate index field I have two files (points.shp, polylines.shp), each with a variable amount of sublayers of the given ...
3
votes
0answers
699 views

QGIS Refactor fields error

I am using the Refactor fields in the Processing Toolbox to change order of attribute columns. 3 of the fields have red text in the Expression column and when I Run the changes I get an error: ...
3
votes
0answers
84 views

Data structure for analysis of relationship between rainfall and vegetation indices?

I have several hundred raster files (NDVI) of the same area dating back to the 1980’s, as well as daily rainfall observations from a nearby weather-station over the same period. The raster files are ...
3
votes
0answers
170 views

Displaying attribute values in IntraMaps Roam?

I am having troubles with displaying attribute values in IntraMaps Roam. Let me give you more details: My QGIS project is based on an SQLite database The attribute table in QGIS is displaying the ...
3
votes
0answers
236 views

PyQgis - Adding attributes to a POSTGIS layer

After reading @underdark's answer to this question on creating a new vector layer and @Matthias Kuhn's to this one on field calculation, I wrote a script that allows me to calcultate the mean arrival-...
3
votes
0answers
167 views

Save WFS layers multiple records with geoext editor grid

How can I save multiple records after modification with geoext editor grid? The saving is working fine if I modify only one of the records, but it fails when I try to save multiple modifications. I ...
3
votes
0answers
700 views

View attachments in popup when using the editor widget

I am using ArcGIS javascript API to construct an editor app for a layer. I am using the default out of the box editor widget to edit and display data for an app. The layers I am editing contain ...
3
votes
0answers
1k views

How to create a custom Attribute Inspector for mobile app using the ESRI JS API

I am making a mobile version of a JS web application I developed. I'm noticing though that the AttributeInspector widget by default uses standard dojo/form controls. This means that the form within ...
3
votes
0answers
361 views

Edit Widget Add attachments only shows when is made, not when making

So i post my question here because it didnt recieved any answers on Stackoverflow. Hello i have some difficulties, Let me see what i want to do with some pictures and code: I want to add some ...
3
votes
0answers
108 views

Are there any common field names for the FGDC street address standard fields?

I have been looking into implementing the FGDC street address data standards so that my address data is potentially consistent with other US data I obtain in the future. However, the FGDC ...
2
votes
1answer
28 views

Setting value to defaults Layer properties using PyQGIS 3

I have a vector layer, how to set defaults value in fields from the Python console. Layer Properties / Attributes Form / Defaults | In option: Default value |______________|
2
votes
1answer
50 views

How to change the field value of a specific feature in a Shapefile using GDAL/OGR?

I am trying to change the field value of a shapefile, but only in some specific features. However the code I have changes the value for all features in the shapefile. Is there any way of accessing the ...
2
votes
1answer
41 views

Adding fields to temporary layer using PyQGIS?

I want to add some fields in a temporary layer in order to use it in another process. What I tried to do is below : shp_result = processing.run( 'native:pixelstopoints', { ...
2
votes
0answers
233 views

Copy polygons to another layer with different attribute

I am working in QGIS 3.0.2-Girona. I am digitizing images in which there are rocks that can be encrusted, totally or partially, by algae. I want to have a polygon for the rock and one for the algae. ...
2
votes
0answers
45 views

What characters are not acceptable in an ArcGIS text field (File Geodatabase)?

Trying to join a table to my feature and it keeps leaving out a field. The field is a legal description of a property, it has all sorts of funky characters: : ; / \ () ' " and more The field is ...
2
votes
0answers
43 views

Attributing Points based on Direction

Using QGIS 2.18.16 I am looking at "renaming" or changing the attributes of points to a unique attribute based on the direction of the points. For example A1, A2, A3, then next row starts over as B1, ...
2
votes
0answers
59 views

Adding script tool to ModelBuilder in ArcMap?

I have create a script and want to add it to the model I have provided. The code is: import sys, string, os import arcpy import numpy Table = arcpy.GetParameterAsText(0) Field1 = arcpy....
2
votes
0answers
170 views

QGIS - Default Date Formats

I manage a fairly large estate of QGIS installs in the UK and am looking to set the default date formats to the uk dd/mm/yyyy format from our MSSQL data warehouse. Its set and works correctly in the ...
2
votes
0answers
997 views

Reducing decimal places in QGIS?

I'm using QGIS 2.18 (Las Palmas). I want to change the length of the decimal place, I tried the approach in How to change length to 2 decimal places? however, it still displays 13 decimal places.
2
votes
0answers
525 views

Copy attributes from features in one layer in QGIS to another layer

I am building lake bottom topology maps for Lowrance HDS depth finders. Each iteration of map building (addition of new data) generates a new .shp file. To utilize the Lowrance tool that merges .shp ...
2
votes
0answers
48 views

Populate b.field into a.field when 2 vector points not always coincident but should be coincident

Using QGIS/pgAdmin3, I have a situation where two vector points, should be coincident but I can't guarantee they always are, I need to take feature a.field and populate a field in feature b, upon both ...
2
votes
0answers
282 views

Add/Remove 1000 separator (Comma) From Integer Field In ArcGIS Collector?

I have a team of inspectors using ArcGIS collector to collect and edit data. When I set up the web map in AGOL I obviously wasn't thinking clearly and checked some fields to Use 1000 Separator (Years,...
2
votes
0answers
621 views

Local variable 'value' referenced before assignment: qgis function editor

I customized a function to edit my attribute table. It was working well but now when I used it again my QGIS crash or I receive a bad answer. The answer of QGIS: My code: from qgis.core import * @...
2
votes
0answers
337 views

PostGis - st_union polygons, keep sum of attribute

There are multiple My current query is: SELECT (ST_Dump( ST_Union( way ) )).geom AS way, 10000 AS way_pixels FROM ( SELECT way, way_pixels, ...
2
votes
0answers
17 views

How to create one attribute containing multiple adjacent parcels?

I'm trying to upload town parcel data to my Garmin GPS from Esri. Garmin registers each attribute as an entirely different file, and requires you to 'turn on' each file to display it on the GPS. This ...
2
votes
0answers
173 views

QGIS - Split a line having attributes with UNIQUE constraint

I am using QGIS with a PostgreSQL/PostGIS database, where the lines table (named 'segments'), besides the integer serial primary key, has a UUID column having a UNIQUE constraint. Trying to split a ...
2
votes
0answers
406 views

Command line join attributes by location using OGR

I have two overlapping vector files (polygons and sample) and want to do a spatial join from the command line to extract all features in polygons that intersect with sample. Essentially I want to have ...
2
votes
0answers
123 views

Reading feature class attributes with or without quotes in ArcPy?

I'm working on a script that clips a batch of feature classes by a selection made in another feature class. The way it works is by reading the clip feature fields, then allowing the user to select the ...
2
votes
0answers
180 views

Creating new empty vector layer that has same set of atributes as another layer and then copying subset of features into it

I am new to both Python and QGIS. Here's a sample of my code: unique = layer.uniqueValues(index) attributes = layer..dataProvider().fields().toList() assistant_layer = QgsVectorLayer("Point", "...
2
votes
1answer
1k views

How to create dynamic maps based on updated attributes in SHP file

I am novice GIS'er. I can create maps and do basic transformation of the SHP file using QGIS. I also succesfully applied formatting based on attributes. I am able to add new attributes to SHP file in ...
2
votes
0answers
50 views

QGIS how to make unedited data?

I have a table in QGIS (using QGIS 2.4). I have created a form for adding attributes. When I add new objects on the layer, I also create it's attributes. Can I make attributes that I have added non-...
2
votes
0answers
345 views

Can I use a cursor to select two rows and compare attributes

Can I use the cursor search function to look at the first two rows in a table and select them so I can compare attributes and possibly merge them or change attributes? I am using ArcGIS 10.0
2
votes
0answers
52 views

Why is ArcMap deleting data from a field when I add a new one?

My copy of ArcMap 10 is acting pretty strangely. I have a shapefile and all I've done is added a new field as a FLOAT and for some reason all data in another one of my fields is being deleted! Does ...
2
votes
0answers
50 views

Generating composite values ( MAPFID numbers) for previously duplicated vales based on 2 different fields

Good day everyone! I have lurked around here for info preiously, but this is my first post, so please be gentle if I commit any faux pas. Okay, let me try to break this down so we can all understand....
2
votes
0answers
328 views

Divide polygon layer by point layer in QGIS?

I have two layers - one polygon layer that is a buffer of a road layer, and one point layer that shows certain locations along that road. What I want to do is to divide/split the polygon layer at the ...
1
vote
0answers
18 views

Getting attribute from intersecting polylines using ArcGIS Desktop?

I am using ArcMap 10.2.2 I've got 1 polyline feature class, which includes aprox. 500 lines with attributes (streets). To fill out certain documentation, I need to know which streets cross each of ...
1
vote
1answer
51 views

Defining grid-names: Setting up a 1m2 grid over a 100x100 meter area

I'm working on an old archaeological field-survey dataset from the 1960's. I'm trying to create a polygon grid (fishnet) over a specific area where I can give the individual 'tiles'of the grid an ...
1
vote
0answers
51 views

Datetime on attribute tables

I have written a script to add, among other stuff, a datetime column. I have used the arcpy.AddField_managementcommand, but it didn't have a 'Datetime' type, so I used the 'Date' type : arcpy....