Questions tagged [dropdownlist]

is a graphical control element, that allows the user to choose one value from a list

Filter by
Sorted by
Tagged with
6 votes
2 answers
260 views

Editing width of drop down field list in the QGIS Attribute Table

Can I change the width of the drop-down field (attribute) list in the attribute table that is used for editing, i.e. the highlighted drop-down in the image below with the value "ID"? The ...
Oisin's user avatar
  • 1,826
2 votes
2 answers
113 views

QGIS load dynamic dropdown list from the content of another field, using separator

I would like to dynamically populate a dropdown list based on the content of another field. While one approach involves using relations and querying a database, it can be time-consuming. Currently, my ...
Giene's user avatar
  • 669
1 vote
1 answer
33 views

Using Modeler to change attribute names to (self) set standard

I'm trying to use the Modeler to format a vector layer input with an attribute table to a new vector layer with the same attribute table, but where the column names are standardised. The point of this ...
Balb31's user avatar
  • 19
0 votes
0 answers
50 views

Dropdown does not update map on Google Earth Engine (Geemap Python package)

I have estimated NDVI and NDWI for a specific area based on Sentinel 2 images via gee library on Python (Google Earth Engine). More specifically, I have created two functions (one for each index) and ...
Ilias Machairas's user avatar
0 votes
1 answer
90 views

QGIS value relation dropdown filter by overlay_nearest

I have in QGIS 3.28.8 two point layers: source_p and target_p I want in source_p layer to create a dropdown to "TargetFID" field with Value Relation to target_p layer with only 3 nearest ...
Rii Pii's user avatar
  • 411
1 vote
1 answer
162 views

Zoom on selected features from drop down list in Leaflet [duplicate]

I want to add a GeoJSON layer to leaflet map from local a drop down list in above the map and when I select features the map will zoomed on the dataset is call on head part as <script src="./...
Solmaz's user avatar
  • 149
0 votes
0 answers
138 views

Zoom on the features on map from the drop down list

How can I add a drop down list on HTML so that when I select a item in list, zoom on a feature on the map in HTML page occured. I will use Leaflet map for that purpose. I want to select provinces from ...
Solmaz's user avatar
  • 149
5 votes
3 answers
237 views

Hiding duplicates from dropdown when using value relation in QGIS Form

I've got a vector layer with a QGIS Form and the column "test" in the attribute table. I have values for the columns e.g: abc, abc, abcd. I defined a form for this Layer. The type for the ...
fsg's user avatar
  • 672
1 vote
0 answers
146 views

Using dropdown geometry selection as a variable in Earth Engine

I have two dropdowns where the second one depends on the selection of the first one. They work ok, however, I would like to use the geometry of the selected dropdown (second one) as a variable/...
Yaron's user avatar
  • 11
4 votes
1 answer
308 views

QGIS 3.22: problems with dropdownlists (attribute forms)

I discovered the nice possibility in QGIS to create dropdown lists in a field, with which I (should) choose in a simple way one of several species (in my case) - while entering new features. I tried ...
Bertram's user avatar
  • 473
0 votes
1 answer
130 views

Cascading drop down list only recognizes first item in the drop down list [duplicate]

I set up a cascading drop down list using 4 forest type categories: Hardwood, Hardwood Pine, Pine Hardwood, Pine. I used a Keyfield FTClass: HD, HP, PH, PN. I set up a CSV table with the categories ...
David's user avatar
  • 1
1 vote
0 answers
41 views

Can I use the dropdown list in attributes table for several selected features in one time?

I use some dropdown lists for several attributes. Now I want to select several features (objects) and edit a field using the dropdown list. Is there a way to do it in one time, because it looks like ...
Maarten Vangerven's user avatar
1 vote
0 answers
33 views

Creating QField form where answer for drop-down field opens linked drop-down field [duplicate]

I'm trying to create a qfield form where an answer for one drop-down field determines the next field's drop-down options. Specifically, I want a value map with the options Sedimentary, ...
Anomalous Exploration's user avatar
1 vote
1 answer
132 views

Raster drop down menu

My QGIS Raster drop down menu use to have 8 items in the menu. Now it only has 3. Unsure where these remaining 5 items have gone. If I search Merge, for an example, this function is no longer found?
Steffarhn's user avatar
3 votes
1 answer
173 views

Default Layer in the Inputfield in QGIS processing script

I am writing a script and I would like to let the user choose the layer but i would like to default a layer (when it is open in the project) in the input field and if the user changes it he can choose ...
miraculix's user avatar
  • 169
3 votes
1 answer
339 views

Dynamically fetching only related values instead of all attribute values in dropdown from GeoJSON in OpenLayers

I have a vector layer in GeoServer which basically has 14 line/fields/polyline attributes I want the list of only those stations in the 2nd dropdown of end station which are actually related Like 5 ...
Abhilash Singh Chauhan's user avatar
1 vote
0 answers
43 views

How to align drop-down display in a QGIS dock plugin

I have made a QGIS plugin using the dockwidget display mode. The GUI is made with Qt Designer. It contains a few dropdowns, one of them for layer selection. It's working really well, but when the ...
Leo's user avatar
  • 701
0 votes
1 answer
252 views

Clip satellite image to study area based on dropdown list location selection using GEE

var statesDropdown = ui.Select({ placeholder: 'Loading states...', disabled: true, onChange: onStateChange }); updateStates(); var districtsDropdown = ui.Select({ placeholder: 'First select a ...
Vineeth's user avatar
  • 47
6 votes
1 answer
951 views

Creating permanent dropdown lists in QGIS

I've had some success at creating the drop down lists for attributes in QGIS 3.16 using the Attribute Form option in Layer Properties, as shown here: Creating a multiple select dropdown list in QGIS? ...
Greg's user avatar
  • 63
1 vote
1 answer
725 views

Creating multiple dropdown lists in GEE based on user selection

// Let's add a dropdown with the location names using aggregate_array() var items = India.aggregate_array('NAME_1'); items.evaluate(function(List) { dropdown.items().reset(List), dropdown....
Vineeth's user avatar
  • 47
0 votes
1 answer
434 views

Displaying regions from a list in GEE

I have generated a list with States of India but getting the following error while trying to display a region on the map. Line 11: centerObject() requires a Geometry or Element. Got: Karnataka '...
Vineeth's user avatar
  • 47
2 votes
0 answers
90 views

Creating Dropdown list in QGIS Print Composer

I´m trying to find a way to create a dropdown list in the QGIS Print composer. I know that there´s a way to do it in the attributes tables but what I´m looking for is to have the same result in the ...
Paulo Martinho's user avatar
6 votes
2 answers
8k views

Creating multiple select dropdown list in QGIS

Is it possible to create a multiple select dropdown list/select widget in QGIS which links to a separate txt file? I want to collect species lists for different locations in QField but do not want to ...
Plecotus's user avatar
18 votes
2 answers
16k views

Creating drop down list with values in QGIS

I want to show a drop down list in the feature attributes dialog. I have three different building zones. The hot Wohnzon A, B residential zone and residential zone C. Now I have an attribute called ...
user8839's user avatar
  • 603