SlideShare a Scribd company logo
Python & Web
Beginners Tuitorial
Association Of Geomatic Engineering Students - JKUAT
By Victor
@NGENO-2015
SECTION 1: PYTHON
SECTION 1: PYTHON
@NGENO-2015
Software Installations
● Python 2.7.*
● Print “Hello”
● Create new file vs working from shell
● Print “Hello” from cmd
● Setting Python to system path
@NGENO-2015
Importance of Python
● Why learn python?
– Simple syntax and language. Allows one to actually
dwell more on the functionality of the code rather
than the syntax rules of the code.
– Python is high level language – goes through
interpreter then compiler to get solution.
● Automatic of tasks
– Change of projection
● pyproj
– Select Data
– Downloading content
● Download landsat satellite images
@NGENO-2015
Importance of Python
● Software development
– GUI – Qt, Tinker
– Py2exe
– Py2web
– Database tools – mysql
@NGENO-2015
Python Libraries: For GIS
● GDAL/OGR – read and write geospatial data.
Understand all(most) geospatial formats
● Shapely - manipulation and analysis of two-
dimensional geospatial geometries. Point, line,
polygons.
● Mapnik - visualizing
● Pyproj - projections
@NGENO-2015
SECTION 2: WEB DEV
@NGENO-2015
TOOLS
● Server (host)
– W.L.XAMP, OpenGEOSuite, GeoServer, Bitnami,
● FTP software- FileZilla
● Web dev framework
– Code igniter
– Django
● Adobe Dreamweaver
● Balsamiq Mockups
@NGENO-2015
PROGRAMMING LANGUAGES
● .html - Hyper Text Markup Language
● .js – Javascript
● .php – server side scripting language
● .css – Cascading Style Sheets
● .py – Python (Django)
● Ruby on Rails
@NGENO-2015
LOCAL HOSTING
● Run Wamp Server
● Ensure icon turns green
● Settings for database in phpmyadmin app
directory config.inc.php
● Access via localhost address
● Create new mysql database
● Host directory
– Host codeigniter as a user website
@NGENO-2015
Moving Online
● Buying a domain
– Namecheap.com
● Buying hosting space
– Capabilities: Storage, bandwidth, Applications(shell,
linux, django, geoserver)
– Support
– Cost
● Access public files via ftp
– Demonstrate
@NGENO-2015
Learning Websites
● W3schools
● Codecademy
● Codewars
● Documentation from official websites
●
@NGENO-2015
GEOSERVER
● Links
– https://www.youtube.com/watch?v=FiH4K1NLOZA
–
@NGENO-2015
GEOSERVER
● During installation mark port number, login details
● Access through http://localhost:port_number/geoserver/web
● Create new workspace
● New Store
– Several choices pick depending on the use
– Chose Directory- for our case
– Copy data into the geoserver data directory as shown in the
server status.
● Click on publish and provide the projection(srs)
● Declare bounding boxes by computing from data and the
compute from native bounds
● Click layer preview and then openlayers for it to launch on
browser
@NGENO-2015
GOING ONLINE WITH GEOSERVER
https://www.acugis.com/geoserver-hosting.htm
https://www.w
ebfaction.com
@NGENO-2015
DJANGO
● Install django
– python -m pip install django
● Example
– Open cmd prompt
– Cd to project directory
– django-admin.py startproject mysite
– ls to see all files and cd to subdirectories
– Go to project main directory and run:
– manage.py runserver
● Did yours work??
@NGENO-2015
Check Out
● Google App Engine
● Geodjango
● OpenGeoSuite
● Github
● Djangogirls
●
@NGENO-2015
Tutorials Attached
● Rapid.GUI.Programming.with.Python.and.Qt.O
ct.2007
● Python-geospatial-development-second-edition
● python_web_development_with_django
● Data Structures and Algorithms in Python
● byte_of_python_v192
● Mastering GeoServer – PDF
● GeoServer Beginner's Guide
● Geoserver Tutorial-How to Publish Shape Files
to GeoServer (video)
@NGENO-2015
Thank You
NGENO Victor Kipkoech
JKUAT – Undergraduate
ngenovictor321@gmail.com
+254721717141
www.ngeno.space (kitchen mode)

More Related Content

PPT
Openshift GeoSpatial Capabilities
PDF
Script for the geomeetup presentation
PPT
Mongo sf spatialmongo
PPTX
OpenShift with Eclipse Tooling - EclipseCon 2012
PPTX
Spatial mongo for PHP and Zend
PPTX
Free Mongo on OpenShift
PPT
Workshop For pycon13
PPT
Open shift intro for Philly PUG
Openshift GeoSpatial Capabilities
Script for the geomeetup presentation
Mongo sf spatialmongo
OpenShift with Eclipse Tooling - EclipseCon 2012
Spatial mongo for PHP and Zend
Free Mongo on OpenShift
Workshop For pycon13
Open shift intro for Philly PUG

