SlideShare a Scribd company logo
Using GDAL in Your GIS Workflow:An OSGeo Approach
A little about me...President and Lead Consultant at Carteryx15 years experience using geospatial technologiesInvolved in forestry, mining, engineering, environmental and many other sectors...Have used open source GIS for past 10 yearsGIS development and deployment specialistExperience in a number of software platforms
IntroductionA GIS is only as good as the data that goes in to it...Preparing data can take time...time you may not haveGDAL utilities can run at command line or as libraryProjection conversion, format conversion, sub-set...Bindings for Python and dll’s for Visual Studio
AgendaWhat is GDAL?Acquiring and Installing GDAL and it’s associated utilitiesGetting basic raster and vector informationConverting between raster file typesConverting between vector file typesBasics of GDAL/OGR/OSR Python bindingsSample Python code to get metadata from series of rasters
GEOSPATIAL DATA ABSTRACTION LIBRARY (GDAL)
File Types
Acquiring GDAL/OGR
Installing GDAL/OGR
Installing GDAL/OGR
Command LineMany commands availableogr2ogr – convert between data types, coordinate systems etc.gdalinfo – get summary or comprehensive metadata from raster data setsgdaltindex – create a MapServer style raster index shapefilegdaltransform – transform coordinates between spatial reference systemsPython scriptsgdal_merge.py – quick merge of multiple raster images to one imagegdal2tiles.py – create multiple tiles from a single rastergdal2xyz.py – create xyz text file from raster
Command LineOff we go to the demo...
GDAL Bindings in PythonWhat are GDAL Python BindingsGDAL/OGR/OSR libraries that are accessible to PythonGives data manipulation capabilities to PythonHow do they work?Calls to the libraries in the code...fromosgeo.gdalimport *  or importosgeo.gdalasosrfrom osgeo.ogr import *  or import osgeo.ogr asogrfrom osgeo.osr import *  or import osgeo.osr asosrWhat is the big advantage?Batch processing and combining with built-in python functions
GDAL Bindings in PythonWhat can you do with bindings/dllsGDALAdd bandsManipulate bandsCreate rastersRe-project rastersand moreOGRGeoprocessing (union, intersection, buffer etc.)Get information (dataset, layers, features)Re-projectChange data type
Creating Our First Python/GDAL appOff we go to the demo...
SummaryWhy GDAL/OGR/OSR?
Open source and free
A number of tools already available for command line

More Related Content

What's hot (20)

PPTX
Incorporating ISO Metadata Using HDF Product Designer
The HDF-EOS Tools and Information Center
 
PPTX
HDF Update for DAAC Managers (2017-02-27)
The HDF-EOS Tools and Information Center
 
PPTX
MATLAB and Scientific Data: New Features and Capabilities
The HDF-EOS Tools and Information Center
 
PPTX
Matlab, Big Data, and HDF Server
The HDF-EOS Tools and Information Center
 
PDF
HDFCloud Workshop: HDF5 in the Cloud
The HDF-EOS Tools and Information Center
 
PPTX
Utilizing HDF4 File Content Maps for the Cloud Computing
The HDF-EOS Tools and Information Center
 
PPT
HDF5 Performance Enhancements with the Elimination of Unlimited Dimension
The HDF-EOS Tools and Information Center
 
PPTX
Data Analytics using MATLAB and HDF5
The HDF-EOS Tools and Information Center
 
PPTX
Open-source Scientific Computing and Data Analytics using HDF
The HDF-EOS Tools and Information Center
 
PPTX
Working with Scientific Data in MATLAB
The HDF-EOS Tools and Information Center
 
PPTX
ICESat-2 Metadata and Status
The HDF-EOS Tools and Information Center
 
PPTX
Moving form HDF4 to HDF5/netCDF-4
The HDF-EOS Tools and Information Center
 
PPT
MODIS Land and HDF-EOS
The HDF-EOS Tools and Information Center
 
PPT
Summary of HDF-EOS5 Files, Data Model and File Format
The HDF-EOS Tools and Information Center
 
