SlideShare a Scribd company logo
1 of 16
Download to read offline
RASTER AND VECTOR DATA FORMATS
GIUSEPPE MASETTI
ESCI 872 – APPLIED TOOLS FOR OCEAN MAPPING – INTRODUCTION TO OCEAN DATA SCIENCE
Durham, NH – September 10, 2019
V1
TWO WAYS TO REPRESENT THE WORLD
• Field Approach
• Continuous data without well-defined boundaries
• Data smoothly transition from one value to another
• Discrete-objects Approach
• Objects at fixed locations with distinct boundaries
• Data usually represented in vector format:
POINT LINE POLYGON
FIELD → APPROXIMATED REPRESENTATIONS
SAMPLE POINTS
(IRREGULARLY SPACED)
SAMPLE POINTS
(REGULARLY SPACED)
NODE CELLS
TRIANGULATED IRREGULAR
NETWORK (TIN)
POLYGONS
(IRREGULARLY SHAPED)
CONTOURS
FIELD → APPROXIMATED REPRESENTATIONS
SAMPLE POINTS
(IRREGULARLY SPACED)
SAMPLE POINTS
(REGULARLY SPACED)
NODE CELLS
TRIANGULATED IRREGULAR
NETWORK (TIN)
POLYGONS
(IRREGULARLY SHAPED)
CONTOURS
Raster Grid Data Structure
RASTER GRID → DESCRIPTIVE ELEMENTS
Number of Columns
NumberofRows
(𝑥0, 𝑦0)
Cell Size
Average cell value
No-Data Value
Value at the cell center
Value at a corner
What each value represents?
RASTER GRID → VECTOR DATA → RASTER GRID
RASTER GRID → VECTOR DATA → RASTER GRID
RASTER GRID → VECTOR DATA → RASTER GRID
RASTER GRID → VECTOR DATA → RASTER GRID
GEOSPATIAL DATA FORMATS
RASTER VECTOR
BATHYMETRIC ATTRIBUTED GRID
ARC/INFO ASCII GRID
GEOTIFF
HDF5
GEOPACKAGE
GEOJSON
GML
IHO S57
KML
GPSBABEL
ARC/INFO BINARY GRID
CAD
ECW
ENVI
ORACLE SPATIAL GEORASTER
GMT COMPATIBLE NETCDF
GRASS RASTER
MBTILES
GEOSPATIAL PDF
RASTERLITE
XYZ
USGS ASCII DEM
MRSID
DWG
MICROSTATION DGN
ESRI FILEGDB
GPX
JML
GEORSS
GTM ASCII VECTORSGRASS VECTOR FORMAT
NETCDF
ESRI PERSONAL GEODATABASE
SPATIALITE
OSM ORACLE SPATIAL
MAPINFO TAB AND MIF/MID
SHAPEFILE
THE GEOSPATIAL DATA ABSTRACTION LIBRARY
• A translator library for raster and vector geospatial data formats
• 214+ raster formats*
• 80+ vector formats* (e.g., GeoJSON, GeoPackage, GML, IHO S57, KML, Shapefile)
• “It presents a single raster abstract data model and single vector
abstract data model to the calling application for all supported formats”
(GDAL documentation, 2019)
• C++ library with Python binding
* Values retrieved from GDAL v.2.4.1 on ePOM server.
GDAL AND NUMPY
Open
GDAL Dataset
Get
Raster Band(s)
ReadAsArray()
Convert raster band(s)
to a NumPy array
Process array
using NumPy
functionalities
WriteAsArray()
Convert a NumPy array
to GDAL raster bands
Write
GDAL Dataset
GDAL → COMMAND LINE UTILITIES
• Raster programs
• gdalinfo → Lists information about a raster dataset
• gdal_translate → Converts raster data between different formats
• gdalwarp → Image reprojection and mosaicking utility
• gdal_contour → Builds vector contour lines from a raster elevation model
• gdaldem → Tools to analyze and shade DEMs
• gdal_rasterize → Burns vector geometries into a raster
• gdal_grid → Creates regular grid from the scattered data
• …
• Vector programs
• ogrinfo → Lists information about an OGR-supported data source
• ogr2ogr → Converts simple features data between file formats
• ogrmerge → Merge several vector datasets into a single one
• … (source: gdal.org)
MODULE TASK → READ AND PLOT A BAG FILE
GO TO “INTRODUCTION TO GDAL” NOTEBOOK
QUESTIONS?
Contact me at: gmasetti@ccom.unh.edu

More Related Content

What's hot

Lect 5 data models-gis
Lect 5 data models-gisLect 5 data models-gis
Lect 5 data models-gisRehana Jamal
 
Components of Spatial Data Quality in GIS
Components of Spatial Data Quality in GISComponents of Spatial Data Quality in GIS
Components of Spatial Data Quality in GISKaium Chowdhury
 
Spatial data mining
Spatial data miningSpatial data mining
Spatial data miningMITS Gwalior
 
Geographical information system unit 3
Geographical information  system unit 3Geographical information  system unit 3
Geographical information system unit 3WE-IT TUTORIALS
 
geographic information system pdf
geographic information system pdfgeographic information system pdf
geographic information system pdfRolan Ben Lorono
 
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...AIST
 
Geographical information system unit 4
Geographical information  system unit 4Geographical information  system unit 4
Geographical information system unit 4WE-IT TUTORIALS
 
Spatial data analysis 1
Spatial data analysis 1Spatial data analysis 1
Spatial data analysis 1Johan Blomme
 
Assignment vector raster
Assignment vector rasterAssignment vector raster
Assignment vector rasterfredsk2006
 
Big Data and Geospatial with HPCC Systems
Big Data and Geospatial with HPCC SystemsBig Data and Geospatial with HPCC Systems
Big Data and Geospatial with HPCC SystemsHPCC Systems
 
4.2 spatial data mining
4.2 spatial data mining4.2 spatial data mining
4.2 spatial data miningKrish_ver2
 
Spatial Analysis and Geomatics
Spatial Analysis and GeomaticsSpatial Analysis and Geomatics
Spatial Analysis and GeomaticsRich Heimann
 

What's hot (20)

Lect 5 data models-gis
Lect 5 data models-gisLect 5 data models-gis
Lect 5 data models-gis
 
Components of Spatial Data Quality in GIS
Components of Spatial Data Quality in GISComponents of Spatial Data Quality in GIS
Components of Spatial Data Quality in GIS
 
Spatial data mining
Spatial data miningSpatial data mining
Spatial data mining
 
Geographical information system unit 3
Geographical information  system unit 3Geographical information  system unit 3
Geographical information system unit 3
 
geographic information system pdf
geographic information system pdfgeographic information system pdf
geographic information system pdf
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
 
What is gis
What is gisWhat is gis
What is gis
 
GIS Modeling
GIS ModelingGIS Modeling
GIS Modeling
 
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
Dmitriy Kolesov - GIS as an environment for integration and analysis of spati...
 
Georeferencing
GeoreferencingGeoreferencing
Georeferencing
 
Vector data model
Vector data modelVector data model
Vector data model
 
Spatial Data Model 2
Spatial Data Model 2Spatial Data Model 2
Spatial Data Model 2
 
GIS fundamentals - raster
GIS fundamentals - rasterGIS fundamentals - raster
GIS fundamentals - raster
 
Geographical information system unit 4
Geographical information  system unit 4Geographical information  system unit 4
Geographical information system unit 4
 
Data_Sources
Data_SourcesData_Sources
Data_Sources
 
Spatial data analysis 1
Spatial data analysis 1Spatial data analysis 1
Spatial data analysis 1
 
Assignment vector raster
Assignment vector rasterAssignment vector raster
Assignment vector raster
 
Big Data and Geospatial with HPCC Systems
Big Data and Geospatial with HPCC SystemsBig Data and Geospatial with HPCC Systems
Big Data and Geospatial with HPCC Systems
 
4.2 spatial data mining
4.2 spatial data mining4.2 spatial data mining
4.2 spatial data mining
 
Spatial Analysis and Geomatics
Spatial Analysis and GeomaticsSpatial Analysis and Geomatics
Spatial Analysis and Geomatics
 

Similar to ePOM - Intro to Ocean Data Science - Raster and Vector Data Formats

Vector data model
Vector data model Vector data model
Vector data model Pramoda Raj
 
Vector data model
Vector data modelVector data model
Vector data modelPramoda Raj
 
GRAPHITE: An Extensible Graph Traversal Framework for Relational Database Ma...
GRAPHITE:  An Extensible Graph Traversal Framework for Relational Database Ma...GRAPHITE:  An Extensible Graph Traversal Framework for Relational Database Ma...
GRAPHITE: An Extensible Graph Traversal Framework for Relational Database Ma...Marcus Paradies
 
High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)Nicholas Knize, Ph.D., GISP
 
CEDAR & PRELIDA Preservation of Linked Socio-Historical Data
CEDAR & PRELIDA Preservation of Linked Socio-Historical DataCEDAR & PRELIDA Preservation of Linked Socio-Historical Data
CEDAR & PRELIDA Preservation of Linked Socio-Historical DataPRELIDA Project
 
02 Geographic scripting in uDig - halfway between user and developer
02 Geographic scripting in uDig - halfway between user and developer02 Geographic scripting in uDig - halfway between user and developer
02 Geographic scripting in uDig - halfway between user and developerAndrea Antonello
 
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptxUG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptxNancyVerma72
 
managing big data
managing big datamanaging big data
managing big dataSuveeksha
 
Gis and digital_map_fundamentals
Gis and digital_map_fundamentalsGis and digital_map_fundamentals
Gis and digital_map_fundamentalsSumant Diwakar
 
Follow the money with graphs
Follow the money with graphsFollow the money with graphs
Follow the money with graphsStanka Dalekova
 
Apdm 101 Arc Gis Pipeline Data Model (1)
Apdm 101 Arc Gis Pipeline Data Model  (1)Apdm 101 Arc Gis Pipeline Data Model  (1)
Apdm 101 Arc Gis Pipeline Data Model (1)David Nichter, GISP
 
Large Scale Machine Learning with Apache Spark
Large Scale Machine Learning with Apache SparkLarge Scale Machine Learning with Apache Spark
Large Scale Machine Learning with Apache SparkCloudera, Inc.
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Texas Natural Resources Information System
 
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph KernelsDDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph Kernelsivaderivader
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptFatima891926
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptsafayetmim1
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptvikramvsu
 

Similar to ePOM - Intro to Ocean Data Science - Raster and Vector Data Formats (20)

Vector data model
Vector data model Vector data model
Vector data model
 
Vector data model
Vector data modelVector data model
Vector data model
 
GRAPHITE: An Extensible Graph Traversal Framework for Relational Database Ma...
GRAPHITE:  An Extensible Graph Traversal Framework for Relational Database Ma...GRAPHITE:  An Extensible Graph Traversal Framework for Relational Database Ma...
GRAPHITE: An Extensible Graph Traversal Framework for Relational Database Ma...
 
High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)High Dimensional Indexing using MongoDB (MongoSV 2012)
High Dimensional Indexing using MongoDB (MongoSV 2012)
 
CEDAR & PRELIDA Preservation of Linked Socio-Historical Data
CEDAR & PRELIDA Preservation of Linked Socio-Historical DataCEDAR & PRELIDA Preservation of Linked Socio-Historical Data
CEDAR & PRELIDA Preservation of Linked Socio-Historical Data
 
02 Geographic scripting in uDig - halfway between user and developer
02 Geographic scripting in uDig - halfway between user and developer02 Geographic scripting in uDig - halfway between user and developer
02 Geographic scripting in uDig - halfway between user and developer
 
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptxUG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
UG6thSem_major_GIS Data Structures.pptx DR P DAS.1.pptx
 
