GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jansule/pythonGIS: Final Assignment for Python in GIS

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
evaluater.py
evaluater.py
 
 
tp1_17-17-11_nach-abpfiff.png
tp1_17-17-11_nach-abpfiff.png
 
 
tp1_17-17-29_nach-abpfiff.png
tp1_17-17-29_nach-abpfiff.png
 
 
tp2_17-17-27_nach-abpfiff.png
tp2_17-17-27_nach-abpfiff.png
 
 

Repository files navigation

pythonGIS

Final Assignment for Python in GIS

Prerequisites

  • gdal version 1.11.3 (install: pip install gdal)
  • tested on Python 2.7.12

Installing

  1. Download or clone this repository and if necessary unzip all files.
  2. Download Landcover image (this script has been tested with and optimized for g100_clc12_V18_5.tif)
  3. Download DEM (this script has been tested with and optimized for dgm1_5meter.img. This file was provided within the course)

Note: Two of three of the provided shapefiles are missing a projection. Therefore the .prj of the third shapefile needs to be duplicated twice and renamed according to the filenames of the other shapefiles.

How to run

  1. Open evaluater.py in a text editor
  2. Add paths to input and output files in lines 23-37 (description of allowed types and variable definitions is given within evaluater.py)
  3. Open IDLE
  4. Open evaluater.py
  5. Click on Run > Run Module

Results

The script creates three outputs:

  1. reprojected shapefile with CRS of DEM and added field DEM_elev
  2. reprojected shapefile with CRS of Landcover file and added field Land_cov
  3. png file containing
    1. bar chart of mean elevation differences between GPS and DEM elevation, classified in landcover types
    2. time series of elevation differences between GPS and DEM elevation, classified in landcover types

Example .png outputs have been added to this repository

About

Final Assignment for Python in GIS

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.