SlideShare una empresa de Scribd logo
1 de 10
Descargar para leer sin conexión
GeoPackage
alternative encoding
for INSPIRE
1. Introduction
2. Scope
3. Encoding rules
4. Experience with real datasets
Francisco J. Lopez-Pellicer
MIG-T 2019-02-28
Introduction
• GeoPackage is an open, standards-based, platform-independent, portable, self-
describing, compact format for transferring geospatial information
• A SQLite database (a single file!!)
• Current versión 1.2.1 https://www.geopackage.org/spec121/index.html
• It is a set of conventions for storing:
• Vector features (with linear and non-linear geometry types)
• Tile matrix sets of imagery, raster maps at various scales
• Tile gridded coverage data
• Attributes (non spatial data)
• Metadata (coarse to fine grained) and schema constraints
• Within INSPIRE, this encoding is an alternative encoding for data from all themes,
focused in data sharing of datasets with no loss of information between GIS
desktops, network servers, corporate databases, web and mobile applications.
• Max size: approximately 140TB à Big Data sharing!!
Scope
• Use cases
• Addresses data usability in desktop (QGIS3, ArcGIS), native mobile (NGA iOS and Android
SDK), web (NGA JS), servers (NGA Java) and geoprocessing software (GDAL).
• The encoding does not cover yet 3D geometries
• We have tested desktop (QGIS3), geoprocessing software (GDAL) and server (NGA Java)
• Coverage of INSPIRE Themes
• We have tested Annex I: Geographical names and Adminisrative units
• Technical Issues found
• “Related tables” extension in development à Explicit associations between classifiers
• GDAL support is not complete à workaround à NGA Java supports all extensions
Encoding rules
• UML model to GeoPackage ≈ UML model to Spatial SQL
• Classes à SQL Tables
• Used normative references
• GeoPackage Encoding Standard 1.2.1 http://www.geopackage.org/spec121/
• INSPIRE Geographical Names
• INSPIRE Administrative Units
• General encoding rules
• «featureType» à Feature Table per geometry attribute
• «dataType» with multiplicity n à Attribute Table + Foreign Key
• «dataType» that may link features (e.g. Identifier) à Attribute Table + Foreign Key
• «dataType» with multiplicity 0..1 à embedded in Table (nested properties flattened)
• «codeList» à usually embedded in Table + values constrained via Schema extension
• «voidable» à keep attribute in Table and void reason value stored via Metadata extension
Experience with real datasets à Datasets
Administrative
Units
Geographical
Names
Experience with real datasets à Mapping INSPIRE to GeoPackage
Experience with real datasets à Produced SQL DDL/GeoPackage
identifier
id
PK
namespace
local_id
version_id
named_place
id
PK
inspire_id
wk
geometry
begin_lifespan_version
end_lifespan_version
least_detailed_viewing_resolution
least_detailed_viewing_resolution_equivalent_scale
least_detailed_viewing_resolution_distance
least_detailed_viewing_resolution_distance_uom
most_detailed_viewing_resolution
most_detailed_viewing_resolution_equivalent_scale
most_detailed_viewing_resolution_distance
most_detailed_viewing_resolution_distance_uom
geographical_name
id
PK
name_of
wk
name_of_table
language
nativeness
name_status
source_of_name
pronunciation
pronunciation_sound_link
pronunciation_ipa
grammatical_gender
grammatical_number
spelling_of_name
id
PK
spelling_of
wk
text
script
transliteration_scheme
named_place_local_type
id
PK
named_place_id
wk
locale
text
named_place_type
id
PK
named_place_id
wk
label
named_place_related_spatial_object
id
PK
base_id
wk
related_id
wk
Experience with real datasets à Tools
• NGA GeoPackage Java (certified by OGC)
• https://github.com/ngageoint/GeoPackage
• In-house DSL (written in Kotlin)
• Creation of any INSPIRE schema within GeoPackage
• ETL Postgis à GeoPackage
• Data migration to Postgis à GeoPackcage
• INSPIRE schema creation
• Population INSPIRE Schema
• We can publish it as open source if requested
• Development time
• 4 weeks model/approach analysis
• 3 weeks DSL development and testing
• 2 days for the ETL (per dataset)
• Lessons learned
• Think as SQL developer, not as GIS developer
à faster development
• Performance improved if model transformation is executed
within SQLite à FME-like scripts will be slow
• INSPIRE schema templates per theme (empty
GeoPackages) à Reusable by-product
Experience with real datasets à Results
• Geographical Names
• File size 352 MB
• Features: NamedPlace (1132583 rows)
• Attributes: GeographicalName (1317590 rows),
SpellingOfName (1317590 rows), + 3 more
tables for attributes with multiplicity (localType,
relatedSpatialObject, type)
• Administrative Units
• File size 646 MB
• Features: AdministrativeUnit (8283 rows),
AdministrativeBoundary (45844 rows)
• Attributes: Identifier (54127 rows),
GeographicalName (8283 rows),
SpellingOfName (8283 rows), + 1 more table for
M:N relation between Boundary and Unit
• Transformation run: 40min
• In my laptop! x5 faster in a production server!!
• Tested with QGIS3
• View, edit… fast and satisfactory
• Join tables feasible (NamedPlace x
GeographicalName x SpellingOfName)
GeoPackage
alternative encoding
for INSPIRE
Thanks to:
https://www.geoslab.com/
Francisco J Lopez-Pellicer
IAAA, Universidad Zaragoza
fjlopez@unizar.es
twitter @fjlopezpellicer
https://www.linkedin.com/in/franciscojlopezpellicer

