How to pack a punch for free

Slides:



Advertisements
Similar presentations
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Advertisements

Chapter 1: The Database Environment
ArcGIS Geodatabase Miles Logsdon Spatial Information Technologies, UW Garry Trudeau - Doonesbury.
Databases. Database Information is not useful if not organized In database, data are organized in a way that people find meaningful and useful. Database.
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
BUSINESS DRIVEN TECHNOLOGY
Chapter 1 Introduction to Databases
Chapter 1: The Database Environment
Simple Web SQLite Manager/Form/Report
SQLite BY Jordan Smith Brian Wetzel Chris Hull William Anderson.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Database Management System Lecture 2 Introduction to Database management.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Database Design for DNN Developers Sebastian Leupold.
ASP.NET Programming with C# and SQL Server First Edition
GEODATABASE Lower Adirondack GIS Users Group Meeting March 2, 2005 Lower Adirondack GIS Users Group Meeting March 2, 2005.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Database Management System (DBMS) an Introduction DeSiaMore 1.
CS370 Spring 2007 CS 370 Database Systems Lecture 1 Overview of Database Systems.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
Imagine Creating Software Without a Single Line of Code!
3-1 Modeling Basic Entities DBMS Create Sort Search Addition Deletion Modification Create Sort Search Addition Deletion Modification DBMS is a Software.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
SQL Basics Review Reviewing what we’ve learned so far…….
Introduction to Database Programming with Python Gary Stewart
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
What is Database Administration ?
Aga Private computer Institute Prepared by: Srwa Mohammad
Databases (CS507) CHAPTER 2.
Key Terms Attribute join Target table Join table Spatial join.
Database System Concepts and Architecture
COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI
Spatial Databases: Building Spatial DB
Open Source distributed document DB for an enterprise
Physical Structure of GDB
ESRI Geodatabases Ming-Chun Lee.
Chapter 12 Information Systems.
Created by Kamila zhakupova
Introduction What is a Database?.
ICT Database Lesson 1 What is a Database?.
Introduction of Week 3 Assignment Discussion
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database Management Systems
ORACLE SQL Developer & SQLPLUS Statements
What is a Database and Why Use One?
Introduction to Database Management System
MANAGING DATA RESOURCES
ESRI Geodatabases Ming-Chun Lee.
Lower Adirondack GIS Users Group Meeting March 2, 2005
Chapter 1: The Database Environment
Spatial Databases: Building Spatial DB
Databases.
Please thank our sponsors!
Spatial Databases: Building Spatial DB
Automating and Validating Edits
Computer Science Projects Database Theory / Prototypes
Chapter 1: The Database Environment
The Database Environment
CS3220 Web and Internet Programming SQL and MySQL
Database & Information Systems
The Database Environment
ArcCatalog and Geodatabases
The Geodatabase : An Introduction
Presentation transcript:

How to pack a punch for free Spatialite + QGIS How to pack a punch for free

Contents Demo Who am I? Intro - Databases SQLite Intro (Spatial) Databases Spatialite Demo

Jacob Mark Not Dr. Richard Hipp (but he’s important)  Recent graduate Summer of Sparks Niche: Open Source tools

Database (DB) Collection of related data (information) Set of Connected Tables (most often) Why? Organization Volume of data Asking Questions (querying)

Database Management System (DBMS) Application - manipulation and interaction with DB Define, create, update, & administer Databases SQL (Structured Query Language) facilitates querying of data – ASKING QUESTIONS

DBMS Examples

THE UNIQUE WORLD OF…

What Sets SQLite Apart – LITE Serverless DB <> file-based No intermediary server process (or need for connection) Entire SQL engine embedded within application Designed for storing local data Creates single-file databases Variable-length records – only stores space used; saves a lot of space! Extremely Compact (hence, the feather!) Serverless – not client/server architecture

What Sets SQLite Apart – More Cross-Platform compatibility (32/64 bit systems) No installation or configuration – “it just works!” Doesn’t enforce type-checking (data type constraints) - “dynamic typing” “type affinity” – recommended, not required Stable file format (across all versions) Source code is OPEN Open Source Code – imagine a program developed under these circumstances… Type checking – POSTEL’s RULE – accepting non-conformant input; the type of a value is dynamic and not strictly constrained by the schema https://sqlite.org/src/wiki?name=StrictMode

Open Source Software Licensing Licenses – give rights of use to users Like Free Speech, not Free Drink FREE TO STUDY, CUSTOMIZE, TWEAK FREE TO RUN THE PROGRAM HOWEVER YOU’D LIKE FREE TO REDISTRIBUTE IT ORIGINAL OR MODIFIED One you have it, you’re in control. More information: jacobsgisportfolio.wordpress.com

most widely deployed database engine in the world Digital Cameras Python & PHP TVs & Cars Serverless – not client/server architecture Every Smart Phone Every Game Console

Spatial Databases - Intro Storing & Querying Data Includes objects defined in geometric space Simple objects – points, lines, polygons Complex objects – 3D, networks

Spatial Databases - Features Spatial Indices – optimize spatial querying Spatial Functions – buffer, union, polygonize Predicates(true/false) – within, overlap, intersect? Constructors – new geometries Observer Functions – center of circle, 1st point of line

Spatial Databases - Examples

Spatialite Intro SQLite extension – but runs with complete SQLite package Simple geometry types Many spatial functions Employable by many GIS applications (ex: QGIS, ArcGIS) File importing (shapefiles, csv, + more) Extras: networks & routing, rasterlite, R-tree indexing, etc)

Geometry Components Type (point, string, polygon, collection) SRID (Spatial Reference Identifier) Coordinates Spatial Extent Dimensions (-1 to 2) XYZ (height) XYM (measure)

Advantages of Spatialite Simple installation FREE AND OPEN SOURCE No DBMS administration – nice where support not available Low system footprint Thrives at the “EDGES of networks” – less connected scenarios Great education tool – manage, query, GIS analysis ELEMENTARY COMPLIXITY + GOOD PERFORMANCE

Why Spatialite table over a Shapefile? From 3+ files to JUST ONE VIEWS! – glorified query, a read-only table, has no data of its own Allows you to save numerous vantage points or filters of a layer without duplicating (or multiplying) the data used TRIGGERS! – triggers a series of tasks/operations upon the execution of a command/event Event – delete, insert, update Spatial Indices (rapid search/filtering) No Max field name length Shapefile max size – 2 gigabytes

Disadvantages of Spatialite Single user / single application / standalone workstation Any one time: one writer, many readers; no concurrent editing Millions & millions of entities is pushing it Not a full-fledged spatial DBMS – 80/20 rule not a Client/Server DB engine (for a shared repository of enterprise data)

If… Your data is separated from your application by a network You need concurrent data writing / high-frequency versioning You have BIG Data (in the multi-millions) Then… Spatialite isn’t for you. Otherwise… It’s a great choice!

A Note on SQL Structure Query Language Not so bad! Regular predictable syntax Query Statements resemble plain English Works cross-platform

DEMO TIME!