Perfect!!!
Thanks
Regards
Lene

Fra: Neumann, Andreas [mailto:[email protected]]
Sendt: 19. februar 2016 09:19
Til: Lene Fischer
Cc: [email protected]
Emne: Re: [Qgis-user] Select vectorline automatic


Hi Lene,

How about using the modulus operator in the QGIS expression?

With modulus you can select any nth line,

e.g. assuming that the tool created features where the gid advances by 1 for 
each feature, you could

gid % 2 = 0

selects gid with odd numbers: 0,2,4,6

or

gid % 5 = 0

would select every 5th number: 0,5,10,15,20

Hope this helps.

Just replace gid with whatever is your primary key column.

Andreas

On 2016-02-19 08:17, Lene Fischer wrote:

Hi,
I´m creating a tutorial about lawnmoving ☺ for calculating lengths ect.
I have created a graticule / vector grid with parallel lines. I want to select 
every second line automatic. Is there a feature for that?

Lene Fischer
Associate Professor

Department of Geosciences and Natural Resource Management
University of Copenhagen


MOB +45 40115084
[email protected]<mailto:[email protected]>


[cid:[email protected]]



_______________________________________________
Qgis-user mailing list
[email protected]<mailto:[email protected]>
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to