PPTX
Pilot Project for HDF5 Metadata Structures for SWOT
The HDF-EOS Tools and Information Center
 
PPTX
Hierarchical Data Formats (HDF) Update
The HDF-EOS Tools and Information Center
 
PPTX
HDF Product Designer: Using Templates to Achieve Interoperability
The HDF-EOS Tools and Information Center
 
PPTX
Bridging ICESat and ICESat-2 Standard Data Products
The HDF-EOS Tools and Information Center
 
Incorporating ISO Metadata Using HDF Product Designer
The HDF-EOS Tools and Information Center
 
HDF Update for DAAC Managers (2017-02-27)
The HDF-EOS Tools and Information Center
 
MATLAB and Scientific Data: New Features and Capabilities
The HDF-EOS Tools and Information Center
 
Matlab, Big Data, and HDF Server
The HDF-EOS Tools and Information Center
 
HDFCloud Workshop: HDF5 in the Cloud
The HDF-EOS Tools and Information Center
 
Utilizing HDF4 File Content Maps for the Cloud Computing
The HDF-EOS Tools and Information Center
 
HDF5 Performance Enhancements with the Elimination of Unlimited Dimension
The HDF-EOS Tools and Information Center
 
Data Analytics using MATLAB and HDF5
The HDF-EOS Tools and Information Center
 
Open-source Scientific Computing and Data Analytics using HDF
The HDF-EOS Tools and Information Center
 
Working with Scientific Data in MATLAB
The HDF-EOS Tools and Information Center
 
ICESat-2 Metadata and Status
The HDF-EOS Tools and Information Center
 
Moving form HDF4 to HDF5/netCDF-4
The HDF-EOS Tools and Information Center
 
Summary of HDF-EOS5 Files, Data Model and File Format
The HDF-EOS Tools and Information Center
 
Pilot Project for HDF5 Metadata Structures for SWOT
The HDF-EOS Tools and Information Center
 
Hierarchical Data Formats (HDF) Update
The HDF-EOS Tools and Information Center
 
HDF Product Designer: Using Templates to Achieve Interoperability
The HDF-EOS Tools and Information Center
 
Bridging ICESat and ICESat-2 Standard Data Products
The HDF-EOS Tools and Information Center
 

Similar to Using GDAL In Your GIS Workflow (20)

PPTX
Info gdal 20150915
GeoMedeelel
 
PPTX
Gdal introduction
Tomer Lieber
 
PPT
03 sajjad ali -qgis working with raster
TOUSEEF3347
 
PDF
Developing Geospatial software with Python, Part 1
Paolo Corti
 
PDF
Introduction to Geospatial Data
NopphawanTamkuan
 
PDF
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Joanne Cook
 
PPT
Open Source GIS
Joe Larson
 
PDF
Pycon 2012 Taiwan
Dongpo Deng
 
PDF
那些年 Python 攻佔了 GIS / The Year Python Takes Over GIS
pycontw
 
PPT
Leveraging Open Source GIS with Python: A QGIS Approach
Gerry James
 
PDF
Unit3 slides
Larefa Bidoun
 
PDF
Using python to analyze spatial data
Kudos S.A.S
 
PDF
QGIS Processing at Linuxwochen Wien / PyDays 2017
Anita Graser
 
PPTX
Session 08 geospatial data
bodaceacat
 
PPTX
Session 08 geospatial data
Sara-Jayne Terp
 
PDF
ePOM - Intro to Ocean Data Science - Raster and Vector Data Formats
Giuseppe Masetti
 
PPTX
[FOSS4G Seoul 2015] New Geoprocessing Toolbox in uDig Desktop GIS
MinPa Lee
 
PDF
Reading and writing spatial data for the non-spatial programmer
Chad Cooper
 
PPTX
M|18 Building Location-Based Services with Geospatial Data
MariaDB plc
 
Info gdal 20150915
GeoMedeelel
 
Gdal introduction
Tomer Lieber
 
03 sajjad ali -qgis working with raster
TOUSEEF3347
 
Developing Geospatial software with Python, Part 1
Paolo Corti
 