managing big data
managing big datamanaging big data
managing big data
 
Gis and digital_map_fundamentals
Gis and digital_map_fundamentalsGis and digital_map_fundamentals
Gis and digital_map_fundamentals
 
Follow the money with graphs
Follow the money with graphsFollow the money with graphs
Follow the money with graphs
 
Apdm 101 Arc Gis Pipeline Data Model (1)
Apdm 101 Arc Gis Pipeline Data Model  (1)Apdm 101 Arc Gis Pipeline Data Model  (1)
Apdm 101 Arc Gis Pipeline Data Model (1)
 
Large Scale Machine Learning with Apache Spark
Large Scale Machine Learning with Apache SparkLarge Scale Machine Learning with Apache Spark
Large Scale Machine Learning with Apache Spark
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...
 
Essentials of R
Essentials of REssentials of R
Essentials of R
 
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph KernelsDDGK: Learning Graph Representations for Deep Divergence Graph Kernels
DDGK: Learning Graph Representations for Deep Divergence Graph Kernels
 
Advancing Scientific Data Support in ArcGIS
Advancing Scientific Data Support in ArcGISAdvancing Scientific Data Support in ArcGIS
Advancing Scientific Data Support in ArcGIS
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 
GIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.pptGIS_Whirlwind_Tour.ppt
GIS_Whirlwind_Tour.ppt
 

More from Giuseppe Masetti

Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...
Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...
Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...Giuseppe Masetti
 
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...e-learning Python for Ocean Mapping - Empowering the next generation of ocean...
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...Giuseppe Masetti
 
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...Giuseppe Masetti
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlGiuseppe Masetti
 
ePOM - Fundamentals of Research Software Development - Integrated Development...
ePOM - Fundamentals of Research Software Development - Integrated Development...ePOM - Fundamentals of Research Software Development - Integrated Development...
ePOM - Fundamentals of Research Software Development - Integrated Development...Giuseppe Masetti
 
ePOM - Fundamentals of Research Software Development - Introduction
ePOM - Fundamentals of Research Software Development - IntroductionePOM - Fundamentals of Research Software Development - Introduction
ePOM - Fundamentals of Research Software Development - IntroductionGiuseppe Masetti
 
ePOM - Intro to Ocean Data Science - Object-Oriented Programming
ePOM - Intro to Ocean Data Science - Object-Oriented ProgrammingePOM - Intro to Ocean Data Science - Object-Oriented Programming
ePOM - Intro to Ocean Data Science - Object-Oriented ProgrammingGiuseppe Masetti
 
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3Giuseppe Masetti
 
AusSeabed workshop - Pydro and Hydroffice - Day 1
AusSeabed workshop - Pydro and Hydroffice - Day 1AusSeabed workshop - Pydro and Hydroffice - Day 1
AusSeabed workshop - Pydro and Hydroffice - Day 1Giuseppe Masetti
 
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...Giuseppe Masetti
 
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...Giuseppe Masetti
 
Pydro & HydrOffice: Open Tools for Ocean Mappers
Pydro & HydrOffice: Open Tools for Ocean MappersPydro & HydrOffice: Open Tools for Ocean Mappers
Pydro & HydrOffice: Open Tools for Ocean MappersGiuseppe Masetti
 
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...Giuseppe Masetti
 
Backscatter Working Group Software Inter-comparison Project Requesting and Co...
Backscatter Working Group Software Inter-comparison ProjectRequesting and Co...Backscatter Working Group Software Inter-comparison ProjectRequesting and Co...
Backscatter Working Group Software Inter-comparison Project Requesting and Co...Giuseppe Masetti
 
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...Giuseppe Masetti
 
Bathymetric Attributed Grid (BAG) format
Bathymetric Attributed Grid (BAG) formatBathymetric Attributed Grid (BAG) format
Bathymetric Attributed Grid (BAG) formatGiuseppe Masetti
 
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...Giuseppe Masetti
 
