New answers tagged select
1
vote
Accepted
Highlight polygon in Leaflet
To identify which polygon you want to select, you need to assign some id to polygon features:
let data = {
"type":"FeatureCollection",
"features":[
{
"...
1
vote
ST_Distance from one location to several locations on the same table
Use a single SQL expression (not nested) referencing the table twice with different aliases:
SELECT loc.name AS Einrichtungsname, ST_Distance(loc.geom, pt.geom) AS Distanz
FROM gebaeude_salzburg loc, ...
0
votes
ST_Distance from one location to several locations on the same table
It's not beautiful and might not be the fastest approach, but this should be what you want:
SELECT
gebaeude_salzburg.name AS Einrichtungsname,
ST_Distance(
geom,
(SELECT geom FROM ...
1
vote
Counting number of selected features in QGIS
You can also use QGIS expressions to count the number of selected features in the current layer (e.g. if you use this value for further calculation in the field calculator):
array_length (array_agg ($...
Top 50 recent answers are included
Related Tags
select × 580qgis × 190
arcgis-desktop × 131
arcpy × 65
arcmap × 64
pyqgis × 52
features × 50
layers × 43
polygon × 32
sql × 25
postgis × 24
point × 24
attribute-table × 24
openlayers-2 × 22
arcgis-pro × 22
modelbuilder × 22
select-by-attribute × 22
arcgis-10.3 × 18
expression × 18
select-by-location × 18
arcgis-10.0 × 17
arcgis-10.2 × 17
python × 15
qgis-3 × 15
fields-attributes × 15