New answers tagged

0 votes

Giving unique attributes unique number using ArcGIS Pro

Dissolve based on owner name Assign unique ID numbers to dissolved data Export table Join table to original parcels based on owner name Export joined data to a new feature
  • 1,926
3 votes

Using QGIS Field Calculator on delimiter separated values

The string "380000;230000" needs to be split at the ";", each part converted to integer and divided by 1000, that then needs to be converted back to string and joined by ";&...
  • 3,682
9 votes
Accepted

Using QGIS Field Calculator on delimiter separated values

You need to use some functions to first split the volts values to an array and then do the calculations for each value and then merge the array back to a string. array_to_string( array:=...
  • 1,513
1 vote

Getting failure in Calculate Field

You can only calculate values based on the fields in a second table if that second table is joined onto the one where you want to make the calculations.
4 votes
Accepted

PyQGIS - If else statement

... def processAlgorithm(self, parameters, context, feedback): option = self.parameterAsEnum(parameters, self.RAD_PERCENTAGE, context) if option == 0: # More than 10 years ... elif ...
4 votes
Accepted

Using QGIS field calculator to replace null values with values from another field

It should be case when "landuse" is null then "Nature" else "landuse" end Unless you actually have the string NULL in your field. Then replace "landuse&...
  • 55.2k
0 votes

Look for description of a field instead of the actual value using the field calculator

Use the expression represent_value (uso): it returns the text (string) description of the corresponding value of a value map. So to select all features that contain a description like (residential), ...
  • 44.9k
3 votes

Calculating the area within a polygon of a different layer

There are a lot of methods which come to mind. Try this first: Processing -> Toolbox -> Join attributes by location (Summary) Result: Edit: Note about dissolving Depending on the granularity ...
0 votes

Assigning a weight to thousands of values in the attribute table to then make a heat map in QGIS 3.10

the heatmap renderer has a "Weight point by" dropdown list that will let you choose your hour field as weight for your points. If this didn't give you the result you want you may need to use ...
  • 12.4k
2 votes

Filter by location and attribute in field calculator QGIS

Maybe it could be faster if you first filter features with the simpler filter, and then you filter by location. Try this: array_length( array_filter( aggregate( layer:='...
  • 1,636
1 vote

Counting in field calculator with several group_by- and filter-conditions

Use QGIS expressions with overlay_contains() with the following pattern on your polygon layer to get the number of points from layer points with attribute Kultur that has a value of 14: array_length( ...
  • 44.9k

Top 50 recent answers are included