HydrOffice: past, present, and future.
HydrOffice: past, present, and future.HydrOffice: past, present, and future.
HydrOffice: past, present, and future.Giuseppe Masetti
 

More from Giuseppe Masetti (18)

Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...
Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...
Open Backscatter Toolchain (OpenBST) Project - A Community-vetted Workflow fo...
 
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...e-learning Python for Ocean Mapping - Empowering the next generation of ocean...
e-learning Python for Ocean Mapping - Empowering the next generation of ocean...
 
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...
Leveraging Predictions from NOAA’s Oceanographic Forecast Models to Increase ...
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version Control
 
ePOM - Fundamentals of Research Software Development - Integrated Development...
ePOM - Fundamentals of Research Software Development - Integrated Development...ePOM - Fundamentals of Research Software Development - Integrated Development...
ePOM - Fundamentals of Research Software Development - Integrated Development...
 
ePOM - Fundamentals of Research Software Development - Introduction
ePOM - Fundamentals of Research Software Development - IntroductionePOM - Fundamentals of Research Software Development - Introduction
ePOM - Fundamentals of Research Software Development - Introduction
 
ePOM - Intro to Ocean Data Science - Object-Oriented Programming
ePOM - Intro to Ocean Data Science - Object-Oriented ProgrammingePOM - Intro to Ocean Data Science - Object-Oriented Programming
ePOM - Intro to Ocean Data Science - Object-Oriented Programming
 
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3
AusSeabed workshop - Pydro and Hydroffice - Days 2 and 3
 
AusSeabed workshop - Pydro and Hydroffice - Day 1
AusSeabed workshop - Pydro and Hydroffice - Day 1AusSeabed workshop - Pydro and Hydroffice - Day 1
AusSeabed workshop - Pydro and Hydroffice - Day 1
 
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...
Hydrographic Survey Validation and Chart Adequacy Assessment Using Automated ...
 
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...
The Open Backscatter Toolchain (OpenBST) project: towards an open-source and ...
 
Pydro & HydrOffice: Open Tools for Ocean Mappers
Pydro & HydrOffice: Open Tools for Ocean MappersPydro & HydrOffice: Open Tools for Ocean Mappers
Pydro & HydrOffice: Open Tools for Ocean Mappers
 
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...
INMARTECH 2018 - G.Masetti & P.Johnson - Sound Speed Management and Environme...
 
Backscatter Working Group Software Inter-comparison Project Requesting and Co...
Backscatter Working Group Software Inter-comparison ProjectRequesting and Co...Backscatter Working Group Software Inter-comparison ProjectRequesting and Co...
Backscatter Working Group Software Inter-comparison Project Requesting and Co...
 
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...
Shallow Survey 2018 - Applications of Sonar Detection Uncertainty for Survey ...
 
Bathymetric Attributed Grid (BAG) format
Bathymetric Attributed Grid (BAG) formatBathymetric Attributed Grid (BAG) format
Bathymetric Attributed Grid (BAG) format
 
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...
Masetti et al. - Bathymetric and reflectivity-derived data fusion for Prelimi...
 
HydrOffice: past, present, and future.
HydrOffice: past, present, and future.HydrOffice: past, present, and future.
HydrOffice: past, present, and future.
 

Recently uploaded

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfSumit Kumar yadav
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencySheetal Arora
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxjana861314
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 

Recently uploaded (20)

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls AgencyHire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
Hire 💕 9907093804 Hooghly Call Girls Service Call Girls Agency
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 

