SlideShare uma empresa Scribd logo
1 de 5
Baixar para ler offline
QGIS Action Scripts for SQL
http://www.ibama.gov.br
Luiz Motta
February, 2016
Brazilian Institute of Environment and Renewable Natural Resources
COTIG – Coordination of Geotechnology
● Add layer from query
● Only layers in DB
● DB's: Postgres/PostGis and SqLite/SpatiaLite
● Create Python's Action from two python script
● Pytyhon script: 'addlayersql.py' and 'header script'
● Header script: content the SQL for query
● Scripts: https://github.com/lmotta/qgis_actions_py
QGIS Action Scripts for SQL
header_sql.pyheader_sql.py
addlayersql.pyaddlayersql.py
action.pyaction.py
Paste HerePaste Here
QGIS Action Scripts for SQL
header_add_landsat.pyheader_add_landsat.py
addlayersql.pyaddlayersql.py
https://github.com/lmotta/qgis_actions_py/blob/master/addlayersql.py
QGIS Action Scripts for SQL
QGIS Action Scripts for SQL

Mais conteúdo relacionado

Mais procurados

Gazprom - How to Negotiate Online based on Agile Values
Gazprom - How to Negotiate Online based on Agile ValuesGazprom - How to Negotiate Online based on Agile Values
Gazprom - How to Negotiate Online based on Agile ValuesMirko Kleiner
 
Truck truck is a rust cad kernel
Truck   truck is a rust cad kernelTruck   truck is a rust cad kernel
Truck truck is a rust cad kernelYoshinoriTanimura
 
GIS on Rails by Oleksandr Kychun
GIS on Rails by Oleksandr Kychun GIS on Rails by Oleksandr Kychun
GIS on Rails by Oleksandr Kychun Pivorak MeetUp
 
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...plan4all
 
Git missiontomars 2015-03-10
Git missiontomars 2015-03-10Git missiontomars 2015-03-10
Git missiontomars 2015-03-10msohn
 
Docker adoption in datadog japan container days v18.04 20180418
Docker adoption in datadog   japan container days v18.04 20180418Docker adoption in datadog   japan container days v18.04 20180418
Docker adoption in datadog japan container days v18.04 20180418Masahiro Hattori
 

Mais procurados (9)

Gazprom - How to Negotiate Online based on Agile Values
Gazprom - How to Negotiate Online based on Agile ValuesGazprom - How to Negotiate Online based on Agile Values
Gazprom - How to Negotiate Online based on Agile Values
 
Truck truck is a rust cad kernel
Truck   truck is a rust cad kernelTruck   truck is a rust cad kernel
Truck truck is a rust cad kernel
 
R in gvSIG
R in gvSIGR in gvSIG
R in gvSIG
 
GIS on Rails by Oleksandr Kychun
GIS on Rails by Oleksandr Kychun GIS on Rails by Oleksandr Kychun
GIS on Rails by Oleksandr Kychun
 
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...
Team 4: CKAN Extension to Integrate User Feedback with NiMMbus: The case of E...
 
JSCamp review
JSCamp reviewJSCamp review
JSCamp review
 
Git missiontomars 2015-03-10
Git missiontomars 2015-03-10Git missiontomars 2015-03-10
Git missiontomars 2015-03-10
 
Future Proof
Future ProofFuture Proof
Future Proof
 
Docker adoption in datadog japan container days v18.04 20180418
Docker adoption in datadog   japan container days v18.04 20180418Docker adoption in datadog   japan container days v18.04 20180418
Docker adoption in datadog japan container days v18.04 20180418
 

Destaque

Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...
Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...
Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...Eduardo Castro
 
Sql scripts in wps t servers
Sql scripts in wps t serversSql scripts in wps t servers
Sql scripts in wps t servers52North
 
How to encrypt your script on sql server
How to encrypt your script on sql serverHow to encrypt your script on sql server
How to encrypt your script on sql serverIkhwan Krisnadi
 
Sql script update
Sql script updateSql script update
Sql script updatelavinads
 

Destaque (6)

Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...
Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...
Uncover Hidden Secrets Of T Sql Scripts With Microsoft Sql Server Management ...
 
Sql scripts in wps t servers
Sql scripts in wps t serversSql scripts in wps t servers
Sql scripts in wps t servers
 
HANA SPS07 SQL Script
HANA SPS07 SQL ScriptHANA SPS07 SQL Script
HANA SPS07 SQL Script
 
How to encrypt your script on sql server
How to encrypt your script on sql serverHow to encrypt your script on sql server
How to encrypt your script on sql server
 
Sql script update
Sql script updateSql script update
Sql script update
 
99 Facts on the Future of Business in the Digital Economy
99 Facts on the Future of Business in the Digital Economy99 Facts on the Future of Business in the Digital Economy
99 Facts on the Future of Business in the Digital Economy
 

Semelhante a QGIS SQL Layer Actions

PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018
PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018
PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018PGConf APAC
 
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryCodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryMárton Kodok
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturaGitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturasparkfabrik
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQueryMárton Kodok
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloudwesley chun
 
Yannis Zarkadas. Enterprise data science workflows on kubeflow
Yannis Zarkadas. Enterprise data science workflows on kubeflowYannis Zarkadas. Enterprise data science workflows on kubeflow
Yannis Zarkadas. Enterprise data science workflows on kubeflowMarynaHoldaieva
 
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...Lviv Startup Club
 
Bringing JAMStack to the Enterprise
Bringing JAMStack to the EnterpriseBringing JAMStack to the Enterprise
Bringing JAMStack to the EnterpriseC4Media
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingAlessandro Molina
 
Operating PostgreSQL at Scale with Kubernetes
Operating PostgreSQL at Scale with KubernetesOperating PostgreSQL at Scale with Kubernetes
Operating PostgreSQL at Scale with KubernetesJonathan Katz
 
Blazing fast sites using Blaze, Hybrid CMS NYC
Blazing fast sites using Blaze, Hybrid CMS NYCBlazing fast sites using Blaze, Hybrid CMS NYC
Blazing fast sites using Blaze, Hybrid CMS NYCJesus Manuel Olivas
 
When it all GOes right
When it all GOes rightWhen it all GOes right
When it all GOes rightPavlo Golub
 
Big query - Command line tools and Tips - (MOSG)
Big query - Command line tools and Tips - (MOSG)Big query - Command line tools and Tips - (MOSG)
Big query - Command line tools and Tips - (MOSG)Soshi Nemoto
 
Spring batch for large enterprises operations
Spring batch for large enterprises operations Spring batch for large enterprises operations
Spring batch for large enterprises operations Ignasi González
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaSAppsembler
 
There is something about serverless
There is something about serverlessThere is something about serverless
There is something about serverlessgjdevos
 
Putting data science to work
Putting data science to workPutting data science to work
Putting data science to workAlex Breeze
 

Semelhante a QGIS SQL Layer Actions (20)

Supercharge your app with Cloud Functions for Firebase
Supercharge your app with Cloud Functions for FirebaseSupercharge your app with Cloud Functions for Firebase
Supercharge your app with Cloud Functions for Firebase
 
PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018
PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018
PGConf APAC 2018 - A PostgreSQL DBAs Toolbelt for 2018
 
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQueryCodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
CodeCamp Iasi - Creating serverless data analytics system on GCP using BigQuery
 
Pywps
PywpsPywps
Pywps
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastrutturaGitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
 
Supercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuerySupercharge your data analytics with BigQuery
Supercharge your data analytics with BigQuery
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
 
Yannis Zarkadas. Enterprise data science workflows on kubeflow
Yannis Zarkadas. Enterprise data science workflows on kubeflowYannis Zarkadas. Enterprise data science workflows on kubeflow
Yannis Zarkadas. Enterprise data science workflows on kubeflow
 
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...
Yannis Zarkadas. Stefano Fioravanzo. Enterprise data science workflows on kub...
 
Bringing JAMStack to the Enterprise
Bringing JAMStack to the EnterpriseBringing JAMStack to the Enterprise
Bringing JAMStack to the Enterprise
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears Training
 
Sprint 18
Sprint 18Sprint 18
Sprint 18
 
Operating PostgreSQL at Scale with Kubernetes
Operating PostgreSQL at Scale with KubernetesOperating PostgreSQL at Scale with Kubernetes
Operating PostgreSQL at Scale with Kubernetes
 