What's hot (20)

PDF
Breaking the RpiDocker challenge
PDF
Mongo db bangalore
PPTX
Run C++ as serverless with GCP Cloud Functions
PDF
Infrastructure coders logstash
PDF
GeoDistributed datacenter: the DNS way
PDF
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
PDF
Caching in Docker - the hardest thing in computer science
PPT
Collaboration With Git and GitHub
PDF
Kafka Workshop
PDF
Redis clustering
PPT
GPFS - graphical intro
PDF
Travel with your mock server
PDF
Let's talk about the Ubuntu 18.04 LTS Roadmap!
PDF
Core OS
PDF
grifork - fast propagative task runner -
ODP
Dockerized ROS Package
PDF
リバースプロキシで webサーバを集約 ついでにdocker化しよう
PDF
"fireap" - fast task runner on consul
PDF
What's Coming in Bndtools 3.0 and Beyond
PDF
Bndtools Update - Whats Coming in v3.0.0 and Beyond - Neil Bartlett
Breaking the RpiDocker challenge
Mongo db bangalore
Run C++ as serverless with GCP Cloud Functions
Infrastructure coders logstash
GeoDistributed datacenter: the DNS way
FaaS you like it (if Shakespeare had written Functions-as-a-Service)
Caching in Docker - the hardest thing in computer science
Collaboration With Git and GitHub
Kafka Workshop
Redis clustering
GPFS - graphical intro
Travel with your mock server
Let's talk about the Ubuntu 18.04 LTS Roadmap!
Core OS
grifork - fast propagative task runner -
Dockerized ROS Package
リバースプロキシで webサーバを集約 ついでにdocker化しよう
"fireap" - fast task runner on consul
What's Coming in Bndtools 3.0 and Beyond
Bndtools Update - Whats Coming in v3.0.0 and Beyond - Neil Bartlett
Ad

Similar to AGES Presentation on Web, Python, Django and GeoServer (20)

PDF
Introduction to PaaS and Heroku
PDF
Collaborative environment with data science notebook
PDF
[scala.by] Launching new application fast
PDF
An overview of data and web-application development with Python
PDF
DocDokuPLM presentation - OW2Con 2015 Community Award winner
PDF
DocDoku: Using web technologies in a desktop application. OW2con'15, November...
 
PPTX
Instant developer onboarding with self contained repositories
PDF
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
PDF
Update on the open source browser space (16th GENIVI AMM)
PPTX
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
PDF
ceph openstack dream team
PPTX
Dynomite @ RedisConf 2017
ODP
Geospatial web services using little-known GDAL features and modern Perl midd...
PDF
Dynamic Website with Python
PDF
Design Summit - Technology Vision - Oleg Barenboim and Jason Frey
PDF
Programming for non tech entrepreneurs
PDF
Matthew Mosesohn - Configuration Management at Large Companies
PDF
Monkey Server
ODP
Continuous delivery of Windows micro services in the cloud
PDF
Open Chemistry, JupyterLab and data: Reproducible quantum chemistry
Introduction to PaaS and Heroku
Collaborative environment with data science notebook
[scala.by] Launching new application fast
An overview of data and web-application development with Python
DocDokuPLM presentation - OW2Con 2015 Community Award winner
DocDoku: Using web technologies in a desktop application. OW2con'15, November...
 
Instant developer onboarding with self contained repositories
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Update on the open source browser space (16th GENIVI AMM)
RedisConf17 - Dynomite - Making Non-distributed Databases Distributed
ceph openstack dream team
Dynomite @ RedisConf 2017
Geospatial web services using little-known GDAL features and modern Perl midd...
Dynamic Website with Python
Design Summit - Technology Vision - Oleg Barenboim and Jason Frey
Programming for non tech entrepreneurs
Matthew Mosesohn - Configuration Management at Large Companies
Monkey Server
Continuous delivery of Windows micro services in the cloud
Open Chemistry, JupyterLab and data: Reproducible quantum chemistry
Ad

Recently uploaded (20)

PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Sustainable Sites - Green Building Construction
PPT
introduction to datamining and warehousing
PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
web development for engineering and engineering
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Well-logging-methods_new................
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Geodesy 1.pptx...............................................
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Construction Project Organization Group 2.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
additive manufacturing of ss316l using mig welding
Sustainable Sites - Green Building Construction
introduction to datamining and warehousing
Mechanical Engineering MATERIALS Selection
UNIT 4 Total Quality Management .pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
web development for engineering and engineering
Safety Seminar civil to be ensured for safe working.
Well-logging-methods_new................
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Model Code of Practice - Construction Work - 21102022 .pdf
Geodesy 1.pptx...............................................
Foundation to blockchain - A guide to Blockchain Tech
Construction Project Organization Group 2.pptx

AGES Presentation on Web, Python, Django and GeoServer