In my "level curves" (1 meter definition) shp file I want to query:
- the pair numbers (for instance: 102, 104, 106, 108, 110 , ect. ect.)
- every five meters (for instance: 100, 105, 110, 115, 120, 125, ect. ect.)
How can I do quickly instead of select every single record?
Is there any query?
thank you
Solved! Go to Solution.
if you have to do this with a lot of records, consider building a temporary field then you can query that field for the appropriate ranges see the example of using the mod (%) function in python. Unfortunately the query builder doesn't support native python at present.
With python:
for i in range(102, "End", 2😞
print i
could you explain me clearly with details (I have never used directly python) ?
The best is to create a model with select by attribute - then export the model to python and modificate the python code with the for i in range command?
ok but with query builder it isn't possible ?
if you have to do this with a lot of records, consider building a temporary field then you can query that field for the appropriate ranges see the example of using the mod (%) function in python. Unfortunately the query builder doesn't support native python at present.
THANK YOU !
easy and fast !!