[Qgis-user] Re : (no subject)

Junior delazj at gmail.com
Wed Feb 4 10:34:44 PST 2015


Hi,
To complete Alexandre's answer, at the bottom left of attribute table dialog, you may choose the option "column filter" or something like that (sorry I don't have QGis right now) and write your text in the Edit field that appears. Validate.
This option filters your attribute table to only features matching your request and skips the "show selected features only" step. 

Envoyé depuis mon HTC

----- Reply message -----
De : "Alexandre Neto" <senhor.neto at gmail.com>
Pour : "HISP.abhijeet" <abhijeet.7777 at gmail.com>
Cc : "QGIS User" <qgis-user at lists.osgeo.org>
Objet : [Qgis-user] (no subject)
Date : mer., févr. 4, 2015 15:27

In that case, you need to use an expression to select the desired rows.
An expression like this will probably work:

"Name_column" LIKE 'abc%'

After this you can click on the bottom left button and choose "Show selected features only".

If you want to make it more permanent (i.e., not dependent of the selected features) you can use the expression on the layers filter (right-click the layer > filter)

Alexandre

On Wed, Feb 4, 2015 at 2:20 PM, HISP.abhijeet <abhijeet.7777 at gmail.com> wrote:
thanks Alexander, this is helpful. one more thing though, about my 2nd question apart from ascending and descending, is there any way i can sort by name like names like 'abc' only. 

result should be: all the names having character 'abc' should display. 
On 4 Feb 2015 7:23 pm, "Alexandre Neto" <senhor.neto at gmail.com> wrote:Helllo abhijeet,

To hide certain columns you need to go to the layer properties - fields tab. Then, for each of the desired fields, you can set the Edit Widget as Hidden.


To sort the attribute table by an especific column, all you need to do is click over the column name. First click will sort it descending, the second one will sort ascending.


I hope it helps,


Alexandre Neto

On Wed, Feb 4, 2015 at 1:08 PM, HISP.abhijeet <abhijeet.7777 at gmail.com> wrote:
hi Alexander,

thanks for replying, 

1st- suppose i have 10 columns and i want to see only 4 columns.

2nd- similarly i want to sort my rows by specifics for eg: in the Name column all the attributes with last name SC should be sorted.

how can i do, what would be the expressions.
On 4 Feb 2015 6:12 pm, "Alexandre Neto" <senhor.neto at gmail.com> wrote:Hello abhijeet,
Please give use the example of the expression used, and the data structure of your layer.

Best regards,

Alexandre Neto

On Wed, Feb 4, 2015 at 12:32 PM, HISP.abhijeet <abhijeet.7777 at gmail.com> wrote:
Hi all,
i am using QGIS 2.4 and i want to do sorting and filtering in attribute table
in a vector layer. 
there is an advance filtering option and i tried but failed to do or may be i am putting the expression wrong. 
please can any one help me on this.
Regards,

 Abhijeet





_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150204/f317c9e4/attachment.html>


More information about the Qgis-user mailing list