-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zipped GeoPackage files and media type #555
Comments
@heidivanparys Since HTTP already supports Maybe there is still value for very large file so that they can get saved directly with the .zip extension, and to save the server from having to compress it on the fly in some cases? |
@heidivanparys any thoughts on @jerstlouis 's comment? |
I have mixed thoughts on this. It makes sense because lots of |
@jerstlouis @fjlopez I don't know what is common practice, but I can describe the practice at the agency where I work. One of our distribution channels is the Danish Map Supply. One of the ways you can get data from the Danish Map Supply is by downloading a dataset or a predefined subset of a dataset from the Map Supply's FTP server.
The FTP server stores (subsets of) datasets in different format. I had a look again, and almost all files are zipped. So the shapefiles, GML files, MapInfo files, etc. are compressed and then put on the FTP server, from where users can retrieve those zip files. Links to those zip files, and information about their media types, are e.g. present in the Atom feeds we have as well, see e.g. https://download.kortforsyningen.dk/sites/default/files/feeds/NamedPlace.xml: <entry xml:lang="da">
<title>DK INSPIRE NamedPlace</title>
<!-- ... -->
<link
rel="alternate"
href="ftp://ftp.kortforsyningen.dk/atomfeeds/INSPIRE/GML/EPSG_3044/DK_NamedPlace.gml.gz"
type="application/x-gmz"
length="109479325"
title="DK INSPIRE NamedPlace"
hreflang="da"/>
<!-- ... -->
<id>ftp://ftp.kortforsyningen.dk/atomfeeds/INSPIRE/GML/EPSG_3044/DK_NamedPlace.gml.gz</id>
<!-- ... -->
</entry> (Media type
I am not convinced that we can conclude that it is not common to distribute sqlite3 files compressed just because |
IMHO, The discussion on the distribution of GeoPackage as compressed files and the need for the registry of an IANA media type for such case should not be mixed:
RFC 6839 may explain why |
Earlier, I made the same assumption. However, in another, similar discussion, on zipped GeoJSon files (the relevant part starting here), @cportele wrote the following in this comment:
|
I agree with you, my assumption was wrong. See this excerpt from RFC 6898 Media Type Specifications and Registration Procedures.
Reviewing the IANA registry of structured suffixes |
So the consensus is to ask IANA to register |
Also please keep in mind that even if the encoding is |
@jerstlouis there are scenarios where having
|
Assigning to @ogcscotts to contact IANA. |
Is it common to zip GeoPackage files? If yes, should a media type,
application/geopackage+sqlite3+zip
, be registered for that at IANA?In that way, an API conforming to OGC API - Features and the (draft) INSPIRE good practice building on OGC API - Features could link to such a zipped GeoPackage file using that media type.
See also
The text was updated successfully, but these errors were encountered: