The selection of data from a database based on some criteria.

learn more… | top users | synonyms

1
vote
1answer
336 views

How to select and highlight feature by attribute

I have the below code which does a select by shape on my arc map how do I achieve this with attributes 1.The map has only one layer 2.There is a filter for the attributes on features Below is the ...
0
votes
1answer
558 views

CartoDB layer selector - selecting data from 2 layers

I used the CartoDB layer selector example (http://cartodb.github.io/cartodb.js/examples/layer_selector.html) with my data. Works fine. Now, what I really want to do is to select data from 2 layers at ...
1
vote
0answers
40 views

PyQGIS + selection

I would like to select some lines in the layer that match this condition : the attribut A have to be the same as the value of the "for" loop where the selection is realised. (After fixing that ...
1
vote
0answers
26 views

Selecting one feature among intersections using ModelBuilder?

I have a model which check the location of objects and select those which have the same position on the map. I need to have a selection of only one object in intersections but not to doi it ...
0
votes
0answers
34 views

PyQGIS & multi selection request [closed]

How I can do to iterate over a layer in order to select the all value of one parameter and add it into a table (without redondancy)? I am a beginner using QGIS and especially Python for QGIS. I ...
0
votes
1answer
278 views

Openlayers selected feature unselecting on map zoom

I have createc a select control and a StyleMap that includes default marker and select marker. var mystyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { ...
0
votes
4answers
63 views

Setting selection method in ArcPy?

I haven't found a way of setting the selection method (Create new, Add to current, Remove from current, Select from current selection) in arcpy. Is it possible to do this and - if yes - how? I am ...
2
votes
1answer
92 views

How to search for a text from column1 in column2 in QGIS?

I have street names in a column (column1) as well as in another one (column2). I would like to write a selection expression to find out if there are similar street names (or parts of the names) ...
-1
votes
1answer
90 views

Using ArcPy to select buffer line by length?

I created a buffer, then converted polygon to line (around a city block). I want to select the internal line. I'm thinking since there is no uniform way that ArcGIS labels the interior or exterior ...
1
vote
2answers
2k views

Check if feature is selected (Openlayers)

I wonder if there is a way to check whether a pointfeature (OpenLayers.Feature.Vector) is selected. I read the API, but didn't find any solution. Any idea?
1
vote
1answer
2k views

Having trouble selecting polygon from existing layer (using OpenLayers.Control.SelectFeature)

I am hoping someone can point me in the right direction. I am not a programmer, so that is my first roadblock. ha The problem: I have an existing polygon layer and I am trying to select one of the ...
2
votes
1answer
77 views

Create Layer With Selected in QGIS

Came across this "Create layer with selected" button in the result for a Spatial Query in QGIS. And simply, this creates another layer from the same source with a query on the IDs. Does anyone know if ...
0
votes
1answer
15 views

How to discard sites when there is overlap between buffers?

I have 1,000 sites in a landscape that were sampled along a road. However, I think my sites are too close together. A lack of independence between my sites many be influencing my statistical models. ...
1
vote
1answer
1k views

Select polygons by attribute belonging to another layer

I'm a recent QGIS user. I have a shapefile A with a series of polygons indicating land use of an urban region (urbanised areas). Now I want to select them in relation to a second shapefile B with the ...
1
vote
1answer
40 views

Display selected features with same point geometry

I have a point layer and some features have exactly the same geometry. When I make a selection it seems that some features are not selected because they do not display with the "Selection color" as ...
14
votes
3answers
7k views

How to display only selected features on map?

Not sure if this option ever existed, but the new QGIS version hides a lot of things somewhere else and this seems so simple that I'm kind of convinced it was possible to do this before. I have quite ...
2
votes
1answer
74 views

How can I select points within a part of a raster?

I have a map with huge amount of points (9562 villages) and two rasters: population density and land elevation. I am trying, without success for the moment, to select just those villages with high ...
3
votes
2answers
141 views

Attribute table : How to select more then one feature?

I have a vector layer: ROADS that is composed of different types of roads: primary, secondary, tertiary, trunk, etc. When I right click on the layer ROADS and I go to Attribute table -> Select by ...
3
votes
0answers
39 views

PyQGIS select layer by original table name

As far as I see, on QgsMapLayerRegistry.instance() there is a method to select layers: mapLayersByName(Qstring) and the method mapLayer(QString) respectively, wich accesses a layer by its id. ...
4
votes
2answers
65 views

How to Select a Polygon beneath another Polygon in QGIS 2.14

We have a series of layers that contain polygons with additional polygons 'underneath' each polygon. How do we select the polygon beneath the existing feature without also selecting the feature ...
3
votes
1answer
67 views

Select by expression and remove points

How do I select points by expression and delete these selected points? Is it possible to do this inside the modeler with a tool? The selection by expression works fine but do I have to set all the ...
15
votes
3answers
5k views

Quickest way to select ArcSDE polygon by point in ArcGIS Desktop using ArcPy?

I keep thinking that I must be missing something, but there does not seem to be a tool in ArcGIS 10 to select features (in particular polygons) from a layer at a point (X,Y) location via ArcPy. The ...
1
vote
1answer
58 views

Use Only First “x” Characters from Table in qgis:selectbyexpression

I have a list of street names in this format: STRNAME Elsinore Neil Young Penny Fall And a shapefile ("input_streets") with street names in this format: STREET Elsinore Av Neil Young St Penny Lane ...
9
votes
2answers
9k views

Setting which layers are selectable in ArcMap?

I cannot figure out how to toggle selectable layers in ArcMap 10. In 9.3, I remember being able to choose from a list which layers I wanted to be able to select features from in the map. Let's say ...
3
votes
1answer
217 views

Selecting limited TOP n from specific column in ArcGIS query builder?

I'd like to know what is the best way to select a limited top 'n' of rows from a specific column of a geodatabase file. Currently I use a function in the query builder of the select tool (arcgis10) in ...
2
votes
1answer
34 views

Is there a way to apply the “Select features by rectangle\polygon…” function on multiple layers simultaneously?

I have put a map together using openstreemap data that is intended to be used as a base for different projects. However due to the amount of information (number of layers) the loading time is rather ...
1
vote
1answer
35 views

QGIS - selecting 3D Polygons

I have downloaded a 3D polygon shapefile of buildings. I would like to be able to select some of the objects to create a new shapefile for doing 3D rendering but I cannot seem to be able to select any ...
0
votes
2answers
39 views

Get List of manualy selected features on MXD and run script on selected features : [closed]

Using arcgis 10.3, I trying to write code that when i do selection on layer manualy on MXD (not in the script) and run the script, the script need to run just on the selected features. I have tried - ...
2
votes
2answers
185 views

QGIS keyboard shortcut to launch a 'Select by expression' query

I can't find if it is possible to launch a 'Select by expression' query (not to open the dialog) with a keyboard shortcut. I can't find this option in the Settings > Configure shortcuts list... If ...
-2
votes
1answer
32 views

Select Adjacent Tax Parcels by Area

I am trying to select for adjacent tax parcels where their total area would be close to a specific value (450 acres). Area is already an attribute of each parcel. ArcGIS v. 10.3.1 Unfamiliar with ...
1
vote
5answers
6k views

Deleting features (rows) from shapefile (attribute table) using ModelBuilder?

I run into a problem and can't figure out how to solve this one. I use the ModelBuilder and have a shapefile with loads of information. This information needs to be reduced. Therefore I want to ...
16
votes
2answers
11k views

Getting list of selected features in ArcGIS for Desktop using Python code?

I have a question regarding selections in ArcGIS for Desktop. Assumed I have one layer in ArcMap and I have selected two of five features. Is it possible to get a list of all selected features by ...
1
vote
1answer
74 views

How to select features intersecting each other and sharing the same attribute values in QGIS?

Is there a way to select all features of a single layer which intersect each other and share the same attribute values?
7
votes
2answers
111 views

Features to stay selected by default in QGIS?

Does anyone know if there's a way to configure QGIS so that when you plot a new feature (i.e. a polygon), it stays selected by default? If I have to select it separately, and it happens to fall on ...
0
votes
1answer
95 views

Using variable in Arcpy select analysis

I need to use arcpy.Select_analysis() in my arcpy script, but I have problem with using variables. When I use hard coded values in where_clause, it is working. where_clause = '"Area" > 20' arcpy....
1
vote
2answers
51 views

Running Select results in error 000210

I'm trying to run SELECT in order to extract specific features under "CLASS_NAME", but continue getting "ERROR 000210: Cannot create output". I've searched though other questions with the same ...
0
votes
3answers
2k views

Unselecting Individual Selected Features using ArcObjects?

In my Add-In built using .NET ArcObjects/C# with Arc 10.0 I would like to be able to programmatically unselect a subset of all selected features gathered through a reference to FocusMap....
0
votes
1answer
67 views

Is there an analog of PhotoShop's “Magic Wand Tool” in ArcGIS Desktop?

I want to interactively select rasters pixels based on it's values and modify them. Here is example of what this "Magic Wand Tool" should do:
1
vote
1answer
147 views

How to speed up Select by location?

Has anyone had a similar "extreme slow" experience using "Select by location" (Toolbox) and "Spatial query" tool? I've used both for selecting some points inside a polygon. The data was in SHPs and ...
1
vote
1answer
44 views

Interact with Selection and Entire Dataset using arcpy

ArcToolbox geoprocessing tools (and therefore arcpy) tend to run either on an entire dataset (if there is no selection) or on a selection set (if it exists). How can I set up an arcpy script that ...
3
votes
1answer
19 views

Cannot get Remove From Current Selection to work in ArcMap?

I am a Newbie using ArcGIS 10.3 for Desktop: After importing a whole watershed streams Layer, I selected by location a subset of the streams which was already defined with a separate name. "...
2
votes
1answer
106 views

Selecting features based on similar name

I am building a script to integrate into a model that iterates through data. I've been able to get two submodels to iterate through the original data and create large numbers of features in file ...
3
votes
3answers
822 views

Select “interior” lines of a polygon-to-line layer

I have a polygon featureclass that has adjacent features. Using Arc10, I am turning those polygons into lines using the "Featureclass to Lines" tool. Now I would like to select ONLY THE INTERIOR ...
2
votes
1answer
662 views

ArcGIS Select Tool: Do Not Create Empty Feature Class

I am creating an ArcGIS Model that imports a number of Bentley .dgn files to a geodatabase. My workflow involves: Running the CAD to Geodatabase Tool, which brings all the drawing features into a ...
6
votes
3answers
295 views

How to select specific rows of polygons from a grid in QGIS?

I have a polygon layer. I would like to select every second row of the polygons but not manually. Is there an expression to select every second row as seen on the picture with Select by expression in ...
3
votes
2answers
71 views

How to select the most populated neighbourhood of each town in the country using QGIS?

I have data from a national census with population for each neighbourhood, grouped by municipality and town, in the country. I want to select the most populated neighbourhood of each town (there's a ...
2
votes
1answer
29 views

Using ArcGIS ModelBuilder in to Select By Attributes?

I have a file showing for each disaster, which provinces were affected. The number of provinces affected varies and their names or associated code varies as well. Example, if a flood in 2000 ...
0
votes
1answer
40 views

How to select congruent polygons in PostGIS?

Title says it all. What is the best way to select congruent polygons in PostGIS? CREATE TABLE polygon_a ( gid serial NOT NULL, geom geometry(Polygon, your_SRID), CONSTRAINT polygon_a_pkey PRIMARY KEY ...
1
vote
0answers
54 views

Selecting certain area of polygon according to size in ArcMap?

I have a set of polygons with a certain size (3500 sq meters each for examples). I only need 3000 sq meters of every polygon. Is there an automatic or semi-automatic way to create sub-polygons out of ...
1
vote
1answer
3k views

Get layer name by click on features OpenLayers3

I want to add selec interactions to my OL3 map. Adding two different select interactions like this is not working. Only the second one works. Like this: var select = new ol.interaction....