Skip to content

Instantly share code, notes, and snippets.

@rouault
Last active January 17, 2016 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rouault/99bcff990100fcaa3058 to your computer and use it in GitHub Desktop.
Save rouault/99bcff990100fcaa3058 to your computer and use it in GitHub Desktop.
Smallest GDAL compatible GeoPackage contest
The purpose of this contest is to create the smallest possible file that is
recognized as a valid raster GeoPackage by GDAL.
The following rules must be followed:
- the file must be readable with "gdalinfo -checksum contest.gpkg" (exactly this commandline)
where contest.gpkg is the candidate file.
- the above command must report that the driver used to open the file is the GeoPackage driver.
- the above command must report, without any displayed warning or error, at least one raster
band and the checksum of the band(s)
- any GDAL version with GeoPackage raster support can be used (i.e. GDAL 2.0 or later) at the
choice of the participant. The source code of the GDAL version must come unmodified from an
official archive or the source control management from the GDAL project.
- no custom executable code must be run (no use of a custom GDAL plugin for example)
- any official unmodified version of libjpeg, libpng, zlib, libwebp, libsqlite3, compatible with GDAL,
may be used at the choice of the participant.
- the participant agrees to share his file under the X/MIT license, public domain or any compatible license.
- the file must be smaller than 50000 bytes.
- the file must be emailed to <even.rouault at spatialys.com> before February 25th 2016, 17:00 UTC+01
(during the OSGeo Paris Code Sprint 2016).
- the winner is the participant providing the smallest file.
- in case there are several winners with the above rule, the file that results to the
smallest compressed file with "gzip -9" will be the winner.
- in case there are several winners with the above rule, the participant with the smallest
sha256(YYYMMDD), where YYYYMMDD is his/her birth date, will be the winner (ASCII string comparison)
Notes:
- the file may not necessarily be a valid GeoPackage file, i.e it may not respect all requirements
of the GeoPackage specification, provided it can still be read by GDAL.
- the file can be created with any means.
The winner will be offered a drink of his/her choice by Even Rouault when we have the
opportunity to meet in person and his/her winning file will be included in the GDAL test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment