@astuntech
Going Enterprise
QGIS & PostGIS
QGIS UK South East User Group
Bish Bash Bosh
2nd April 2014 Mike Saunt
@astuntech
Agenda
● Who is this guy?
● What is and why an Enterprise solution?
● Providing a simplified QGIS
● Saving styles
● Managing Data
● Data Entry feedback
Going Enterprise
@astuntech
Who is this guy?
● Used to work for MapInfo (moons ago)
● Setup Astun Technology 9 years ago
● Used to be pretty Technical
● Open Source
○ Enterprise Support
○ Training
○ Mentoring etc
● Passionate about Open
@astuntech
What is & Why Enterprise?
● Provide business value to the organisation
● Means for anyone to access GIS
● Access & share centralised data
● Have data made available
○ to the GIS
○ from the GIS
● Auditing for compliance
○ When was this data created?
○ Who by?
@astuntech
What is & Why Enterprise?
@astuntech
What is & Why Enterprise
@astuntech
What is & Why Enterprise?
Security
Auditing
Scalability
Sharing
@astuntech
Keeping QGIS simple
Scenario - Non GIS users
Goals
● Provide access to GI data
● Save money
○ Minimize training
● Get a better ROI
○ People actually using GIS
@astuntech
Keeping QGIS simple
47 tools11tools
11 menus (with ~100 with one click)
@astuntech
Keeping QGIS simple
● Use Settings -> Customization
@astuntech
Keeping QGIS simple
@astuntech
Keeping QGIS simple
● Live Demo!
○ Customize
○ Save to custom .ini file
○ Create Shortcut to use
■ Linux
● “qgis -z cust.ini”
■ Windows
● “c:blahblahqgis.exe --customizationfile cust.ini”
Note: Create a full.ini first incase you lose your settings menu item
@astuntech
Enterprise Styling
● Is .qml and now new .qlr but...
● Share data with complex classifications:
○ Census data themed & classified
○ Compare Apples with Apples
● Setup complex classifications
○ Similar to QML but multiple versions
DEMO
@astuntech
Auditing of Data
DB Manager plugin
● ‘standard’ auditing shipped with v2.2
@astuntech
Auditing of Data
DB Manager plugin
● wants to change your database (not best)
@astuntech
Auditing of Data
Using standard PostgreSQL
● doesn’t change your data
● generic TRIGGER
○ a trigger happens when something happens to data
○ generic - same code can apply to multiple tables
● possible to snapshot data from previous date
● simple to configure
SELECT audit.audit_table(‘tablename');
DEMO
@astuntech
Auditing of Data
Promising QGIS plugin
● snappy name of
○ Postgres 91 with Auditor
● allows to cycle back and restore
@astuntech
Auditing of Data
Promising QGIS plugin
@astuntech
Auditing of Data
Promising QGIS plugin
@astuntech
Managing Data
Quality Control
● Pesky users digitize incorrectly
Give feedback
● Don’t interrupt their workflow
● Allow them to see issues and correct
● Auditable by Team Leader
Solution
● Dynamic Invalid data view
@astuntech
Managing Data
Database view
● Allows for a dynamic SQL of the data
● PostGIS has ST_IsValid(geometry)
○ returns true or false
● Also has ST_IsValidReason(geometry)
○ returns textual description
DEMO
@astuntech
Thank you
One last thing...
Did I tell you?

Going Enterprise QGIS and PostGIS