ePOM - Intro to Ocean Data Science - Raster and Vector Data Formats

  • 1. RASTER AND VECTOR DATA FORMATS GIUSEPPE MASETTI ESCI 872 – APPLIED TOOLS FOR OCEAN MAPPING – INTRODUCTION TO OCEAN DATA SCIENCE Durham, NH – September 10, 2019 V1
  • 2. TWO WAYS TO REPRESENT THE WORLD • Field Approach • Continuous data without well-defined boundaries • Data smoothly transition from one value to another • Discrete-objects Approach • Objects at fixed locations with distinct boundaries • Data usually represented in vector format: POINT LINE POLYGON
  • 3. FIELD → APPROXIMATED REPRESENTATIONS SAMPLE POINTS (IRREGULARLY SPACED) SAMPLE POINTS (REGULARLY SPACED) NODE CELLS TRIANGULATED IRREGULAR NETWORK (TIN) POLYGONS (IRREGULARLY SHAPED) CONTOURS
  • 4. FIELD → APPROXIMATED REPRESENTATIONS SAMPLE POINTS (IRREGULARLY SPACED) SAMPLE POINTS (REGULARLY SPACED) NODE CELLS TRIANGULATED IRREGULAR NETWORK (TIN) POLYGONS (IRREGULARLY SHAPED) CONTOURS Raster Grid Data Structure
  • 5. RASTER GRID → DESCRIPTIVE ELEMENTS Number of Columns NumberofRows (𝑥0, 𝑦0) Cell Size Average cell value No-Data Value Value at the cell center Value at a corner What each value represents?
  • 6. RASTER GRID → VECTOR DATA → RASTER GRID
  • 7. RASTER GRID → VECTOR DATA → RASTER GRID
  • 8. RASTER GRID → VECTOR DATA → RASTER GRID
  • 9. RASTER GRID → VECTOR DATA → RASTER GRID
  • 10. GEOSPATIAL DATA FORMATS RASTER VECTOR BATHYMETRIC ATTRIBUTED GRID ARC/INFO ASCII GRID GEOTIFF HDF5 GEOPACKAGE GEOJSON GML IHO S57 KML GPSBABEL ARC/INFO BINARY GRID CAD ECW ENVI ORACLE SPATIAL GEORASTER GMT COMPATIBLE NETCDF GRASS RASTER MBTILES GEOSPATIAL PDF RASTERLITE XYZ USGS ASCII DEM MRSID DWG MICROSTATION DGN ESRI FILEGDB GPX JML GEORSS GTM ASCII VECTORSGRASS VECTOR FORMAT NETCDF ESRI PERSONAL GEODATABASE SPATIALITE OSM ORACLE SPATIAL MAPINFO TAB AND MIF/MID SHAPEFILE
  • 11. THE GEOSPATIAL DATA ABSTRACTION LIBRARY • A translator library for raster and vector geospatial data formats • 214+ raster formats* • 80+ vector formats* (e.g., GeoJSON, GeoPackage, GML, IHO S57, KML, Shapefile) • “It presents a single raster abstract data model and single vector abstract data model to the calling application for all supported formats” (GDAL documentation, 2019) • C++ library with Python binding * Values retrieved from GDAL v.2.4.1 on ePOM server.
  • 12. GDAL AND NUMPY Open GDAL Dataset Get Raster Band(s) ReadAsArray() Convert raster band(s) to a NumPy array Process array using NumPy functionalities WriteAsArray() Convert a NumPy array to GDAL raster bands Write GDAL Dataset
  • 13. GDAL → COMMAND LINE UTILITIES • Raster programs • gdalinfo → Lists information about a raster dataset • gdal_translate → Converts raster data between different formats • gdalwarp → Image reprojection and mosaicking utility • gdal_contour → Builds vector contour lines from a raster elevation model • gdaldem → Tools to analyze and shade DEMs • gdal_rasterize → Burns vector geometries into a raster • gdal_grid → Creates regular grid from the scattered data • … • Vector programs • ogrinfo → Lists information about an OGR-supported data source • ogr2ogr → Converts simple features data between file formats • ogrmerge → Merge several vector datasets into a single one • … (source: gdal.org)
  • 14. MODULE TASK → READ AND PLOT A BAG FILE
  • 15. GO TO “INTRODUCTION TO GDAL” NOTEBOOK
  • 16. QUESTIONS? Contact me at: gmasetti@ccom.unh.edu