Blazing fast sites using Blaze, Hybrid CMS NYC
Blazing fast sites using Blaze, Hybrid CMS NYCBlazing fast sites using Blaze, Hybrid CMS NYC
Blazing fast sites using Blaze, Hybrid CMS NYC
 
When it all GOes right
When it all GOes rightWhen it all GOes right
When it all GOes right
 
Big query - Command line tools and Tips - (MOSG)
Big query - Command line tools and Tips - (MOSG)Big query - Command line tools and Tips - (MOSG)
Big query - Command line tools and Tips - (MOSG)
 
Spring batch for large enterprises operations
Spring batch for large enterprises operations Spring batch for large enterprises operations
Spring batch for large enterprises operations
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaS
 
There is something about serverless
There is something about serverlessThere is something about serverless
There is something about serverless
 
Putting data science to work
Putting data science to workPutting data science to work
Putting data science to work
 

Mais de Luiz Motta

Análises Espaciais com a Extensão PostGis
Análises Espaciais com a Extensão PostGisAnálises Espaciais com a Extensão PostGis
Análises Espaciais com a Extensão PostGisLuiz Motta
 
Catalog Planet Labs Plugin for QGIS - V1
Catalog Planet Labs Plugin for QGIS - V1Catalog Planet Labs Plugin for QGIS - V1
Catalog Planet Labs Plugin for QGIS - V1Luiz Motta
 
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...Luiz Motta
 
Presentation 2016 sql_water-source_sql
Presentation 2016 sql_water-source_sqlPresentation 2016 sql_water-source_sql
Presentation 2016 sql_water-source_sqlLuiz Motta
 
Mapswipetool plugin
Mapswipetool pluginMapswipetool plugin
Mapswipetool pluginLuiz Motta
 
QGIS with imagery satellite TMS format
QGIS with imagery satellite TMS formatQGIS with imagery satellite TMS format
QGIS with imagery satellite TMS formatLuiz Motta
 

Mais de Luiz Motta (6)

Análises Espaciais com a Extensão PostGis
Análises Espaciais com a Extensão PostGisAnálises Espaciais com a Extensão PostGis
Análises Espaciais com a Extensão PostGis
 
Catalog Planet Labs Plugin for QGIS - V1
Catalog Planet Labs Plugin for QGIS - V1Catalog Planet Labs Plugin for QGIS - V1
Catalog Planet Labs Plugin for QGIS - V1
 
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...
Catalog on the fly: Solução aberta para utilização imediata de grande acervo ...
 
Presentation 2016 sql_water-source_sql
Presentation 2016 sql_water-source_sqlPresentation 2016 sql_water-source_sql
Presentation 2016 sql_water-source_sql
 
Mapswipetool plugin
Mapswipetool pluginMapswipetool plugin
Mapswipetool plugin
 
QGIS with imagery satellite TMS format
QGIS with imagery satellite TMS formatQGIS with imagery satellite TMS format
QGIS with imagery satellite TMS format
 

Último

Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptrcbcrtm
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 

Último (20)

Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
cpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.pptcpct NetworkING BASICS AND NETWORK TOOL.ppt
cpct NetworkING BASICS AND NETWORK TOOL.ppt
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 

QGIS SQL Layer Actions

  • 1. QGIS Action Scripts for SQL http://www.ibama.gov.br Luiz Motta February, 2016 Brazilian Institute of Environment and Renewable Natural Resources COTIG – Coordination of Geotechnology ● Add layer from query ● Only layers in DB ● DB's: Postgres/PostGis and SqLite/SpatiaLite ● Create Python's Action from two python script ● Pytyhon script: 'addlayersql.py' and 'header script' ● Header script: content the SQL for query ● Scripts: https://github.com/lmotta/qgis_actions_py
  • 2. QGIS Action Scripts for SQL header_sql.pyheader_sql.py addlayersql.pyaddlayersql.py action.pyaction.py Paste HerePaste Here
  • 3. QGIS Action Scripts for SQL header_add_landsat.pyheader_add_landsat.py addlayersql.pyaddlayersql.py https://github.com/lmotta/qgis_actions_py/blob/master/addlayersql.py