Git Product home page Git Product logo

sql_workshop_fossgis2019's Introduction

Advanced SQL Workshop FOSSGIS 2019

In this workshop you will analyze time series data about free parking places with some advanced SQL recipes. It covers the following SQL features:

Background

This workshop has been held at the FOSSGIS conference 2019 in Dresden. The initial idea was to present some advanced geo queries that can be done with PostGIS. But judging from my own experience I realized that it weren't hundreds of PostGIS functions that lifted my spatial database skills to another level. It was SQL itself. It took me a while to fully understand more advanced concepts such as window functions. You certainly don't need them everywhere. But the more options you know the faster you will solve complex tasks with SQL.

I decided to leave out geomerty-related queries. So that the participants can better focus on SQL itself. I prepared some examples, nevertheless, but only as an encore (to be found in the SQL file). I believe that most of the PostGIS users know the basic tricks anyway: Spatial JOINs, GiST indexes, kNN-queries with <->, ST_Dump, ST_MakeValid ect. I hope that after this workshop they will be able to combine it with modern SQL to create new exciting forms of data analysis. It doesn't have to be R or Python all the time when it comes to data science.

Data

Data is provided by the Open Data initiative ParkenDD in Dresden. A data dump can be downloaded here.

Prerequisites

PostgreSQL min. v9.6, better 11. PostGIS extension is not a must (except for the mentioned encore queries)

How to start

I have uploaded the original workshop material, but it contains german comments. For the english version, I tried something else: a SQL notebook. I found out that this can be done with franchise.

  1. Simply download franchise and open the provided HTML file
  2. Create a Postgres database and connect to it from franchise
  3. The DB setup and data import is explained in the notebook

sql_workshop_fossgis2019's People

Contributors

fxku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.