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

learn more… | top users | synonyms

2
votes
1answer
25 views

Odd performance of PostGIS Select Query with ST_AsText

I have this query: select ST_AsText(geo) as wkt, city, street_number, street_name, street_type, street_direction, street_unit from parcels_union order by id ...
0
votes
1answer
38 views

Creating Layer for Selected Features, then Moving it using ArcGIS for Desktop?

I have a frustrating problem with ArcGis 10.1. I rarely use this so don't really understand what is wrong. In an edit session I select a polygon. I would like to 'Create Layer for Selected Features'. ...
1
vote
2answers
29 views

Select feature based on both its own attributes and another feature's attributes

I have two points within a polygon, each representing a specific event with a date (listed as 120101 and 120719). The polygon itself represent an event for an extended time period (start: 120626 and ...
0
votes
2answers
40 views

How to select multiple text?

I am using ArcGIS 10.1. Is there a way to select on the typed text on the screen? I have standard text not assoicated with anything that I would like to delete. Is there anyway to select all?
0
votes
0answers
28 views

Trouble with select by attribute on ArcSDE

I am having trouble with some extracts on a csv table on ArcSDE. Verifying my expression results in the following pop up: "The expression was verified successfully but no records were returned."
2
votes
2answers
41 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 ...
1
vote
1answer
32 views

How to select features using an expression with pyqgis?

How can I select features with pyqgis using an expression? I tried to use an QgsExpression but the select method doesn't take it: exp = QgsExpression("'ogc_fid' = 482") cLayer = ...
1
vote
1answer
33 views

How to zoom to selected feature with QGIS Python Console

I want to select a feature by ID and zoom to it. I tried the following but the canvas doesn't change. Any ideas? canvas = qgis.utils.iface.mapCanvas() cLayer = canvas.currentLayer() cLayer.select(51) ...
0
votes
1answer
82 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 ...
2
votes
1answer
76 views

How to query values from a list in Python?

I have a list like this... list = ['1','2','3','4'] how can I use arcpy.Select_analysis to select features that have the attributes in the list. qry = '"SECDIVNO" IN ' + str(tuple(list)) ...
1
vote
1answer
33 views

Automation of object selection to be printed in data driven page?

Is it possible to have the central object of each DDP to be automatically selected in order to be visually enhanced? The part of segment being the main cartographic object within the page, should ...
1
vote
2answers
66 views

How to use an IF THEN statement in an sql Select expression?

I need to select the top 3 records from a table, but depending on an inline variable from an iteration, occasionally one of those top 3 records should not be selected and should be replaced by the top ...
0
votes
0answers
17 views

How can I keep selected the output feature elements from a toolbox?

I have a simple toolbox (ArcGIS 10.0). From some selected elements from one layer, the tool, create a new one. I want that all the elements inside this new layer keep selected at the end of the ...
0
votes
1answer
407 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 ...
2
votes
2answers
43 views

Using a selection tool will select everything

When I use the Selected Features tool and try to drag a box around a few small items it grabs everything. If i use the edit tool it will correctly select only features that are inside/intersect the ...
1
vote
1answer
46 views

Using Selection Sets with Python

I am trying to build a model that reads through about 30 different point feature classes and appends only the selected features to a new feature class. Some of the feature classes don't have any ...
0
votes
1answer
75 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", { ...
1
vote
0answers
29 views

Data Transfer of a point on line using the anchor point

Can I a line feature, the anchor point touches a point feature transferred the field value, even when the point touches another line(s)? How does this work?
7
votes
2answers
822 views

QGIS 2.4.0 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
162 views

vb.net ArcObjects is there a function the same as “Select Features by Polygon” of ArcMap's tool

I want to know whether there is a function provided by ArcObjects (vb.net) to realize the "Select Features by Polygon" on ArcMap (shown below). I am using VS 2012 (vb.net) and ArcObjects 10.2.2, ...
2
votes
1answer
51 views

Select same / select similar in ArcGIS

Can a "select similar" right click (two clicks total) like in AutoCad be created in ArcGIS as an addin or something python-related? It is listed on their "ideas" page here: arcgis ideasSelect ...
1
vote
0answers
12 views

Making point selection tool using ArcObjects with VBA? [duplicate]

I want to make a selection tool that I can use to select a feature point in ArcGIS for Desktop so I can combine it with a form that I just made to display the form after the feature selected. I use ...
1
vote
1answer
139 views

How to transpose reclassified field values from one polygon shapefile to identical polygons of another shapefile?

I used vector output from modeling software as clip features for ecoregion input. I reclassified and dissolved the clipped layers into 3 subunits, and now would like to transpose those simplified ...
1
vote
5answers
869 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 ...
1
vote
1answer
63 views

How to show a selected polygon feature, using a single marker in its center

I've been asked to replicate a map where the selected polygon is shown with a red tick/check mark: I need to tell ArcMap to use this symbol when a polygon is selected, so that un-selecting the ...
1
vote
0answers
92 views

How to combine three data extraction functions into one button?

I am looking to simplify my code. As of right now I have some code that allows users to extract GIS data in three different ways: Extract by drawn extent Extract by extent of the a county Extract by ...
0
votes
2answers
71 views

How to set Merge output as Select Input in ModelBuilder?

I'm using ModelBuilder. I tried to take the Output from the Merge tool as Input to the Select tool. But it doesn't work. I'm trying to Merge 90 Shapefile lines into one. Then "Select" some features ...
2
votes
1answer
68 views

Finding Code in QGIS Select Features Toolset

Can anyone tell me in what directory the pre-installed Python scripts for the QGIS selection tools (i.e., Select by Point, Select by Polygon) are found? I am using on a Windows 7 installation of QGIS ...
1
vote
0answers
42 views

How to determine distances of points from closest line? (Mapinfo or QGIS) [duplicate]

I have a set of points and a set of lines. I'd like to know distances of the points from the closest line... answering the question "how many points are within 500m to 1000m of one of the lines, how ...
3
votes
0answers
89 views

Programmatically selecting features by polygon

Expanding upon this post how could you use QGis to programmatically draw a selection polygon and select features within the polygon? I have been using QgsMapToolEmitPoint(self.canvas), to find and ...
-1
votes
1answer
57 views

Esri ArcGIS 10 - 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
1answer
55 views

Openlayers active select control on layer prevents drag and zoom

I've build this web-map http://gimoya.bplaced.net/Openlayers/Trails/map.html with bike-trails (retrieved from a KML on my webserver), where several trails from a region are covered by a selectable ...
2
votes
2answers
176 views

How to populate fields for line segment with value from polygon to left and right of it?

I have a countywide roads dataset that is used by an emergency dispatch system. There are two fields, "Comm_RT" and "Comm_LT", that need to be populated by the name of the community polygon they ...
0
votes
1answer
33 views

Trouble Using Selection Expression in QGIS

I am trying to use the selection expression box to highlight counties by state FIPS. When I use the OR conditional all counties across the US get highlighted. So for example, STATEFIPS = 1 will ...
1
vote
2answers
195 views

How to select island (donut hole) polygons witin the same polygon layer?

i have a dataset containing many polygons. In this dataset some polygons have other polygons (as a donut) inside of them. So those island polgons are contained by only one polygon but it originated ...
0
votes
1answer
118 views

Clip and ship by a queried layer extent and by user defined extent

I am trying add a functionality to the clip and ship script. I would also like the users to extract data by the extent of a queried feature layer. For instance, if County = "Alameda" then extract data ...
0
votes
1answer
1k views

JavaScript API - Query and Edit point from Feature Layer

I am attempting to recreate the ESRI example for attribute inspections (https://developers.arcgis.com/javascript/jssamples/ed_attribute_inspector.html). I am having an issue when I create my feature ...
0
votes
1answer
120 views

Copy selected features to another feature class

I had two polyline feture classes representing the same objects that I spatially joined together to reconsile/consolidate data about. At the time I was directed to remove some features from the ...
1
vote
1answer
104 views

Select point with highest value within a buffer

I work with ArcMap 10.2.1 and I created buffers around points. Some buffers contain many points and others just one. I would like to select one point for each buffer, but the points can represent ...
2
votes
3answers
207 views

Select layer by attribute: return top 3 records

I have a feature class in a file geodatabase using ArcGIS 10.1. I want to create a model that selects the three features with the highest values in one field (Average Price). Basically I want my ...
0
votes
0answers
36 views

Select feature or graphics for editing geometry? [on hold]

i research about selecting feature or graphics for editing geometry and i found geometry editor sample but in this sample only you can add new feature after adding, you can not select and edit. Now i ...
0
votes
1answer
100 views

Best Way to Get a List of Selected Rows for a Specific Layer using Layer Object in ArcGIS

What is the fastest/cleanest way to get a collection of rows that are selected in a certain layer? For some background, I am trying to hide selected features in a specified layer. The solution ...
0
votes
0answers
31 views

Assign feature actions in QGIS--too many actions run at the same time

Using QGIS, I'm assigning actions to a polygon layer whose features are based on extents of hundreds of maps of a variety of files (including DWG, DGN, PDF, jpg, etc). However, since some of the ...
0
votes
1answer
49 views

Selecting few biggest polygons within class

I have polygon shapefile with objects that have 'class' and 'area' values in attribute table. I want to select five biggest polygons in each class. I can't do it manually because of large number of ...
0
votes
1answer
71 views

How to select landlocked countries in Africa using Select By Location?

I wish to select the landlocked countries in Africa using just Select by Location. I have already dissolved the boarders to get one big polygon and I thought I might combine these two telling ArcGIS ...
1
vote
1answer
64 views

Python script to select a point within a cell?

I have two features: points and grid cells (vector). I want to select a point within a grid cell (some cell do not have point) using python script and create a new feature layer with below conditions: ...
1
vote
2answers
221 views

How can one select only displayed features using the select by rectangle tool? [closed]

I have a shapefile with many features, only some of which are displayed. I'm using the "Select Features by Rectangle" tool (the one where you click and drag a box over the features you want to ...
0
votes
1answer
961 views

replacing dijit.ComboBox with dijit.Select results in error (ArcGIS Javascript API)

I am currently populating a Dojo ItemFileReadStore with the results of an ArcGIS query (Javascript 3.4 API), which is then passed to a Dijit COmboBox. I am now having problems with the ComboBox in iOS ...
3
votes
1answer
80 views

How to select an limited TOP n from a 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 ...
5
votes
1answer
837 views

How to select specific row in attribute table using ArcPy (without iterating through whole table)?

I am using ArcGIS 10.2 and have assumed until now that it is possible to select a specific row in an attribute table. However, I can't seem to find a way to do this. The only available methods seem to ...