Logo Alexandre Neto
  • Home
  • About
  • Services
  • Recent Posts
  • Posts
  • Plugins
  • English
    Português English
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • ArcGIS
  • Atlas
  • Cartography
  • Composer
  • Conda
  • Conda-Forge
  • Gdal
  • Hint
  • Mamba
  • Map Composer
  • Open Source
  • Opinion
  • Postgis
  • Pyqgis
  • Python
  • QGIS
  • Recart
  • SQL
  • Tutorial
  • Vscode
Hero Image
Please use the "IN" operador

It’s not the first time I see people that, to select feature by their fields values, use expressions like this: [code language=“SQL”]“field” = ‘value1’ OR “field” = ‘value2’ OR “field” = ‘value3’ [OR …][/code] A more practical and pretty way of doing this is by using the IN operator instead. [code language=“SQL”]“field” IN (‘value1’,‘value2’,‘value3’[,…])[/code] This operator is available in almost every GIS software I know. In QGIS, it can be used even if there isn’t a small little button to click.

  • QGIS
  • SQL
Tuesday, June 24, 2014 | 1 minute Read
Navigation
  • About
  • Services
  • Recent Posts
  • Plugins
Contact me:
  • srnetochan
  • Alexandre Neto
  • @alexnetogeo
  • @alexnetogeo

Toha Theme Logo Toha
© 2022 Copyright. Globe icon created by Freepik - Flaticon
Powered by Hugo Logo