lecture 0 - Introduction

Programming in geoinformatics

Autumn 2017

WHY?

  • you can do IT!
  • you can use IT anywhere :) (e.g. science, data visualization) (https://interaktivni.rozhlas.cz/)
  • blurred boundaries – many people use GIS, GIS specialists infiltrate IT

WHY?

Source: zive.cz, Jakub Čížek

HOW?

2 THINGS

  • Logic
    • The the problem apart – cycles (for) and conditionals (if)

HOW?

2 THINGS

  • Logic
    • The the problem apart – cycles (for) and conditionals (if)
  • Google → English
    • Do you have a problem? Somebody probably had it before.
    • documentation, stackoverflow.com, mailing lists

HOW?

2 THINGS

  • Logic
    • The the problem apart – cycles (for) and conditionals (if)
  • Google → English
    • Do you have a problem? Somebody probably had it before.
    • documentation, stackoverflow.com, mailing lists
  • Anything else helps
    • blogs, fun projects, books, courses, meetings

HOW?

WE ARE

USED TO THIS

HOW?

WE ARE

USED TO THIS

Multiple ways:

  • for every balloon (colour 1):
    • for every pencil (colour 2):
      • if colour 1 = colour 2
        • color the balloon

HOW?

WE ARE

USED TO THIS

Multiple ways:

  • for every balloon (colour 1):
    • for every pencil (colour 2):
      • if colour 1 = colour 2
        • color the balloon
  • ​​​for every pencil: for every balloon …
  • find all [red, blue, green, …] balloons …

WHAT?

ANY LANGUAGE BASICALLY

  • Python
  • HTML5 + JavaScript
  • C/C++
  • C#, Java
  • R

Python

  • academical language
  • heavily used in geoinformatics (ArcGIS, QGIS)
  • easy to learn
  • natural language-like syntax

JavaScript

MOST WIDESPREAD

  • primarily client side web applications
  • server side (node.js), mobile (phonegap)
  • cartography visualization
    • leaflet.js
    • openlayers
    • Kartograph

R

STATISTICS

  • data analysis
  • academic environment
  • statisticians
  • two tests (with internet): 0–10 points each
  • team project: 2–3 members, 0–20 points (5 pt. required)
  • homeworks: mandatory and optional (bonus points)

What do I have to do?

CONDITIONS AND GRADING

0–17 F

18–24 E

25–28 D

29–32 C

33–36 B

37+ A

  • Team project: 
    • GI theme
    • documented code
    • protocol
    • presentation
  • Absence:

    • e-mail

  • Homeworks:

    • ​​mandatory ungraded

    • optional bonus points

What do I have to do?

ORGANIZATION

Recommended editors

Sublime Text – https://www.sublimetext.com/

Atom – https://atom.io/

Lecture 0 - Introduction

By Šimon Leitgeb

Lecture 0 - Introduction

  • 185