New answers tagged

0

You can filter the items in select_one Monitoring Well based on value of select_one TestWell. In the choices tab of the xls form add a new column, give it a name, say "filtervalue" and for each Monitoring Well add the name of the associated Test Well: Then on the "survey" tab add an expression like filtervalue=${TestWell} in the ...


0

In QGIS 3.10.9, this might not work. Using this path (Settings > Options > Canvas & Legend > Default Map Appearance) to change colors/transparency of selected features will be overridden by the project properties. I successfully changed color and transparency of selected features by going to Project > Properties > General > Selection ...


5

Yes, you just need to add a filter (called a definition query in ArcGIS Desktop). Say you have an attribute field "field_name" with values A, B, and C: Add the shapefile Open the shapefile's properties In the Source tab, at the bottom right click the Query Builder button Add the expression "field_name" = 'A' This layer will now be ...


1

I surmise from your comments and your layer names that you want to calculate the total length of railway lines in each State, so if you are open to a pyqgis solution I can suggest the following approach which does not require splitting or trying to create selections of your line features. This will simply calculate the parts of the line geometries which ...


2

A feature has one geometry, for example a road feature has a line geometry. There are multi-geometries (e. g. a country that has some islands) but strictly speaking, they still count as one single geometry. Spatial queries are queries, they ask if features have a special spatial relationship and depending on the true/false answer, add the features to the ...


1

The plugin is now available for more recent versions of QGIS 3. I downloaded it today in QGIS v3.14. https://plugins.qgis.org/plugins/MultipleLayerSelection/ or in QGIS go to 'plugins' > 'manage and install plugins' > search for 'multiple layer selections' plugin.


1

I recently developped a small plugin for QGIS3 that adds a toolbar with a "multilayer" version of the QGIS selection tools. You can also optionaly replace the default tools with the custom ones. Note: While I was developing it, the QGIS3 version of the original plugin was submitted and approved (thanks to lcoandrade). I encourage you to give both ...


4

I recently developped a small plugin for QGIS3 that adds a toolbar with a "multilayer" version of the QGIS selection tools. You can also optionaly replace the default tools with the custom ones. Note: While I was developing it, the original plugin was ported to QGIS3. I encourage you to give both a try :)


0

You can also just do it with a few lines of code. This has the advantage over the make layer from selected feature, in that you can see the query definition. def qdef_selected_features(lyr): desc = arcpy.Describe(lyr) # Get a semicolon-delimited string of selected feature IDs fid_list = desc.FIDSet.split(";") # build the query ...


Top 50 recent answers are included