Comments (4)
Regarding links:
- I think the structure originates from the REST/Hypermedia principles and is somehow standardized in the HTTP specification (e.g. RFC 2068, chapter 19.6.2.4). It's also how it is used in XML/HTML (
<link rel="" href="" />
). What you suggest sounds much like HAL. Whatever is chosen, it should be consistent across the whole spec. - I had the same confusion about the meta data references: links or assets? @hgs-msmith once suggested me in the chat to add them to the assets.
Regarding endpoints:
- I agree that the endpoints are somehow inconsistently named and I must say that I really don't like the WFS-like naming of
/search/stac
. It just doesn't feel right in resource-oriented REST interfaces. I'd also expect it at/collections
and/items
(or similar names). If you'd follow REST you'd have to remove/stac completely
. Content negotiation with aan Accept header would be the correct way to get a STAC response, I think.
Regarding ranges:
-
Having
cloud_cover=0/20
for>=0
and<=20
, I'd logically expect>=0
beingcloud_cover=0/
<=20
beingcloud_cover=/20
==0
beingcloud_cover=0
(alternatively0/0
would mean the same)
Anything else missing? Probably not consistent with ISO8601 though, but is part of Dublin Core: http://www.ukoln.ac.uk/metadata/dcmi/date-dccd-odrf/2005-08-13/
from stac-spec.
Awesome work Matt. Thanks for getting real world implementation and helping evolve the spec. Psyched for the next iterations.
Regarding links:
- For links, yeah, consistency across links and assets makes sense. Wish we'd thought of that at the last revision. And yes, I agree with @hgs-msmith that metadata should go in assets. I see assets are the things that a user would likely want to download, and links describing relationships with other online entities. I can see how the line is blurry, and I could see if there's a great html metadata that you don't download then using a like rel=describedBy could make good sense. But I feel like most imagery still has metadata as xml or text files.
Regarding endpoints:
- I don't love the STAC in the resource either. But I do think we should make something that is compatible with WFS. I'm not sure if /search/stac is the best way - that was a request from the WFS people, but they don't have a clear search endpoint.
Though I'm not sure I understand https://sat-api.developmentseed.org/collections?collection=landsat-8 - seems like it should be https://sat-api.developmentseed.org/collections/landsat-8 And then https://sat-api.developmentseed.org/collections/landsat-8/items which enables basic single collection search. The idea with the /search endpoint is that it allows cross collection search. Those resources make sense to me a /search endpoint to do more complex searches, and individual collections under collections/{collection-name}/
Regarding CRS
- Would be good to get the CRS field changed asap, I found myself not using it, and doing epsg. Maybe make an issue or PR on that specifically?
Regarding ranges:
- I'm +1 on specifying these more, have no real opinions though.
from stac-spec.
WFS might get a search endpoint at least: opengeospatial/ogcapi-features#79
from stac-spec.
What's the state of this issue?
from stac-spec.
Related Issues (20)
- OGC Scenes API "competing" with STAC? HOT 2
- Error in collection specification HOT 1
- Remove trailing # from spec $id values
- Define ItemCollection in stac-spec HOT 1
- Is Item start_datetime to end_datetime an inclusive or exclusive range? HOT 10
- Balance between detailed metadata and benefits of Cloud Optimized GeoTIFFs
- Moving Features HOT 2
- STAC Media Types HOT 1
- Ambiguous Catalog example HOT 2
- roles in common metadata
- Datasets without time HOT 6
- Datetime as null is not accepted by the API
- Clarify difference between thumbnail and overview HOT 1
- item in multiple collections HOT 2
- STAC 'management API' HOT 1
- Move Item Assets to Core
- Unable to access https://schemas.stacspec.org HOT 1
- Don't require a specific list of roles for providers? HOT 2
- Consider making end_datetime exclusive HOT 6
- Links per asset HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stac-spec.