Hi, Indeed, Ede was right as the plugin works on any attribute. In this context, adding a regex matcher makes sens (done). I also added a case insensitive option which is not related to the geometry.type attribute but made available for any attribute query, and as I was at it, I also added a geometry.isEmpty, geometry.numHoles and geometry.dimension attributes.
Relation has also been changed to Condition. By the way, Jukka, do you know that you also have plugin Edit > Selection > Select by GeometryType Michaël > right, go ahead and scratch regexp.. didn't realize that the plugin only > works on the geometry but not on any attributes.. > maybe you even should provide a list of geometry types either > 1. supported, see how my geometry converter generates it > or even better > 2. available in the selected layers > > multiselection is more elaborate to hack, but is maybe not needed. you gis > guys know better. > > .. ede > > On 14.11.2014 22:08, Michael Michaud wrote: >> Hi, >> >> Makes sense, >> I would vote +1 for equals (case insensitive) as the default, >> >> I think that adding a selection on geometry.dimension would >> be more easy to use (and language neutral) and would serve >> almost the same purpose as "contains". >> >> Using regex seems a bit geeky to choose among a set of 7 >> possible values ;-) >> >> Agree that relation should be replaced by condition. >> >> I can do the first change and let a bit more time for the >> discussion about alternatives. >> >> Michaël >>> how about just adding a condition >>> 'contains (case insensitive)' >>> and while we're at it adding regexp, which would make it possible to search >>> for different geometry types in one go e.g. >>> (?i:LineString|Polygon) >>> searches case insensitive for linestring or polygon. >>> >>> also at least in english the term "Relation" does not seem to be correct. >>> it should probably be "Condition" instead. >>> >>> ..ede >>> >>> On 14.11.2014 08:44, Rahkonen Jukka (Tike) wrote: >>>> Hi, >>>> >>>> The Attribute Query tool makes a case sensitive search against >>>> Geometry.Type and for example for finding multilinestrings use must write >>>> into the value box exactly "MultiLineString". >>>> >>>> Could it be possible to make this search case insensitive? I spent some >>>> time before I managed to find the right strings by digitizing all kind of >>>> features on a layer and running Feature statistics which shows in the >>>> "type" field how the geometry types are supposed to be spelled. >>>> >>>> -Jukka Rahkonen- >>>> >>> ------------------------------------------------------------------------------ >>> Comprehensive Server Monitoring with Site24x7. >>> Monitor 10 servers for $9/Month. >>> Get alerted through email, SMS, voice calls or mobile push notifications. >>> Take corrective actions from your mobile device. >>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Jump-pilot-devel mailing list >>> Jump-pilot-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >>> >>> >> >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> _______________________________________________ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel