GithubHelp home page GithubHelp logo

Comments (7)

cholmes avatar cholmes commented on June 15, 2024

Where's the section on WFS links? I'm definitely interested in consistency with them. And picked this style of rel links so that type could be possible. Does WFS require that all links have a type?

I'm not sure if there will be many cases with the 'rel' + type being the same. Hrm, except for if we do a 'source' and like a mosaic could have multiple 'source' files it refers to. Though what's the use case for the client to figure out the unique resources?

from stac-spec.

joshfix avatar joshfix commented on June 15, 2024

FYI we do have a type property for links, it's just not required. See the swagger spec:

https://github.com/radiantearth/stac-spec/blob/dev/api-spec/spec.yaml#L200-L215

from stac-spec.

cholmes avatar cholmes commented on June 15, 2024

Setting this for 0.6.0 - as I think there's growing need for this. I'm looking more at 'assets', but I think it'd be good for links too.

I think we also need to figure out types and 'sub-types', like tiff / geotiff, and then 'cloud optimized geotiff'.

It may next sense to enumerate the link and asset 'keys' so people know what the good options are (tif vs tiff vs geotiff).

from stac-spec.

m-mohr avatar m-mohr commented on June 15, 2024

WFS3 itself refers only to RFC5988, which itself is pretty imprecise:

The "type" parameter, when present, is a hint indicating what the
media type of the result of dereferencing the link should be. Note
that this is only a hint; for example, it does not override the
Content-Type header of a HTTP response obtained by actually following
the link. There MUST NOT be more than one type parameter in a link-
value.

Regarding content types and sub types for completeness and as "inspiration":
WPS 1.0 has a proposal on non-existing mime types/content types: http://www.opengis.net/doc/wps1.0-best-practice-dp - section 6. I am not suggestion to use it though, IMO it looks rather odd...

It might also be useful to add a title to the links as discussed in #81. This would be covered by RFC5988, too.

from stac-spec.

mojodna avatar mojodna commented on June 15, 2024

Some WMS/WCS servers seem to use image/geotiff (and variants, see https://lists.osgeo.org/pipermail/gdal-dev/2006-April/008487.html) even it it's not standardized.

My inclination would be for something along the lines of:

image/geotiff; cloud-optimized=true; type=byte

Or, if we wanted to be strict about it:

image/tiff; georeferenced=true; cloud-optimized=true; type=byte

(This is highly relevant to STAC as it covers types other than COGs, but may actually belong in COG discussions.)

from stac-spec.

jeffnaus avatar jeffnaus commented on June 15, 2024

Sprint-3-static

We want to support this.
We want to support our custom times which is
image/geotiff (lets get this really registered)
image/geotiff+cog

For other types we generally recommend that use standard mime types. including
the vendor prefix.
example: vnd.digitalglobe/til

from stac-spec.

m-mohr avatar m-mohr commented on June 15, 2024

Type and title are both available now for assets and links.

from stac-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.