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

learn more… | top users | synonyms

4
votes
1answer
191 views

How to eliminate small polygons using ModelBuilder to iterate through feature classes

I created four large polygon feature classes of surface slope classes from a grid of 6-foot cells covering half my county. In order to repair the geometry and eliminate small polygons I broke four ...
0
votes
0answers
16 views

Selecting Particular field in attribute table in qgis [duplicate]

I am having a shape file which contains following fields such as shape area ,shape length,locality ,sub locality etc.My aim is to select only a particular field say for example locality and I want to ...
0
votes
1answer
56 views

how to select parts of a shape in QGIS

I have to have a Shapefile of France of the bigger regions: Ile-de-France, Bretagne, etc. and that is already included in my shape. But its only shown the Arrondissements (smaller regions) in France ...
0
votes
0answers
26 views

How to select areas from a target layer which do not intersect source layer? [duplicate]

I have two different layers, one is county boundary and another one is soil map. My question is I would like to select only those areas which are outside the county boundary. Using "Select by ...
0
votes
2answers
184 views

javascript function to search all OpenLayers vector features covering a pixel

I have an OpenLayers map that draws features in a vector layer. The features are selectable and have a popup on select. Unfortunately in a lot of cases the features overlap so it can be impossible to ...
3
votes
1answer
608 views

How to highlight on mouseover without wiping out select control

I am trying to highlight features of a vector layer as the mouse moves over them. I can make this work. I'm also trying to make the features selectable and have a popup box when they're clicked. this ...
2
votes
2answers
651 views

ArcObjects snipped to Select all Features currently visible on the ArcMap screen (ActiveView)

I guess I have to get the extent of the ActiveView and then use it to perform a spatial search. Is that the proper way to do it? Please share the code snipped if you have any. Thanks.
0
votes
2answers
2k views

OpenLayers Select a feature from attribute or id

Using Openlayers.....Is it possible to select a feature on a map by an attribute? eg: Select a feature from a dropdown menu populated with the feature "id" or a table field attribute values.
0
votes
1answer
218 views

Map Basic. Where-clause in Select Statement

what is wrong with this statement? I recon the where-clause is the problem. Select * from "BEDIRECT_POT_" + vo_num, PLZ5_2012_bereinigt where "BEDIRECT_POT_" + vo_num.PLZ like ...
5
votes
1answer
2k views

How to select points within a polygon from another layer?

I'm using QGIS 1.8 with a PostGIS database and I have three postgis-layer in qgis a lines layer, a points layer and a polygon layer. What I'm trying to do is to select a polygon in the polygon layer ...
1
vote
2answers
217 views

Selecting an item with the mouse in MapBasic

This may seem relatively simple, but I'm pretty confused. I have written a mapbasic tool that does things to the table 'Selection' depending on user choices in a popup menu, but currently you need to ...
1
vote
2answers
169 views

How to select two points on a map using QGIS?

I need to select two points on a map in QGIS. I selected the element selection tool in menu view and I want to select two points. How can I accomplish this? Are there other tools or methods to ...
0
votes
1answer
686 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 ...
3
votes
2answers
303 views

How to Select by Attributes on features sharing common value?

I am attempting to 'select by attributes' a point feature with the lowest numeric value which shares a common value with other point features in another field. For example: I may have 3 point features ...
4
votes
1answer
1k views

How to Export Selected Feature to New Shapefile Using ArcPy?

I currently have a search cursor iterating through a shapefile in ArcGIS 10.1 that selects a feature and runs a viewshed analysis on that feature (and only that feature). What's the easiest way to ...
0
votes
2answers
218 views

Select / Deselect and Identify Features in QGIS

Sorry if this is all a bit 101, but I'm new to QGIS. I basically have a large Arc project that I can access in QGIS for reference, so will only really be using it to identify features. For example to ...
0
votes
1answer
152 views

How can i select many rows from a table?

