Skip to content
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

[Feature] Support sensor-specific file format #111

Open
fmigneault opened this issue May 2, 2020 · 2 comments
Open

[Feature] Support sensor-specific file format #111

fmigneault opened this issue May 2, 2020 · 2 comments
Assignees
Labels
triage/feature New requested feature. triage/investigate Exploration tasks or issues requirering more analysis

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented May 2, 2020

GDAL handles by itself BEAM-DIMAP format. Processes could support this format with a twist (ie: zipped variant) if they desire so, but still up to the process to manipulate the data.

A typical BEAM-DIMAP is composed of a <product-id>.dim file and a <product-id>.data directory with many other files under it.

To differentiate from any other zip, we could have application/dim+zip since there isn't any explicit mime-type for it. This would help a process figure out if it should unzip the file first and then change .zip t .dim to find everything where expected.

With BEAM-DIMAP-specific ZIP format, we still have a problem regarding different sensors (Sentinel, RADARSAT, etc.) that employ the same "file format" although very different underlying structure. We need a more accurate method to indicate how to filter inputs/outputs for those specific use cases (eg: Process working only for a given type of sensor).

Relates to opengeospatial/ogcapi-processes#38

@fmigneault fmigneault added triage/feature New requested feature. triage/investigate Exploration tasks or issues requirering more analysis labels May 2, 2020
@fmigneault fmigneault self-assigned this May 2, 2020
@fmigneault fmigneault changed the title [Feature] Support BEAM-DIMAP format [Feature] Support sensor-specific file format Sep 15, 2020
@smrgeoinfo
Copy link

smrgeoinfo commented Jan 6, 2021

what about using parameters on the MIME type, e.g. application/zip; type=beam-dimap, application/zip; type=beam-dimap-sentinel, etc.
The application/zip registration doesn't specify any parameters; Would adding a parameter would break anything?

@fmigneault
Copy link
Collaborator Author

@smrgeoinfo
I don't think that would break anything.
Obviously, it would work only within Weaver since it is not standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/feature New requested feature. triage/investigate Exploration tasks or issues requirering more analysis
Projects
None yet
Development

No branches or pull requests

2 participants