You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this has been discussed elsewhere but I can't find the link at the moment.
At the moment we use the media type application/prs.coverage+json. I'm not sure the prs prefix (which means "personal" or "vanity" project) is appropriate. The STAC best practices suggests that a vnd prefix (for "publicly-accessible but vendor produced") is appropriate. Note that a "vendor" can be a consortium or non-profit entity, according to Wikipedia.
Maybe this is a wider OGC issue, although as a Community Standard I don't know where CoverageJSON would stand.
If we did change this, I'm not sure what the implication would be for implementations. Maybe there are not many implementations that depend on the MIME type?
JSON-FG is using application/vnd.ogc.fg+json as a preliminary media type "until this Standard is stable to avoid confusing future implementations accessing JSON documents from draft versions of this Standard."
@chris-little@jonblower OGC would prefer not to use the "vnd" prefix because the specification is published and used and if a Community Standard, then we'd like it to be treated like our other Standards (GeoPackage, GML, etc.).
@letmaik there are examples of both styles in IANA. Another OGC Community Standard (CityJSON) follows the pattern you suggest (city+json). I expect that coverage+json could become a little contentious if CIS-JSON is to move forward.
@ogcscotts Good point. Well, there's always application/cov+json or application/cis+json, depending on who gets coverage. I think it's too early for that though.
Is OGC objecting vnd completely, or just vnd.ogc? Maybe application/vnd.coverage+json or application/vnd.cov+json is possible. The latter may be more future-proof to avoid conflict with CIS, and could eventually become application/cov+json.
@letmaik@ogcscotts The CoverageJSON Task Team discussed this on 2022-11-02 and unless other views expressed, application/vnd.cov+json proposed for publication as a comunity standard rather than the existing application/prs.coverage+json. Then later, with implementaton evidence, move to application/cov+json.
Activity
jonblower commentedon Oct 10, 2022
Just to note that the EDR API makes a reference to the current CoverageJSON media type - see https://docs.ogc.org/is/19-086r5/19-086r5.html#toc15. Need to bear this in mind if we consider a change.
jonblower commentedon Oct 19, 2022
Some precedents:
application/geo+jsonapplication/ld+jsonapplication/vnd.ogc.fg+jsonas a preliminary media type "until this Standard is stable to avoid confusing future implementations accessing JSON documents from draft versions of this Standard."chris-little commentedon Oct 19, 2022
@jonblower I have emailed @ogcscotts for any OGC Policy for a preferred media type.
ogcscotts commentedon Oct 19, 2022
@chris-little @jonblower OGC would prefer not to use the "vnd" prefix because the specification is published and used and if a Community Standard, then we'd like it to be treated like our other Standards (GeoPackage, GML, etc.).
chris-little commentedon Oct 19, 2022
@ogcscotts So does that suggest that the media type should be something like
application/covjson+json?application/geopackage+sqlite3ogcscotts commentedon Oct 19, 2022
@chris-little I think that pattern would be best
letmaik commentedon Oct 19, 2022
@ogcscotts I don't think
application/covjson+jsonmakes sense. If anything, thenapplication/coverage+json, but getting there will take a bit longer.ogcscotts commentedon Oct 19, 2022
@letmaik there are examples of both styles in IANA. Another OGC Community Standard (CityJSON) follows the pattern you suggest (city+json). I expect that coverage+json could become a little contentious if CIS-JSON is to move forward.
letmaik commentedon Oct 19, 2022
@ogcscotts Good point. Well, there's always
application/cov+jsonorapplication/cis+json, depending on who getscoverage. I think it's too early for that though.Is OGC objecting
vndcompletely, or justvnd.ogc? Maybeapplication/vnd.coverage+jsonorapplication/vnd.cov+jsonis possible. The latter may be more future-proof to avoid conflict with CIS, and could eventually becomeapplication/cov+json.ogcscotts commentedon Oct 19, 2022
@letmaik the vnd pattern would be fine. I think the idea of using vnd now and looking toward a change in registration later is good.
chris-little commentedon Nov 2, 2022
@letmaik @ogcscotts The CoverageJSON Task Team discussed this on 2022-11-02 and unless other views expressed,
application/vnd.cov+jsonproposed for publication as a comunity standard rather than the existingapplication/prs.coverage+json. Then later, with implementaton evidence, move toapplication/cov+json.chris-little commentedon Nov 16, 2022
@jonblower @letmaik @ogcscotts This consensus implemented by PR#141
Examples: Fixed CoverageJSON media type