Tagged Questions
2
votes
3answers
84 views
Creating a where clause from user input/Python list
I am trying to perform a query based on values in a Python list. The where clause will then be used in an Update Cursor, so that the rows NOT equal to the values in the list will be deleted.
This is ...
3
votes
1answer
174 views
How can I more efficiently select related records?
Below is the code I'm using to replicate the "related tables" button in ArcMap. In ArcMap that button selects features in one feature class or table based on the selection of features in another ...
5
votes
2answers
296 views
How do I use QGIS python console to iterate through simple layer queries and png outputs?
I'm really new to QGIS coding and I'm having a hard time finding (especially) the api classes/functions to carry out actions of the Query Builder window.
I'm basically trying to do this:
Iterate ...
1
vote
1answer
600 views
Setting a query loop
I am looking to apply a Select By Location protocol to my data, but need to first query individual IDs in my target and source layer (the same ID in each table, one at a time). How do I loop through a ...
1
vote
0answers
256 views
Administrative level and coordinates from Yahoo GeoPlanet WOEID
The Yahoo GeoPlanet data can be freely downloaded from:
http://developer.yahoo.com/geo/geoplanet/data/.
If I understand it correctly, each WOEID corresponds to a unique location on earth, with ...