The presentation slides on the "Python Programming in WebGIS"; the introduction and tutorials done by Dr. Yann Chemin, are available to download.
Lecture 01: Introduction to WebGIS [Download]
Lecture 02: Mobile GIS [Download]
Lecture 03: Web Processing Service (WPS) [Download]
Lecture 04: WebGIS Services and High Performance Computing [Download]
Tutorial 01: Python Fundamentals for Raster Processing [Download]
Tutorial 02: Python Fundamentals for Raster Processing: Numpy [Download]
Tutorial 03: Python - GDAL Scripting [Download]
Tutorial 04: Python for GRASS Scripting [Download]
Tutorial 05: Python - WPS Scripting [Download]
Tutorial 06: Open Layers in QGIS [Download]
Tutorial 07: Open Layers & QGIS [Download]
Dataset for Practicals: Tutorial 03 [Download]
Lecture 01: Introduction to WebGIS [Download]
Lecture 02: Mobile GIS [Download]
Lecture 03: Web Processing Service (WPS) [Download]
Lecture 04: WebGIS Services and High Performance Computing [Download]
Tutorial 01: Python Fundamentals for Raster Processing [Download]
Tutorial 02: Python Fundamentals for Raster Processing: Numpy [Download]
Tutorial 03: Python - GDAL Scripting [Download]
Tutorial 04: Python for GRASS Scripting [Download]
Tutorial 05: Python - WPS Scripting [Download]
Tutorial 06: Open Layers in QGIS [Download]
Tutorial 07: Open Layers & QGIS [Download]
Dataset for Practicals: Tutorial 03 [Download]
Great set of tutorials. I am a complete newbie in Python, but would like to learn more about using Python to write GRASS scripts (instead of shell scripts). Do you know of more tutorials, templates or examples suitable for beginners (besides the materials on the GRASS GIS website)?
ReplyDeleteHi,
DeleteWe directed your request to our resource persons as we do not have materials which will satisfy your needs. However, we found a guide published in "Google Codes" (see below), which we believe will be useful for a beginner (You might have already referred it). We hope we will get a positive response from our resource persons and we'll get back to you as soon as we receive them. Thank you.
http://code.google.com/p/postgis-grass-r-py/wiki/0003_01_PythonForGrassGis#Python_Scripts_For_GRASS_GIS
PS: Dr. Yann Chemin recommends to continue learning GRASS Unix Shell commands as it will cover 95% of Python GRASS wrapper.
"GRASS scripting is originally Unix Shell script, however, Python-GRASS
scripting is basically encapsulating GRASS Unix Shell commands into a
Python wrapper.
Learn the first one (GRASS Unix Shell commands) and you will know 95%
of how to use them in Python GRASS wrapper (i.e. grass.read()
&grass.run() command)" - Dr. Yann Chemin
An additional note, pyGRASS is coming up strong, and permits you to control GRASS GIS at a lower level, leveraging the use of Numpy/SciPy functions on your data.
DeleteHappy Hacking !
Hi, thanks for the advice and the link.
DeleteI am pretty OK with the GRASS Unix Shell commands. The (first) big hurdle in moving to python is exactly how to encapsulate the grass functions (and how to work with dynamic variables, etc). This is fairly easy to do in shell, with some help from awk, sed and the like (mind you, I have not much experience in shell scripting either).
The next hurdle will be how to use R within GRASS scripts. I learned how to do that in a shell script by using an example, but I find the python examples harder to understand.. Well, I guess I need to work on it more :-).
Most probably easier to stay with Unix shell, as R is a "styled" shell.
DeleteGreat Article
DeleteFinal Year Projects for CSE in Python
FInal Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in
Chennai
Hi,
ReplyDeleteWelcome to the GIS Solutions SL and thank you for the comment.
We are working on your request and will get back to you with our recommendations.