Más contenido relacionado

Similar a Presentation MIG-T GeoPackage.pdf

Spatial Data in SQL Server
Spatial Data in SQL ServerSpatial Data in SQL Server
Spatial Data in SQL ServerEduardo Castro
 
ElasticSearch as (only) datastore
ElasticSearch as (only) datastoreElasticSearch as (only) datastore
ElasticSearch as (only) datastoreTomas Sirny
 
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesOzri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesWalter Simonazzi
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Gabriele Bartolini
 
Materi Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdfMateri Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdfsakinatunnajmi
 
GeoDataspace: Simplifying Data Management Tasks with Globus
GeoDataspace: Simplifying Data Management Tasks with GlobusGeoDataspace: Simplifying Data Management Tasks with Globus
GeoDataspace: Simplifying Data Management Tasks with GlobusTanu Malik
 
Efficient Query Processing in Geographic Web Search Engines
Efficient Query Processing in Geographic Web Search EnginesEfficient Query Processing in Geographic Web Search Engines
Efficient Query Processing in Geographic Web Search EnginesYen-Yu Chen
 
Spatial Data in SQL Server
Spatial Data in SQL ServerSpatial Data in SQL Server
Spatial Data in SQL ServerEduardo Castro
 
GeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolGeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolThierry Badard
 
PostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLPostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLAlexei Krasner
 
Distributed Data processing in a Cloud
Distributed Data processing in a CloudDistributed Data processing in a Cloud
Distributed Data processing in a Cloudelliando dias
 
Arc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessingArc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessingEsri
 
Beyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forksBeyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forksSameer Kumar
 
Authoring Tool of AAT with DADT
Authoring Tool of AAT with DADTAuthoring Tool of AAT with DADT
Authoring Tool of AAT with DADTAAT Taiwan
 
Data managing and Exchange GDB
Data managing and Exchange GDB Data managing and Exchange GDB
Data managing and Exchange GDB Esri
 
An introduction to Pincaster
An introduction to PincasterAn introduction to Pincaster
An introduction to PincasterFrank Denis
 
Suburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data LakeSuburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data LakeTorsten Steinbach
 

Similar a Presentation MIG-T GeoPackage.pdf (20)

Spatial Data in SQL Server
Spatial Data in SQL ServerSpatial Data in SQL Server
Spatial Data in SQL Server
 
ElasticSearch as (only) datastore
ElasticSearch as (only) datastoreElasticSearch as (only) datastore
ElasticSearch as (only) datastore
 
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesOzri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
 
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
Agile Oracle to PostgreSQL migrations (PGConf.EU 2013)
 
Materi Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdfMateri Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdf
 
GeoDataspace: Simplifying Data Management Tasks with Globus
GeoDataspace: Simplifying Data Management Tasks with GlobusGeoDataspace: Simplifying Data Management Tasks with Globus
GeoDataspace: Simplifying Data Management Tasks with Globus
 
Efficient Query Processing in Geographic Web Search Engines
Efficient Query Processing in Geographic Web Search EnginesEfficient Query Processing in Geographic Web Search Engines
Efficient Query Processing in Geographic Web Search Engines
 
Sql Server2008
Sql Server2008Sql Server2008
Sql Server2008
 
Spatial Data in SQL Server
Spatial Data in SQL ServerSpatial Data in SQL Server
Spatial Data in SQL Server
 
GeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL toolGeoKettle: A powerful open source spatial ETL tool
GeoKettle: A powerful open source spatial ETL tool
 
PostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLPostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQL
 
Distributed Data processing in a Cloud
Distributed Data processing in a CloudDistributed Data processing in a Cloud
Distributed Data processing in a Cloud
 
Arc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessingArc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessing
 
Beyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forksBeyond Postgres: Interesting Projects, Tools and forks
Beyond Postgres: Interesting Projects, Tools and forks
 
Essentials of R
Essentials of REssentials of R
Essentials of R
 
Authoring Tool of AAT with DADT
Authoring Tool of AAT with DADTAuthoring Tool of AAT with DADT
Authoring Tool of AAT with DADT
 
Data managing and Exchange GDB
Data managing and Exchange GDB Data managing and Exchange GDB
Data managing and Exchange GDB
 
An introduction to Pincaster
An introduction to PincasterAn introduction to Pincaster
An introduction to Pincaster
 
Suburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data LakeSuburface 2021 IBM Cloud Data Lake
Suburface 2021 IBM Cloud Data Lake
 
SortaSQL
SortaSQLSortaSQL
SortaSQL
 

