-
Notifications
You must be signed in to change notification settings - Fork 5
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
proj:epsg
is marked as "required", but this only applies to items
#7
Comments
Yes, I think it is only required in items, indeed. |
if I understand well, |
I've also recently struggled with the schema issue, so putting this on my to do list... |
Just came across this issue when running validator. What happens when you use I'd say it should be "at least one of EDIT: so I guess I need to set it to |
Yeah, it was meant to be that you set proj:epsg to null if you specify a WKT2 or PROJJSON that has no corresponding EPSG code. The issue that the schema has is that it always requires this for the item properties although it could be present either there or in one of the other places (assets, etc:) We need to find someone who has the time to do these changes though. |
"required" but can/should be set to |
Dev call: Remove the requirement for proj:epsg Afterthoughts: What do the null values for the CRS fields then mean? Usually, we just omit them instead of allowing null, so feels a bit inconsistent... |
Does anyone know how clients will interpret |
@tschaub I'll fix this asap. Forgot a bit about it, but will make sure we release a version without the epsg requirement soon. |
Oh and to specifically answer your question: All clients I've seen so far and it's also the rule in STAC in general that Asset properties override general Item properties. |
* Add more examples, clarify/fix `proj:epsg` requirement #7, align repo with template * Don't require proj:epsg as discussed in the STAC meeting * Clarification * Recommendation around thumbnails * Update README.md Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com> --------- Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
This has finally been fixed. You don't need to provide proj:epsg at the item level any longer. |
* Add more examples, clarify/fix `proj:epsg` requirement stac-extensions#7, align repo with template * Don't require proj:epsg as discussed in the STAC meeting * Clarification * Recommendation around thumbnails * Update README.md Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com> --------- Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
* Add more examples, clarify/fix `proj:epsg` requirement stac-extensions#7, align repo with template * Don't require proj:epsg as discussed in the STAC meeting * Clarification * Recommendation around thumbnails * Update README.md Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com> --------- Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
The readme says
proj:epsg
is required, but it's only actually required inside items. Is this a bug in the schema, a missing piece of documentation, or have I misunderstood something?The text was updated successfully, but these errors were encountered: