#3852 closed enhancement (invalid)
It should be allowed to filter shapefile vector layers by id
Reported by: | strk | Owned by: | |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.7.0 |
Component: | Vectors | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
It is currently impossible to filter shapefiles by id, but the id is what you get when, for example, you check for topological validity, so you have then no way to take a closer look.
Change History (5)
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
follow-up: 3 comment:2 by , 13 years ago
Are you saying I can use those fieldnames in the query builder ? What about making it available in the list of fieldnames you can click on then ?
comment:3 by , 13 years ago
Platform: | Debian → All |
---|
Replying to strk:
Are you saying I can use those fieldnames in the query builder ? What about making it available in the list of fieldnames you can click on then ?
The query build only lists the "known" fields. OGR doesn't report the fid
field.
follow-up: 5 comment:4 by , 13 years ago
Would it then make sense for the OGR provider to report the fid field ?
comment:5 by , 13 years ago
Replying to strk:
Would it then make sense for the OGR provider to report the fid field ?
the field list is also used when editing. so having the ogr provider report special fields, would open other issues...
Replying to strk:
false, you the http://www.gdal.org/ogr/ogr_sql.html#ogr_sql_fid fid field (or
$id
in search strings)