I want to create an action that select many rows from PostGIS table to show many lines in QGIS. How can i select many rows from table with python to add these rows in a layer? Thank you
1
vote
1answer
160 views

Why does this SQL syntax produce empty feature class with ArcGIS Select_analysis?

I'm working on a script that involves an arcpy.select_analysis function. The problem I have is that when I run the script it produces an empty file. I've verified that the whole thing works when in ...
1
vote
1answer
174 views

Sorting points with QGIS

I have a very good idea of what I would like to do but I really do not know if it is possible with QGIS. I have points that each one corresponds to a group size and I would like to use GIS to sort ...
0
votes
2answers
73 views

How to select by polygon in PostGIS with misaligned layers?

I have two polygon layers, one which defines subregions of the other. However, the layers do not line up exactly, so there are minor discrepancies along the edges. I would like to select all minor ...
0
votes
1answer
88 views

Selecting a Polygon based on the location of a point

Currently I have a polygon layer made up of three shapes. All the shapes are listed in the attribute table. One of these three shapes intersects a point. I would like to select just the shape that has ...
0
votes
1answer
37 views

PostGIS: Querying a record table and explanatory table

Basically I have two tables one containing a collection of records and one table that contains extra info about features in the first. i.e Records Table: GID SITE SPECIES GEOM and the second table ...
2
votes
1answer
315 views

Select top 5 most items in a geodatabase

I'd like to know what is the best way to select the 5 most expensive items (in terms of actual monetary value) in my geodatabase where i have a price field. Prices are not necessarily ordered but can ...
2
votes
2answers
327 views

Using select by location to update a field in a feature class

I am using Arc 10.1 and I am working on a script that takes a value from a field within one shape file and updates a field in another shape file based on its location. Basically I have smaller parcels ...
1
vote
1answer
305 views

Data Driven Pages, Graphs, and selections in ArcMap 10.1

Is it possible in python to create a selection set based on the extent from a Data Driven Page (DDP)? I have a layout view with a map and a graph. The graph is set to only plot the selected set of ...
3
votes
1answer
179 views

Why would Select By Location appear not to work properly after Multipart to Singlepart?

I am having issues using ArcGIS Desktop 9.3 and the multipart to singlepart feature and then selecting by location. Basically, I am able to run the multipart to single part feature to split up some ...
2
votes
1answer
243 views

How can I select features by map clicks

I'm developing a flex web application using the ArcGIS flex API 3.1. I have a map with a polyline feature layer. I'd like to be able to select polylines from the map by clicking on the features on ...
9
votes
2answers
3k views

How to get 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
475 views

How to select features from different WFS layers?

