Skip to main content

Questions tagged [values]

The tag has no usage guidance.

0 votes
0 answers
121 views

Converting feature to raster, missing values

I have converted many features from the same shapefile to rasters, but am now getting an issue where values are missing. Converting the percentage values in column a212 (data type long) produces a ...
Morani's user avatar
  • 148
1 vote
0 answers
104 views

Problem with the attribute table values, they are replaced with ************

I suddenly have a problem with my attribute table. When I change a value the whole line is messed up because values shift and the value I add is replaced by ***********. How can I avoid this from ...
Inge's user avatar
  • 11
1 vote
2 answers
117 views

Correlating number values with text values from different fields in ArcMap?

I need to create a vector layer for representing the geology of an area. I have the geological map, a raster file. I made some polygons and I named them in the attribute table, but I don`t want to ...
Sam Lee's user avatar
  • 77
11 votes
1 answer
2k views

Creating predefined values in field using PyQGIS

I would like to make programmatically (with Python) the same thing than we can do directly in QGIS when you create a list of values for a field. I would like to create a new field and specify a list ...
Etienne's user avatar
  • 557
3 votes
1 answer
971 views

Setting a default value in a QGIS creates empty field

I use Qgis 2.18.3 and tried to set default values in new column in a existing shapefile via the layer properties as described here: Setting a default value in a QGIS field or here How to set a default ...
user16032's user avatar
  • 931
3 votes
0 answers
106 views

Reading row values instead of field values with PyQGIS

I use this piece of code to read the values of fields: lyr = iface.activeLayer() features = lyr.getFeatures() for feat in features: attrs = feat.attributes() print attrs[1] How can I read ...
charles's user avatar
  • 31
28 votes
3 answers
58k views

Reading attribute values using PyQGIS

What is the way to get the information contained in the attribute table, say in column 2, row 2 using PyQGIS?
user16018's user avatar
  • 299

15 30 50 per page
1 2 3 4
5