SlideShare uma empresa Scribd logo
1 de 17
Using GDAL in Your GIS Workflow: An OSGeo Approach
A little about me... President and Lead Consultant at Carteryx 15 years experience using geospatial technologies Involved in forestry, mining, engineering, environmental and many other sectors... Have used open source GIS for past 10 years GIS development and deployment specialist Experience in a number of software platforms
Introduction A GIS is only as good as the data that goes in to it... Preparing data can take time...time you may not have GDAL utilities can run at command line or as library Projection conversion, format conversion, sub-set... Bindings for Python and dll’s for Visual Studio
Agenda What is GDAL? Acquiring and Installing GDAL and it’s associated utilities Getting basic raster and vector information Converting between raster file types Converting between vector file types Basics of GDAL/OGR/OSR Python bindings Sample 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 Line Many commands available ogr2ogr – convert between data types, coordinate systems etc. gdalinfo – get summary or comprehensive metadata from raster data sets gdaltindex – create a MapServer style raster index shapefile gdaltransform – transform coordinates between spatial reference systems Python scripts gdal_merge.py – quick merge of multiple raster images to one image gdal2tiles.py – create multiple tiles from a single raster gdal2xyz.py – create xyz text file from raster
Command Line Off we go to the demo...
GDAL Bindings in Python What are GDAL Python Bindings GDAL/OGR/OSR libraries that are accessible to Python Gives data manipulation capabilities to Python How do they work? Calls to the libraries in the code... fromosgeo.gdalimport *  or importosgeo.gdalasosr from osgeo.ogr import *  or import osgeo.ogr asogr from osgeo.osr import *  or import osgeo.osr asosr What is the big advantage? Batch processing and combining with built-in python functions
GDAL Bindings in Python What can you do with bindings/dlls GDAL Add bands Manipulate bands Create rasters Re-project rasters and more OGR Geoprocessing (union, intersection, buffer etc.) Get information (dataset, layers, features) Re-project Change data type
Creating Our First Python/GDAL app Off we go to the demo...
Summary ,[object Object]
Open source and free
A number of tools already available for command line

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Incorporating ISO Metadata Using HDF Product Designer
Incorporating ISO Metadata Using HDF Product DesignerIncorporating ISO Metadata Using HDF Product Designer
Incorporating ISO Metadata Using HDF Product Designer
 
HDF Update for DAAC Managers (2017-02-27)
HDF Update for DAAC Managers (2017-02-27)HDF Update for DAAC Managers (2017-02-27)
HDF Update for DAAC Managers (2017-02-27)
 
MATLAB and Scientific Data: New Features and Capabilities
MATLAB and Scientific Data: New Features and CapabilitiesMATLAB and Scientific Data: New Features and Capabilities
MATLAB and Scientific Data: New Features and Capabilities
 
Matlab, Big Data, and HDF Server
Matlab, Big Data, and HDF ServerMatlab, Big Data, and HDF Server
Matlab, Big Data, and HDF Server
 
HDFCloud Workshop: HDF5 in the Cloud
HDFCloud Workshop: HDF5 in the CloudHDFCloud Workshop: HDF5 in the Cloud
HDFCloud Workshop: HDF5 in the Cloud
 
Utilizing HDF4 File Content Maps for the Cloud Computing
Utilizing HDF4 File Content Maps for the Cloud ComputingUtilizing HDF4 File Content Maps for the Cloud Computing
Utilizing HDF4 File Content Maps for the Cloud Computing
 
HDF5 Performance Enhancements with the Elimination of Unlimited Dimension
HDF5 Performance Enhancements with the Elimination of Unlimited DimensionHDF5 Performance Enhancements with the Elimination of Unlimited Dimension
HDF5 Performance Enhancements with the Elimination of Unlimited Dimension
 
Data Analytics using MATLAB and HDF5
Data Analytics using MATLAB and HDF5Data Analytics using MATLAB and HDF5
Data Analytics using MATLAB and HDF5
 
Open-source Scientific Computing and Data Analytics using HDF
Open-source Scientific Computing and Data Analytics using HDFOpen-source Scientific Computing and Data Analytics using HDF
Open-source Scientific Computing and Data Analytics using HDF
 
Working with Scientific Data in MATLAB
Working with Scientific Data in MATLABWorking with Scientific Data in MATLAB
Working with Scientific Data in MATLAB
 
ICESat-2 Metadata and Status
ICESat-2 Metadata and StatusICESat-2 Metadata and Status
ICESat-2 Metadata and Status
 
Moving form HDF4 to HDF5/netCDF-4
Moving form HDF4 to HDF5/netCDF-4Moving form HDF4 to HDF5/netCDF-4
Moving form HDF4 to HDF5/netCDF-4
 
MODIS Land and HDF-EOS
MODIS Land and HDF-EOSMODIS Land and HDF-EOS
MODIS Land and HDF-EOS
 
NEON HDF5
NEON HDF5NEON HDF5
NEON HDF5
 
Summary of HDF-EOS5 Files, Data Model and File Format
Summary of HDF-EOS5 Files, Data Model and File FormatSummary of HDF-EOS5 Files, Data Model and File Format
Summary of HDF-EOS5 Files, Data Model and File Format
 
Pilot Project for HDF5 Metadata Structures for SWOT
Pilot Project for HDF5 Metadata Structures for SWOTPilot Project for HDF5 Metadata Structures for SWOT
Pilot Project for HDF5 Metadata Structures for SWOT
 
Hierarchical Data Formats (HDF) Update
Hierarchical Data Formats (HDF) UpdateHierarchical Data Formats (HDF) Update
Hierarchical Data Formats (HDF) Update
 
HDF Product Designer: Using Templates to Achieve Interoperability
HDF Product Designer: Using Templates to Achieve InteroperabilityHDF Product Designer: Using Templates to Achieve Interoperability
HDF Product Designer: Using Templates to Achieve Interoperability
 
HDF Product Designer
HDF Product DesignerHDF Product Designer
HDF Product Designer
 
Bridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data ProductsBridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data Products
 

Semelhante a Using GDAL In Your GIS Workflow

GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
shericehewat
 
Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...
Ari Jolma
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Safe Software
 
RAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needsRAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needs
Connected Data World
 

Semelhante a Using GDAL In Your GIS Workflow (20)

Gdal introduction
Gdal introductionGdal introduction
Gdal introduction
 
Info gdal 20150915
Info gdal 20150915Info gdal 20150915
Info gdal 20150915
 
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
 
Open source based software ‘gxt’ mangosystem
Open source based software ‘gxt’ mangosystemOpen source based software ‘gxt’ mangosystem
Open source based software ‘gxt’ mangosystem
 
QGIS Processing at Linuxwochen Wien / PyDays 2017
QGIS Processing at Linuxwochen Wien / PyDays 2017QGIS Processing at Linuxwochen Wien / PyDays 2017
QGIS Processing at Linuxwochen Wien / PyDays 2017
 
[db tech showcase Tokyo 2018] #dbts2018 #C25 『マルチモデル・データベースへの道: PostgreSQLを最も...
[db tech showcase Tokyo 2018] #dbts2018 #C25 『マルチモデル・データベースへの道: PostgreSQLを最も...[db tech showcase Tokyo 2018] #dbts2018 #C25 『マルチモデル・データベースへの道: PostgreSQLを最も...
[db tech showcase Tokyo 2018] #dbts2018 #C25 『マルチモデル・データベースへの道: PostgreSQLを最も...
 
Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...Geospatial web services using little-known GDAL features and modern Perl midd...
Geospatial web services using little-known GDAL features and modern Perl midd...
 
ogr2gui - english version
ogr2gui - english versionogr2gui - english version
ogr2gui - english version
 
doug
dougdoug
doug
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
BigDL: Bringing Ease of Use of Deep Learning for Apache Spark with Jason Dai ...
BigDL: Bringing Ease of Use of Deep Learning for Apache Spark with Jason Dai ...BigDL: Bringing Ease of Use of Deep Learning for Apache Spark with Jason Dai ...
BigDL: Bringing Ease of Use of Deep Learning for Apache Spark with Jason Dai ...
 
Big Data Hadoop Training
Big Data Hadoop TrainingBig Data Hadoop Training
Big Data Hadoop Training
 
Snow cover assessment tool using Python
Snow cover assessment tool using PythonSnow cover assessment tool using Python
Snow cover assessment tool using Python
 
RAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needsRAPIDS cuGraph – Accelerating all your Graph needs
RAPIDS cuGraph – Accelerating all your Graph needs
 
Porting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons LearnedPorting the Source Engine to Linux: Valve's Lessons Learned
Porting the Source Engine to Linux: Valve's Lessons Learned
 
Open Source GIS
Open Source GISOpen Source GIS
Open Source GIS
 
Intro to hadoop ecosystem
Intro to hadoop ecosystemIntro to hadoop ecosystem
Intro to hadoop ecosystem
 
Spark For Plain Old Java Geeks (June2014 Meetup)
Spark For Plain Old Java Geeks (June2014 Meetup)Spark For Plain Old Java Geeks (June2014 Meetup)
Spark For Plain Old Java Geeks (June2014 Meetup)
 
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRasterFOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
FOSS4G 2010 PostGIS Raster: an Open Source alternative to Oracle GeoRaster
 
OSGeo Live Lightening Overview
OSGeo Live Lightening OverviewOSGeo Live Lightening Overview
OSGeo Live Lightening Overview
 

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 Carteryx 15 years experience using geospatial technologies Involved in forestry, mining, engineering, environmental and many other sectors... Have used open source GIS for past 10 years GIS development and deployment specialist Experience in a number of software platforms
  • 3. Introduction A GIS is only as good as the data that goes in to it... Preparing data can take time...time you may not have GDAL utilities can run at command line or as library Projection conversion, format conversion, sub-set... Bindings for Python and dll’s for Visual Studio
  • 4. Agenda What is GDAL? Acquiring and Installing GDAL and it’s associated utilities Getting basic raster and vector information Converting between raster file types Converting between vector file types Basics of GDAL/OGR/OSR Python bindings Sample Python code to get metadata from series of rasters
  • 10. Command Line Many commands available ogr2ogr – convert between data types, coordinate systems etc. gdalinfo – get summary or comprehensive metadata from raster data sets gdaltindex – create a MapServer style raster index shapefile gdaltransform – transform coordinates between spatial reference systems Python scripts gdal_merge.py – quick merge of multiple raster images to one image gdal2tiles.py – create multiple tiles from a single raster gdal2xyz.py – create xyz text file from raster
  • 11. Command Line Off we go to the demo...
  • 12. GDAL Bindings in Python What are GDAL Python Bindings GDAL/OGR/OSR libraries that are accessible to Python Gives data manipulation capabilities to Python How do they work? Calls to the libraries in the code... fromosgeo.gdalimport * or importosgeo.gdalasosr from osgeo.ogr import * or import osgeo.ogr asogr from osgeo.osr import * or import osgeo.osr asosr What is the big advantage? Batch processing and combining with built-in python functions
  • 13. GDAL Bindings in Python What can you do with bindings/dlls GDAL Add bands Manipulate bands Create rasters Re-project rasters and more OGR Geoprocessing (union, intersection, buffer etc.) Get information (dataset, layers, features) Re-project Change data type
  • 14. Creating Our First Python/GDAL app Off we go to the demo...
  • 15.
  • 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.