Going Enterprise QGIS and PostGIS

22
@astuntech Going Enterprise QGIS & PostGIS QGIS UK South East User Group Bish Bash Bosh 2nd April 2014 Mike Saunt

description

Mike Saunt from Astun Technology, South-East QGIS user group meeting, 2nd April 2014

Transcript of Going Enterprise QGIS and PostGIS

Page 1: Going Enterprise QGIS and PostGIS

@astuntech

Going EnterpriseQGIS & PostGIS

QGIS UK South East User Group

Bish Bash Bosh

2nd April 2014 Mike Saunt

Page 2: Going Enterprise QGIS and PostGIS

@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

Page 3: Going Enterprise QGIS and PostGIS

@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

Page 4: Going Enterprise QGIS and PostGIS

@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?

Page 5: Going Enterprise QGIS and PostGIS

@astuntech

What is & Why Enterprise?

Page 6: Going Enterprise QGIS and PostGIS

@astuntech

What is & Why Enterprise

Page 7: Going Enterprise QGIS and PostGIS

@astuntech

What is & Why Enterprise?

SecurityAuditingScalabilitySharing

Page 8: Going Enterprise QGIS and PostGIS

@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

Page 9: Going Enterprise QGIS and PostGIS

@astuntech

Keeping QGIS simple

47 tools

11 tools

11 menus (with ~100 with one click)

Page 10: Going Enterprise QGIS and PostGIS

@astuntech

Keeping QGIS simple

● Use Settings -> Customization

Page 11: Going Enterprise QGIS and PostGIS

@astuntech

Keeping QGIS simple

Page 12: Going Enterprise QGIS and PostGIS

@astuntech

Keeping QGIS simple

● Live Demo!○ Customize○ Save to custom .ini file○ Create Shortcut to use

■ Linux ● “qgis -z cust.ini”

■ Windows ● “c:\blahblah\qgis.exe --customizationfile cust.ini”

Note: Create a full.ini first incase you lose your settings menu item

Page 13: Going Enterprise QGIS and PostGIS

@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

Page 14: Going Enterprise QGIS and PostGIS

@astuntech

Auditing of Data

DB Manager plugin● ‘standard’ auditing shipped with v2.2

Page 15: Going Enterprise QGIS and PostGIS

@astuntech

Auditing of Data

DB Manager plugin● wants to change your database (not best)

Page 16: Going Enterprise QGIS and PostGIS

@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

Page 17: Going Enterprise QGIS and PostGIS

@astuntech

Auditing of Data

Promising QGIS plugin● snappy name of

○ Postgres 91 with Auditor● allows to cycle back and restore

Page 18: Going Enterprise QGIS and PostGIS

@astuntech

Auditing of Data

Promising QGIS plugin

Page 19: Going Enterprise QGIS and PostGIS

@astuntech

Auditing of Data

Promising QGIS plugin

Page 20: Going Enterprise QGIS and PostGIS

@astuntech

Managing Data

Quality Control● Pesky users digitize incorrectlyGive feedback● Don’t interrupt their workflow● Allow them to see issues and correct● Auditable by Team Leader

Solution● Dynamic Invalid data view

Page 21: Going Enterprise QGIS and PostGIS

@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

Page 22: Going Enterprise QGIS and PostGIS

@astuntech

Thank you

One last thing...

Did I tell you?