I'm trying to select features from different WFS layers but unfortunatelly it doesn't works in my code. This is my code: var select = new OpenLayers.Layer.Vector("Selection", {styleMap: new ...
2
votes
1answer
74 views

How do I select all polygons in a layer that border 2+ polygons in the same layer?

My data consists of equal-sized polygons. I need to identify and select all the polygons that border two or more polygons.
5
votes
5answers
359 views

How to divide a feature class into ranges?

I have a shapefile consisting of around 4000 polygons. The polygons are created from buffering around a similar number of islands somewhere in the Norwegian archipelago. Due to an error in the ...
4
votes
3answers
4k views

How can I unselect a feature in Openlayers?

I am able to identify the selected features on my map using the following line: vector_layer.selectedFeatures I would like to be able to deselect this feature using a standalone function (not an ...
2
votes
2answers
166 views

How can a style be set on a specific polygon using OpenLayers?

Using a polygon id, I want to highlight a polygon, while the mouse is outside of the map area. I can identify the polygon using the following approach: x = 53; for(i=0; ...
3
votes
2answers
831 views

Can't Select and Export from Python Script

I am a novice in python programming but I am trying to learn by doing. I got stuck with this function a while back and can't seem to find a solution or a workaround. I am writing a script that is ...
2
votes
1answer
194 views

How can I select enclosed features within the same layer?

My problem: I have a single shapefile from a habitat-survey and need to select all hedge-features that are enclosed in meadows.The features that are to be selected were created by filling rings. ...
2
votes
2answers
1k views

How to select features in ArcGIS based on their relation to other features within same layer?

I want to select all the features in my Waterlines layer that share a line segment with other features in the same layer. I've done a complicated search cursor iteration in python that takes a couple ...
2
votes
1answer
893 views

ArcGIS Javascript: upgrade ComboBox to FIlteringSelect using ItemFileReadStore

I would like to upgrade a web app I am working on from v2.1 to v3.1 of the Javascript API (I have tried 3.2 but I am getting some very odd rending problems, so I'm settling with 3.1 for now...) One ...
2
votes
2answers
1k views

zoom to cluster onClick & have hover event

I've made a simple mock-up trying to combine two openlayers examples. I want to have clusters on which I can hover (so I can display an infowindow about it's content) and I want users to be able to ...
1
vote
2answers
1k views

Exporting selected feature to google earth in QGIS?

Does anyone know if there is a plugin for QGIS that will export features to google earth similar to the one for MapInfo? Thanks, Alan
2
votes
0answers
105 views

GeoTools, add column in query with CQL

I'm trying to query the database (DataStore) and want to let the datastore calculate a value for me. In SQL I would do it like this: SELECT name, ST_Area(ST_Intersection(the_geom, ....) AS myValue ...
6
votes
1answer
2k views

Select all “NULL” values in the attribute table?

I have a quite simple syntax question. I want to select ALL my null values in an attribute table of a feature class, not just the values in a single field. So the question would be: what is the ...
0
votes
1answer
261 views

Change line selection display in MapInfo

can someone help me with a MapInfo query. Is it possible to change the display MapInfo uses when selecting lines? Atm I can be often difficult to see selected lines easily as the lines I am using are ...
0
votes
1answer
642 views

Is there a Select Feature by Attribute tool for Feature Classes when performing selection ModelBuilder?

I want to perform a Select by Attribute selection on a Feature Class in ModelBuilder, but I know the Select by Attribute tool does not work in this situation. I need to perform this function as I ...
9
votes
1answer
1k views

When iterating over a vector layer with pyqgis, how do I check whether a feature is selected?

While iterating over a vector layer using the following code (summerized from the example in the pyqgis cookbook), is there a way to check whether a feature is selected? provider = ...
3
votes
2answers
130 views

How can I select “ultimate perimeter” from a group of connected lines?

I have a number of drawings which I converted into geodatabase feature classes. Most drawings are composed or connected 3D polylines from which I want to construct TIN surfaces and multipatch ...
2
votes
2answers
2k views

How to split single shapefile into many, and use them as geoprocessing extents in ModelBuilder

I am trying to do the following things using ArcGIS model builder. select by expression to output feature class. use output feature class as spatial extent raster to point The main goal is to ...
3
votes
2answers
504 views

Problem with multiple feature selection

In an attempt to retrieve all features (point geometry) that fall in a selected polygon, I get the error this.layer.addFeatures is not a function. My code is as shown below: function ...
2
votes
2answers
423 views

Selecting Part of a Polygon

I have a dataset, in shapefile format, for agricultural land grades in England. It is divided into 7 categories in its attribute table. As the file is a large file and I only want a small section I ...
3
votes
3answers
2k views

Missing tools (icons) QGIS

I lost selection and navigation tools from the GGIS 1.8 toolbar when I tried drag then to different place. I can't get them back anymore. Where they disappear? All these tools are checked but are ...
3
votes
2answers
308 views

Listing features in the order they were selected

This is an ArcObjects-specific version of this question: Create Array From Selected Features Based on the Order in Which They Were Selected Is there a way to get the selected FIDs of a feature layer, ...