Introduction to Geospatial Data
NopphawanTamkuan
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Joanne Cook
 
Open Source GIS
Joe Larson
 
Pycon 2012 Taiwan
Dongpo Deng
 
那些年 Python 攻佔了 GIS / The Year Python Takes Over GIS
pycontw
 
Leveraging Open Source GIS with Python: A QGIS Approach
Gerry James
 
Unit3 slides
Larefa Bidoun
 
Using python to analyze spatial data
Kudos S.A.S
 
QGIS Processing at Linuxwochen Wien / PyDays 2017
Anita Graser
 
Session 08 geospatial data
bodaceacat
 
Session 08 geospatial data
Sara-Jayne Terp
 
ePOM - Intro to Ocean Data Science - Raster and Vector Data Formats
Giuseppe Masetti
 
[FOSS4G Seoul 2015] New Geoprocessing Toolbox in uDig Desktop GIS
MinPa Lee
 
Reading and writing spatial data for the non-spatial programmer
Chad Cooper
 
M|18 Building Location-Based Services with Geospatial Data
MariaDB plc
 
Ad

Using GDAL In Your GIS Workflow

  • 1. Using GDAL in Your GIS Workflow:An OSGeo Approach
  • 2. A little about me...President and Lead Consultant at Carteryx15 years experience using geospatial technologiesInvolved in forestry, mining, engineering, environmental and many other sectors...Have used open source GIS for past 10 yearsGIS development and deployment specialistExperience in a number of software platforms
  • 3. IntroductionA GIS is only as good as the data that goes in to it...Preparing data can take time...time you may not haveGDAL utilities can run at command line or as libraryProjection conversion, format conversion, sub-set...Bindings for Python and dll’s for Visual Studio
  • 4. AgendaWhat is GDAL?Acquiring and Installing GDAL and it’s associated utilitiesGetting basic raster and vector informationConverting between raster file typesConverting between vector file typesBasics of GDAL/OGR/OSR Python bindingsSample Python code to get metadata from series of rasters
  • 10. Command LineMany commands availableogr2ogr – convert between data types, coordinate systems etc.gdalinfo – get summary or comprehensive metadata from raster data setsgdaltindex – create a MapServer style raster index shapefilegdaltransform – transform coordinates between spatial reference systemsPython scriptsgdal_merge.py – quick merge of multiple raster images to one imagegdal2tiles.py – create multiple tiles from a single rastergdal2xyz.py – create xyz text file from raster
  • 11. Command LineOff we go to the demo...
  • 12. GDAL Bindings in PythonWhat are GDAL Python BindingsGDAL/OGR/OSR libraries that are accessible to PythonGives data manipulation capabilities to PythonHow do they work?Calls to the libraries in the code...fromosgeo.gdalimport * or importosgeo.gdalasosrfrom osgeo.ogr import * or import osgeo.ogr asogrfrom osgeo.osr import * or import osgeo.osr asosrWhat is the big advantage?Batch processing and combining with built-in python functions
  • 13. GDAL Bindings in PythonWhat can you do with bindings/dllsGDALAdd bandsManipulate bandsCreate rastersRe-project rastersand moreOGRGeoprocessing (union, intersection, buffer etc.)Get information (dataset, layers, features)Re-projectChange data type
  • 14. Creating Our First Python/GDAL appOff we go to the demo...
  • 17. A number of tools already available for command line
  • 18. Integrates in many programming languages
  • 19. Many geoprocessing functions and objects
  • 21. Runs in many different environments (Windows – Linux – Mac/OS)
  • 23. Integrates with Qt and other bindings to increase flexibility and useMore InformationHow to get more training....Contact Carteryx @ [email protected] or 778.668.5025More training classes to come (watch http://www.carteryx.com)Pre-defined and Personalized training....Linkshttp://fwtools.maptools.org/http://map.hut.fi/doc/Geo-GDAL/html/namespace_geo.htmlhttp://trac.osgeo.org/osgeo4w/http://www.python.orghttp://www.diveintopython.org/