Último

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Último (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 

Presentation MIG-T GeoPackage.pdf

  • 1. GeoPackage alternative encoding for INSPIRE 1. Introduction 2. Scope 3. Encoding rules 4. Experience with real datasets Francisco J. Lopez-Pellicer MIG-T 2019-02-28
  • 2. Introduction • GeoPackage is an open, standards-based, platform-independent, portable, self- describing, compact format for transferring geospatial information • A SQLite database (a single file!!) • Current versión 1.2.1 https://www.geopackage.org/spec121/index.html • It is a set of conventions for storing: • Vector features (with linear and non-linear geometry types) • Tile matrix sets of imagery, raster maps at various scales • Tile gridded coverage data • Attributes (non spatial data) • Metadata (coarse to fine grained) and schema constraints • Within INSPIRE, this encoding is an alternative encoding for data from all themes, focused in data sharing of datasets with no loss of information between GIS desktops, network servers, corporate databases, web and mobile applications. • Max size: approximately 140TB à Big Data sharing!!
  • 3. Scope • Use cases • Addresses data usability in desktop (QGIS3, ArcGIS), native mobile (NGA iOS and Android SDK), web (NGA JS), servers (NGA Java) and geoprocessing software (GDAL). • The encoding does not cover yet 3D geometries • We have tested desktop (QGIS3), geoprocessing software (GDAL) and server (NGA Java) • Coverage of INSPIRE Themes • We have tested Annex I: Geographical names and Adminisrative units • Technical Issues found • “Related tables” extension in development à Explicit associations between classifiers • GDAL support is not complete à workaround à NGA Java supports all extensions
  • 4. Encoding rules • UML model to GeoPackage ≈ UML model to Spatial SQL • Classes à SQL Tables • Used normative references • GeoPackage Encoding Standard 1.2.1 http://www.geopackage.org/spec121/ • INSPIRE Geographical Names • INSPIRE Administrative Units • General encoding rules • «featureType» à Feature Table per geometry attribute • «dataType» with multiplicity n à Attribute Table + Foreign Key • «dataType» that may link features (e.g. Identifier) à Attribute Table + Foreign Key • «dataType» with multiplicity 0..1 à embedded in Table (nested properties flattened) • «codeList» à usually embedded in Table + values constrained via Schema extension • «voidable» à keep attribute in Table and void reason value stored via Metadata extension
  • 5. Experience with real datasets à Datasets Administrative Units Geographical Names
  • 6. Experience with real datasets à Mapping INSPIRE to GeoPackage
  • 7. Experience with real datasets à Produced SQL DDL/GeoPackage identifier id PK namespace local_id version_id named_place id PK inspire_id wk geometry begin_lifespan_version end_lifespan_version least_detailed_viewing_resolution least_detailed_viewing_resolution_equivalent_scale least_detailed_viewing_resolution_distance least_detailed_viewing_resolution_distance_uom most_detailed_viewing_resolution most_detailed_viewing_resolution_equivalent_scale most_detailed_viewing_resolution_distance most_detailed_viewing_resolution_distance_uom geographical_name id PK name_of wk name_of_table language nativeness name_status source_of_name pronunciation pronunciation_sound_link pronunciation_ipa grammatical_gender grammatical_number spelling_of_name id PK spelling_of wk text script transliteration_scheme named_place_local_type id PK named_place_id wk locale text named_place_type id PK named_place_id wk label named_place_related_spatial_object id PK base_id wk related_id wk
  • 8. Experience with real datasets à Tools • NGA GeoPackage Java (certified by OGC) • https://github.com/ngageoint/GeoPackage • In-house DSL (written in Kotlin) • Creation of any INSPIRE schema within GeoPackage • ETL Postgis à GeoPackage • Data migration to Postgis à GeoPackcage • INSPIRE schema creation • Population INSPIRE Schema • We can publish it as open source if requested • Development time • 4 weeks model/approach analysis • 3 weeks DSL development and testing • 2 days for the ETL (per dataset) • Lessons learned • Think as SQL developer, not as GIS developer à faster development • Performance improved if model transformation is executed within SQLite à FME-like scripts will be slow • INSPIRE schema templates per theme (empty GeoPackages) à Reusable by-product
  • 9. Experience with real datasets à Results • Geographical Names • File size 352 MB • Features: NamedPlace (1132583 rows) • Attributes: GeographicalName (1317590 rows), SpellingOfName (1317590 rows), + 3 more tables for attributes with multiplicity (localType, relatedSpatialObject, type) • Administrative Units • File size 646 MB • Features: AdministrativeUnit (8283 rows), AdministrativeBoundary (45844 rows) • Attributes: Identifier (54127 rows), GeographicalName (8283 rows), SpellingOfName (8283 rows), + 1 more table for M:N relation between Boundary and Unit • Transformation run: 40min • In my laptop! x5 faster in a production server!! • Tested with QGIS3 • View, edit… fast and satisfactory • Join tables feasible (NamedPlace x GeographicalName x SpellingOfName)
  • 10. GeoPackage alternative encoding for INSPIRE Thanks to: https://www.geoslab.com/ Francisco J Lopez-Pellicer IAAA, Universidad Zaragoza fjlopez@unizar.es twitter @fjlopezpellicer https://www.linkedin.com/in/franciscojlopezpellicer